diff options
author | Elliott Hughes <enh@google.com> | 2014-09-08 15:25:01 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-09-08 16:46:50 -0700 |
commit | 011e111d299284b65af07add523a9dccac356244 (patch) | |
tree | 2b30ac16dffb0cda5da6de86f73075813447ee5b /libc/arch-mips | |
parent | 201f36d23bb778b29c8d305fa40a41990e0487bc (diff) | |
download | bionic-011e111d299284b65af07add523a9dccac356244.zip bionic-011e111d299284b65af07add523a9dccac356244.tar.gz bionic-011e111d299284b65af07add523a9dccac356244.tar.bz2 |
Ensure __set_errno is still visible on LP32.
The use of the .hidden directive to avoid going via the PLT for
__set_errno had the side-effect of actually making __set_errno
hidden (which is odd because assembler directives don't usually
affect symbols defined in a different file --- you can't even
create a weak reference to a symbol that's defined in a different
file).
This change switches the system call stubs over to a new always-hidden
__set_errno_internal and has a visible __set_errno on LP32 just for
binary compatibility with old NDK apps.
(cherry-pick of 7efad83d430f4d824f2aaa75edea5106f6ff8aae.)
Bug: 17423135
Change-Id: I6b6d7a05dda85f923d22e5ffd169a91e23499b7b
Diffstat (limited to 'libc/arch-mips')
199 files changed, 199 insertions, 591 deletions
diff --git a/libc/arch-mips/bionic/__bionic_clone.S b/libc/arch-mips/bionic/__bionic_clone.S index 4b4498d..b216efe 100644 --- a/libc/arch-mips/bionic/__bionic_clone.S +++ b/libc/arch-mips/bionic/__bionic_clone.S @@ -66,7 +66,7 @@ ENTRY(__bionic_clone) .L__error_bc: move a0,v0 - la t9,__set_errno + la t9,__set_errno_internal j t9 END(__bionic_clone) .hidden __bionic_clone diff --git a/libc/arch-mips/bionic/syscall.S b/libc/arch-mips/bionic/syscall.S index db477a5..5fed0ac 100644 --- a/libc/arch-mips/bionic/syscall.S +++ b/libc/arch-mips/bionic/syscall.S @@ -54,7 +54,7 @@ ENTRY(syscall) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/bionic/vfork.S b/libc/arch-mips/bionic/vfork.S index 96de69e..1849624 100644 --- a/libc/arch-mips/bionic/vfork.S +++ b/libc/arch-mips/bionic/vfork.S @@ -52,7 +52,7 @@ ENTRY(vfork) j ra nop 1: - la t9, __set_errno + la t9, __set_errno_internal j t9 nop END(vfork) diff --git a/libc/arch-mips/syscalls/__accept4.S b/libc/arch-mips/syscalls/__accept4.S index 2fc8b2a..72df04f 100644 --- a/libc/arch-mips/syscalls/__accept4.S +++ b/libc/arch-mips/syscalls/__accept4.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__accept4) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__accept4) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__brk.S b/libc/arch-mips/syscalls/__brk.S index 0593b4f..8472663 100644 --- a/libc/arch-mips/syscalls/__brk.S +++ b/libc/arch-mips/syscalls/__brk.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__brk) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__brk) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__connect.S b/libc/arch-mips/syscalls/__connect.S index 20f60e4..38c1b9b 100644 --- a/libc/arch-mips/syscalls/__connect.S +++ b/libc/arch-mips/syscalls/__connect.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__connect) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__connect) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__epoll_pwait.S b/libc/arch-mips/syscalls/__epoll_pwait.S index 3e735f1..3aed9bc 100644 --- a/libc/arch-mips/syscalls/__epoll_pwait.S +++ b/libc/arch-mips/syscalls/__epoll_pwait.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__epoll_pwait) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__epoll_pwait) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__exit.S b/libc/arch-mips/syscalls/__exit.S index 40c2f87..7349804 100644 --- a/libc/arch-mips/syscalls/__exit.S +++ b/libc/arch-mips/syscalls/__exit.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__exit) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__exit) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__fcntl64.S b/libc/arch-mips/syscalls/__fcntl64.S index b541edd..2734be2 100644 --- a/libc/arch-mips/syscalls/__fcntl64.S +++ b/libc/arch-mips/syscalls/__fcntl64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__fcntl64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__fcntl64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__fstatfs64.S b/libc/arch-mips/syscalls/__fstatfs64.S index d1d68ab..e08cf7e 100644 --- a/libc/arch-mips/syscalls/__fstatfs64.S +++ b/libc/arch-mips/syscalls/__fstatfs64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__fstatfs64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__fstatfs64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__getcpu.S b/libc/arch-mips/syscalls/__getcpu.S index ab3acca..262f440 100644 --- a/libc/arch-mips/syscalls/__getcpu.S +++ b/libc/arch-mips/syscalls/__getcpu.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__getcpu) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__getcpu) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__getcwd.S b/libc/arch-mips/syscalls/__getcwd.S index af1c494..ca6ec7c 100644 --- a/libc/arch-mips/syscalls/__getcwd.S +++ b/libc/arch-mips/syscalls/__getcwd.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__getcwd) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__getcwd) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__getdents64.S b/libc/arch-mips/syscalls/__getdents64.S index e88c6df..fe7ef86 100644 --- a/libc/arch-mips/syscalls/__getdents64.S +++ b/libc/arch-mips/syscalls/__getdents64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__getdents64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__getdents64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__getpid.S b/libc/arch-mips/syscalls/__getpid.S index d20188b..f5ab049 100644 --- a/libc/arch-mips/syscalls/__getpid.S +++ b/libc/arch-mips/syscalls/__getpid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__getpid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__getpid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__getpriority.S b/libc/arch-mips/syscalls/__getpriority.S index bc1efb3..ef6235d 100644 --- a/libc/arch-mips/syscalls/__getpriority.S +++ b/libc/arch-mips/syscalls/__getpriority.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__getpriority) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__getpriority) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__ioctl.S b/libc/arch-mips/syscalls/__ioctl.S index 28af834..27716e8 100644 --- a/libc/arch-mips/syscalls/__ioctl.S +++ b/libc/arch-mips/syscalls/__ioctl.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__ioctl) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__ioctl) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__llseek.S b/libc/arch-mips/syscalls/__llseek.S index 81cf459..e0cb321 100644 --- a/libc/arch-mips/syscalls/__llseek.S +++ b/libc/arch-mips/syscalls/__llseek.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__llseek) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__llseek) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__mmap2.S b/libc/arch-mips/syscalls/__mmap2.S index e6022c3..8175b31 100644 --- a/libc/arch-mips/syscalls/__mmap2.S +++ b/libc/arch-mips/syscalls/__mmap2.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__mmap2) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__mmap2) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__openat.S b/libc/arch-mips/syscalls/__openat.S index 0482b5a..c0c3cdf 100644 --- a/libc/arch-mips/syscalls/__openat.S +++ b/libc/arch-mips/syscalls/__openat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__openat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__openat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__ppoll.S b/libc/arch-mips/syscalls/__ppoll.S index 7cd29f6..75dbbc8 100644 --- a/libc/arch-mips/syscalls/__ppoll.S +++ b/libc/arch-mips/syscalls/__ppoll.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__ppoll) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__ppoll) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__pselect6.S b/libc/arch-mips/syscalls/__pselect6.S index b4279b8..d028156 100644 --- a/libc/arch-mips/syscalls/__pselect6.S +++ b/libc/arch-mips/syscalls/__pselect6.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__pselect6) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__pselect6) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__ptrace.S b/libc/arch-mips/syscalls/__ptrace.S index 07dcd8f..c5d91fb 100644 --- a/libc/arch-mips/syscalls/__ptrace.S +++ b/libc/arch-mips/syscalls/__ptrace.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__ptrace) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__ptrace) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__reboot.S b/libc/arch-mips/syscalls/__reboot.S index 3a0a70b..c01f7fb 100644 --- a/libc/arch-mips/syscalls/__reboot.S +++ b/libc/arch-mips/syscalls/__reboot.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__reboot) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__reboot) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__rt_sigaction.S b/libc/arch-mips/syscalls/__rt_sigaction.S index 858a241..7fa37fd 100644 --- a/libc/arch-mips/syscalls/__rt_sigaction.S +++ b/libc/arch-mips/syscalls/__rt_sigaction.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__rt_sigaction) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__rt_sigaction) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__rt_sigpending.S b/libc/arch-mips/syscalls/__rt_sigpending.S index 484da4f..b80b311 100644 --- a/libc/arch-mips/syscalls/__rt_sigpending.S +++ b/libc/arch-mips/syscalls/__rt_sigpending.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__rt_sigpending) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__rt_sigpending) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__rt_sigprocmask.S b/libc/arch-mips/syscalls/__rt_sigprocmask.S index 5e61f52..e2a39eb 100644 --- a/libc/arch-mips/syscalls/__rt_sigprocmask.S +++ b/libc/arch-mips/syscalls/__rt_sigprocmask.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__rt_sigprocmask) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__rt_sigprocmask) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__rt_sigsuspend.S b/libc/arch-mips/syscalls/__rt_sigsuspend.S index d128caa..e91c53f 100644 --- a/libc/arch-mips/syscalls/__rt_sigsuspend.S +++ b/libc/arch-mips/syscalls/__rt_sigsuspend.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__rt_sigsuspend) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__rt_sigsuspend) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__rt_sigtimedwait.S b/libc/arch-mips/syscalls/__rt_sigtimedwait.S index 7e70660..0b4195f 100644 --- a/libc/arch-mips/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-mips/syscalls/__rt_sigtimedwait.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__rt_sigtimedwait) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__rt_sigtimedwait) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__sched_getaffinity.S b/libc/arch-mips/syscalls/__sched_getaffinity.S index f83b7ba..b09f404 100644 --- a/libc/arch-mips/syscalls/__sched_getaffinity.S +++ b/libc/arch-mips/syscalls/__sched_getaffinity.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__sched_getaffinity) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__sched_getaffinity) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__set_tid_address.S b/libc/arch-mips/syscalls/__set_tid_address.S index 7ec0f63..8ca0716 100644 --- a/libc/arch-mips/syscalls/__set_tid_address.S +++ b/libc/arch-mips/syscalls/__set_tid_address.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__set_tid_address) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__set_tid_address) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__set_tls.S b/libc/arch-mips/syscalls/__set_tls.S index bb2fa6d..1f9eba5 100644 --- a/libc/arch-mips/syscalls/__set_tls.S +++ b/libc/arch-mips/syscalls/__set_tls.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__set_tls) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__set_tls) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__sigaction.S b/libc/arch-mips/syscalls/__sigaction.S index 03eb582..0886e95 100644 --- a/libc/arch-mips/syscalls/__sigaction.S +++ b/libc/arch-mips/syscalls/__sigaction.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__sigaction) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__sigaction) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__signalfd4.S b/libc/arch-mips/syscalls/__signalfd4.S index 9b191c2..8e5717e 100644 --- a/libc/arch-mips/syscalls/__signalfd4.S +++ b/libc/arch-mips/syscalls/__signalfd4.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__signalfd4) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__signalfd4) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__socket.S b/libc/arch-mips/syscalls/__socket.S index 9e9a926..c933355 100644 --- a/libc/arch-mips/syscalls/__socket.S +++ b/libc/arch-mips/syscalls/__socket.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__socket) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__socket) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__statfs64.S b/libc/arch-mips/syscalls/__statfs64.S index 5017e96..ed4dcdb 100644 --- a/libc/arch-mips/syscalls/__statfs64.S +++ b/libc/arch-mips/syscalls/__statfs64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__statfs64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__statfs64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__timer_create.S b/libc/arch-mips/syscalls/__timer_create.S index 81cc8c4..ef50749 100644 --- a/libc/arch-mips/syscalls/__timer_create.S +++ b/libc/arch-mips/syscalls/__timer_create.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__timer_create) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__timer_create) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__timer_delete.S b/libc/arch-mips/syscalls/__timer_delete.S index fddb703..5993ace 100644 --- a/libc/arch-mips/syscalls/__timer_delete.S +++ b/libc/arch-mips/syscalls/__timer_delete.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__timer_delete) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__timer_delete) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__timer_getoverrun.S b/libc/arch-mips/syscalls/__timer_getoverrun.S index 3a7313d..31234e5 100644 --- a/libc/arch-mips/syscalls/__timer_getoverrun.S +++ b/libc/arch-mips/syscalls/__timer_getoverrun.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__timer_getoverrun) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__timer_getoverrun) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__timer_gettime.S b/libc/arch-mips/syscalls/__timer_gettime.S index 7b9bed7..38800d3 100644 --- a/libc/arch-mips/syscalls/__timer_gettime.S +++ b/libc/arch-mips/syscalls/__timer_gettime.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__timer_gettime) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__timer_gettime) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__timer_settime.S b/libc/arch-mips/syscalls/__timer_settime.S index b1198de..73cea73 100644 --- a/libc/arch-mips/syscalls/__timer_settime.S +++ b/libc/arch-mips/syscalls/__timer_settime.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__timer_settime) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__timer_settime) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/__waitid.S b/libc/arch-mips/syscalls/__waitid.S index e60da7f..9d17f8f 100644 --- a/libc/arch-mips/syscalls/__waitid.S +++ b/libc/arch-mips/syscalls/__waitid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(__waitid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(__waitid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/_exit.S b/libc/arch-mips/syscalls/_exit.S index ae1d61f..5ac1324 100644 --- a/libc/arch-mips/syscalls/_exit.S +++ b/libc/arch-mips/syscalls/_exit.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(_exit) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(_exit) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/_flush_cache.S b/libc/arch-mips/syscalls/_flush_cache.S index 0074578..a4030e9 100644 --- a/libc/arch-mips/syscalls/_flush_cache.S +++ b/libc/arch-mips/syscalls/_flush_cache.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(_flush_cache) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(_flush_cache) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/acct.S b/libc/arch-mips/syscalls/acct.S index 29a7119..e3a5ccd 100644 --- a/libc/arch-mips/syscalls/acct.S +++ b/libc/arch-mips/syscalls/acct.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(acct) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(acct) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/bind.S b/libc/arch-mips/syscalls/bind.S index 6d92fd0..78fe2bb 100644 --- a/libc/arch-mips/syscalls/bind.S +++ b/libc/arch-mips/syscalls/bind.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(bind) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(bind) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/capget.S b/libc/arch-mips/syscalls/capget.S index de76fa3..0cbb626 100644 --- a/libc/arch-mips/syscalls/capget.S +++ b/libc/arch-mips/syscalls/capget.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(capget) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(capget) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/capset.S b/libc/arch-mips/syscalls/capset.S index 77fb3a7..e811080 100644 --- a/libc/arch-mips/syscalls/capset.S +++ b/libc/arch-mips/syscalls/capset.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(capset) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(capset) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/chdir.S b/libc/arch-mips/syscalls/chdir.S index 2668d69..82b7a2b 100644 --- a/libc/arch-mips/syscalls/chdir.S +++ b/libc/arch-mips/syscalls/chdir.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(chdir) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(chdir) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/chroot.S b/libc/arch-mips/syscalls/chroot.S index d804c4f..e6a29fc 100644 --- a/libc/arch-mips/syscalls/chroot.S +++ b/libc/arch-mips/syscalls/chroot.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(chroot) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(chroot) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/clock_getres.S b/libc/arch-mips/syscalls/clock_getres.S index 5219b32..ac7c5c6 100644 --- a/libc/arch-mips/syscalls/clock_getres.S +++ b/libc/arch-mips/syscalls/clock_getres.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(clock_getres) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(clock_getres) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/clock_gettime.S b/libc/arch-mips/syscalls/clock_gettime.S index 32120b1..d227a06 100644 --- a/libc/arch-mips/syscalls/clock_gettime.S +++ b/libc/arch-mips/syscalls/clock_gettime.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(clock_gettime) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(clock_gettime) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/clock_nanosleep.S b/libc/arch-mips/syscalls/clock_nanosleep.S index 01bab5a..6002ab4 100644 --- a/libc/arch-mips/syscalls/clock_nanosleep.S +++ b/libc/arch-mips/syscalls/clock_nanosleep.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(clock_nanosleep) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(clock_nanosleep) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/clock_settime.S b/libc/arch-mips/syscalls/clock_settime.S index 6b642a1..193bdc2 100644 --- a/libc/arch-mips/syscalls/clock_settime.S +++ b/libc/arch-mips/syscalls/clock_settime.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(clock_settime) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(clock_settime) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/close.S b/libc/arch-mips/syscalls/close.S index 4e3ab67..231f497 100644 --- a/libc/arch-mips/syscalls/close.S +++ b/libc/arch-mips/syscalls/close.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(close) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(close) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/delete_module.S b/libc/arch-mips/syscalls/delete_module.S index 5c84930..8c01c06 100644 --- a/libc/arch-mips/syscalls/delete_module.S +++ b/libc/arch-mips/syscalls/delete_module.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(delete_module) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(delete_module) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/dup.S b/libc/arch-mips/syscalls/dup.S index 6969553..b4dcd70 100644 --- a/libc/arch-mips/syscalls/dup.S +++ b/libc/arch-mips/syscalls/dup.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(dup) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(dup) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/dup3.S b/libc/arch-mips/syscalls/dup3.S index 39e403d..1d9c236 100644 --- a/libc/arch-mips/syscalls/dup3.S +++ b/libc/arch-mips/syscalls/dup3.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(dup3) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(dup3) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/epoll_create1.S b/libc/arch-mips/syscalls/epoll_create1.S index 6feb715..8754879 100644 --- a/libc/arch-mips/syscalls/epoll_create1.S +++ b/libc/arch-mips/syscalls/epoll_create1.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(epoll_create1) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(epoll_create1) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/epoll_ctl.S b/libc/arch-mips/syscalls/epoll_ctl.S index 4517ea1..14c9202 100644 --- a/libc/arch-mips/syscalls/epoll_ctl.S +++ b/libc/arch-mips/syscalls/epoll_ctl.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(epoll_ctl) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(epoll_ctl) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/eventfd.S b/libc/arch-mips/syscalls/eventfd.S index 167a851..6494dbc 100644 --- a/libc/arch-mips/syscalls/eventfd.S +++ b/libc/arch-mips/syscalls/eventfd.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(eventfd) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(eventfd) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/execve.S b/libc/arch-mips/syscalls/execve.S index e6f3af6..2d20b51 100644 --- a/libc/arch-mips/syscalls/execve.S +++ b/libc/arch-mips/syscalls/execve.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(execve) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(execve) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/faccessat.S b/libc/arch-mips/syscalls/faccessat.S index 3bf7717..e616106 100644 --- a/libc/arch-mips/syscalls/faccessat.S +++ b/libc/arch-mips/syscalls/faccessat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(faccessat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(faccessat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fallocate64.S b/libc/arch-mips/syscalls/fallocate64.S index 5395c6f..5f05513 100644 --- a/libc/arch-mips/syscalls/fallocate64.S +++ b/libc/arch-mips/syscalls/fallocate64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fallocate64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fallocate64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fchdir.S b/libc/arch-mips/syscalls/fchdir.S index 4a5c1e3..d683baa 100644 --- a/libc/arch-mips/syscalls/fchdir.S +++ b/libc/arch-mips/syscalls/fchdir.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fchdir) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fchdir) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fchmod.S b/libc/arch-mips/syscalls/fchmod.S index 78dc3f7..2a95cc3 100644 --- a/libc/arch-mips/syscalls/fchmod.S +++ b/libc/arch-mips/syscalls/fchmod.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fchmod) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fchmod) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fchmodat.S b/libc/arch-mips/syscalls/fchmodat.S index ebc3a74..d9de036 100644 --- a/libc/arch-mips/syscalls/fchmodat.S +++ b/libc/arch-mips/syscalls/fchmodat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fchmodat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fchmodat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fchown.S b/libc/arch-mips/syscalls/fchown.S index 74956e0..1ac9451 100644 --- a/libc/arch-mips/syscalls/fchown.S +++ b/libc/arch-mips/syscalls/fchown.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fchown) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fchown) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fchownat.S b/libc/arch-mips/syscalls/fchownat.S index 54d1fde..be1a021 100644 --- a/libc/arch-mips/syscalls/fchownat.S +++ b/libc/arch-mips/syscalls/fchownat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fchownat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fchownat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fdatasync.S b/libc/arch-mips/syscalls/fdatasync.S index f2d1b1f..24d6541 100644 --- a/libc/arch-mips/syscalls/fdatasync.S +++ b/libc/arch-mips/syscalls/fdatasync.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fdatasync) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fdatasync) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fgetxattr.S b/libc/arch-mips/syscalls/fgetxattr.S index 096cd97..6516feb 100644 --- a/libc/arch-mips/syscalls/fgetxattr.S +++ b/libc/arch-mips/syscalls/fgetxattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fgetxattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fgetxattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/flistxattr.S b/libc/arch-mips/syscalls/flistxattr.S index b577e57..0b71532 100644 --- a/libc/arch-mips/syscalls/flistxattr.S +++ b/libc/arch-mips/syscalls/flistxattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(flistxattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(flistxattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/flock.S b/libc/arch-mips/syscalls/flock.S index 87e9e04..8d70c9e 100644 --- a/libc/arch-mips/syscalls/flock.S +++ b/libc/arch-mips/syscalls/flock.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(flock) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(flock) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fremovexattr.S b/libc/arch-mips/syscalls/fremovexattr.S index 8f7e74e..fba2d6d 100644 --- a/libc/arch-mips/syscalls/fremovexattr.S +++ b/libc/arch-mips/syscalls/fremovexattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fremovexattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fremovexattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fsetxattr.S b/libc/arch-mips/syscalls/fsetxattr.S index e9a3490..663c0df 100644 --- a/libc/arch-mips/syscalls/fsetxattr.S +++ b/libc/arch-mips/syscalls/fsetxattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fsetxattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fsetxattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fstat64.S b/libc/arch-mips/syscalls/fstat64.S index c6d2a32..525c23c 100644 --- a/libc/arch-mips/syscalls/fstat64.S +++ b/libc/arch-mips/syscalls/fstat64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fstat64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fstat64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fstatat64.S b/libc/arch-mips/syscalls/fstatat64.S index 2418b02..f7b8e1d 100644 --- a/libc/arch-mips/syscalls/fstatat64.S +++ b/libc/arch-mips/syscalls/fstatat64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fstatat64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fstatat64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/fsync.S b/libc/arch-mips/syscalls/fsync.S index c5528dc..819f0f2 100644 --- a/libc/arch-mips/syscalls/fsync.S +++ b/libc/arch-mips/syscalls/fsync.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(fsync) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(fsync) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/ftruncate.S b/libc/arch-mips/syscalls/ftruncate.S index dfd57a9..0589c81 100644 --- a/libc/arch-mips/syscalls/ftruncate.S +++ b/libc/arch-mips/syscalls/ftruncate.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(ftruncate) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(ftruncate) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/ftruncate64.S b/libc/arch-mips/syscalls/ftruncate64.S index a1df9e8..059ff77 100644 --- a/libc/arch-mips/syscalls/ftruncate64.S +++ b/libc/arch-mips/syscalls/ftruncate64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(ftruncate64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(ftruncate64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getegid.S b/libc/arch-mips/syscalls/getegid.S index 10f102c..8ae2d1e 100644 --- a/libc/arch-mips/syscalls/getegid.S +++ b/libc/arch-mips/syscalls/getegid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getegid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getegid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/geteuid.S b/libc/arch-mips/syscalls/geteuid.S index bac3b74..cf5cf6c 100644 --- a/libc/arch-mips/syscalls/geteuid.S +++ b/libc/arch-mips/syscalls/geteuid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(geteuid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(geteuid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getgid.S b/libc/arch-mips/syscalls/getgid.S index a1814bb..9bd1fc3 100644 --- a/libc/arch-mips/syscalls/getgid.S +++ b/libc/arch-mips/syscalls/getgid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getgid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getgid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getgroups.S b/libc/arch-mips/syscalls/getgroups.S index 51ed523..2eda185 100644 --- a/libc/arch-mips/syscalls/getgroups.S +++ b/libc/arch-mips/syscalls/getgroups.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getgroups) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getgroups) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getitimer.S b/libc/arch-mips/syscalls/getitimer.S index 1afeee4..2e382c7 100644 --- a/libc/arch-mips/syscalls/getitimer.S +++ b/libc/arch-mips/syscalls/getitimer.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getitimer) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getitimer) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getpeername.S b/libc/arch-mips/syscalls/getpeername.S index b6e5f07..8642798 100644 --- a/libc/arch-mips/syscalls/getpeername.S +++ b/libc/arch-mips/syscalls/getpeername.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getpeername) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getpeername) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getpgid.S b/libc/arch-mips/syscalls/getpgid.S index 01c6ec5..562b9ce 100644 --- a/libc/arch-mips/syscalls/getpgid.S +++ b/libc/arch-mips/syscalls/getpgid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getpgid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getpgid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getppid.S b/libc/arch-mips/syscalls/getppid.S index 9ed04c0..afff0b9 100644 --- a/libc/arch-mips/syscalls/getppid.S +++ b/libc/arch-mips/syscalls/getppid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getppid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getppid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getresgid.S b/libc/arch-mips/syscalls/getresgid.S index a2e16d4..248d3f9 100644 --- a/libc/arch-mips/syscalls/getresgid.S +++ b/libc/arch-mips/syscalls/getresgid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getresgid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getresgid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getresuid.S b/libc/arch-mips/syscalls/getresuid.S index ff162e0..924b6cd 100644 --- a/libc/arch-mips/syscalls/getresuid.S +++ b/libc/arch-mips/syscalls/getresuid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getresuid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getresuid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getrlimit.S b/libc/arch-mips/syscalls/getrlimit.S index 1632f4d..19570d6 100644 --- a/libc/arch-mips/syscalls/getrlimit.S +++ b/libc/arch-mips/syscalls/getrlimit.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getrlimit) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getrlimit) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getrusage.S b/libc/arch-mips/syscalls/getrusage.S index b9c4207..75bc8bc 100644 --- a/libc/arch-mips/syscalls/getrusage.S +++ b/libc/arch-mips/syscalls/getrusage.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getrusage) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getrusage) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getsid.S b/libc/arch-mips/syscalls/getsid.S index cb56f54..6436ecd 100644 --- a/libc/arch-mips/syscalls/getsid.S +++ b/libc/arch-mips/syscalls/getsid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getsid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getsid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getsockname.S b/libc/arch-mips/syscalls/getsockname.S index f7bff60..ffadd92 100644 --- a/libc/arch-mips/syscalls/getsockname.S +++ b/libc/arch-mips/syscalls/getsockname.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getsockname) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getsockname) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getsockopt.S b/libc/arch-mips/syscalls/getsockopt.S index 1490aa3..6ebe15e 100644 --- a/libc/arch-mips/syscalls/getsockopt.S +++ b/libc/arch-mips/syscalls/getsockopt.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getsockopt) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getsockopt) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/gettimeofday.S b/libc/arch-mips/syscalls/gettimeofday.S index a72ced6..672faa3 100644 --- a/libc/arch-mips/syscalls/gettimeofday.S +++ b/libc/arch-mips/syscalls/gettimeofday.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(gettimeofday) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(gettimeofday) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getuid.S b/libc/arch-mips/syscalls/getuid.S index 290a701..5858632 100644 --- a/libc/arch-mips/syscalls/getuid.S +++ b/libc/arch-mips/syscalls/getuid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getuid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getuid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/getxattr.S b/libc/arch-mips/syscalls/getxattr.S index 6ed4316..28c7fe6 100644 --- a/libc/arch-mips/syscalls/getxattr.S +++ b/libc/arch-mips/syscalls/getxattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(getxattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(getxattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/init_module.S b/libc/arch-mips/syscalls/init_module.S index 6caf450..989614a 100644 --- a/libc/arch-mips/syscalls/init_module.S +++ b/libc/arch-mips/syscalls/init_module.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(init_module) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(init_module) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/inotify_add_watch.S b/libc/arch-mips/syscalls/inotify_add_watch.S index 8464f8f..7d3315f 100644 --- a/libc/arch-mips/syscalls/inotify_add_watch.S +++ b/libc/arch-mips/syscalls/inotify_add_watch.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(inotify_add_watch) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(inotify_add_watch) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/inotify_init1.S b/libc/arch-mips/syscalls/inotify_init1.S index b6cb6bc..e4ec266 100644 --- a/libc/arch-mips/syscalls/inotify_init1.S +++ b/libc/arch-mips/syscalls/inotify_init1.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(inotify_init1) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(inotify_init1) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/inotify_rm_watch.S b/libc/arch-mips/syscalls/inotify_rm_watch.S index 87a396a..eec9856 100644 --- a/libc/arch-mips/syscalls/inotify_rm_watch.S +++ b/libc/arch-mips/syscalls/inotify_rm_watch.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(inotify_rm_watch) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(inotify_rm_watch) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/kill.S b/libc/arch-mips/syscalls/kill.S index 3dda006..415da73 100644 --- a/libc/arch-mips/syscalls/kill.S +++ b/libc/arch-mips/syscalls/kill.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(kill) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(kill) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/klogctl.S b/libc/arch-mips/syscalls/klogctl.S index ae9a445..123d8a0 100644 --- a/libc/arch-mips/syscalls/klogctl.S +++ b/libc/arch-mips/syscalls/klogctl.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(klogctl) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(klogctl) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/lgetxattr.S b/libc/arch-mips/syscalls/lgetxattr.S index 63c5add..a9916d9 100644 --- a/libc/arch-mips/syscalls/lgetxattr.S +++ b/libc/arch-mips/syscalls/lgetxattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(lgetxattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(lgetxattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/linkat.S b/libc/arch-mips/syscalls/linkat.S index 5bea417..a05a995 100644 --- a/libc/arch-mips/syscalls/linkat.S +++ b/libc/arch-mips/syscalls/linkat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(linkat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(linkat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/listen.S b/libc/arch-mips/syscalls/listen.S index 8d945f5..7bb2ec8 100644 --- a/libc/arch-mips/syscalls/listen.S +++ b/libc/arch-mips/syscalls/listen.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(listen) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(listen) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/listxattr.S b/libc/arch-mips/syscalls/listxattr.S index 260d089..c160178 100644 --- a/libc/arch-mips/syscalls/listxattr.S +++ b/libc/arch-mips/syscalls/listxattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(listxattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(listxattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/llistxattr.S b/libc/arch-mips/syscalls/llistxattr.S index 69474d8..9bf05b0 100644 --- a/libc/arch-mips/syscalls/llistxattr.S +++ b/libc/arch-mips/syscalls/llistxattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(llistxattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(llistxattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/lremovexattr.S b/libc/arch-mips/syscalls/lremovexattr.S index e33f31f..fe73ddb 100644 --- a/libc/arch-mips/syscalls/lremovexattr.S +++ b/libc/arch-mips/syscalls/lremovexattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(lremovexattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(lremovexattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/lseek.S b/libc/arch-mips/syscalls/lseek.S index 21abe1c..6d6b4e5 100644 --- a/libc/arch-mips/syscalls/lseek.S +++ b/libc/arch-mips/syscalls/lseek.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(lseek) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(lseek) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/lsetxattr.S b/libc/arch-mips/syscalls/lsetxattr.S index dcd510a..69ea0a2 100644 --- a/libc/arch-mips/syscalls/lsetxattr.S +++ b/libc/arch-mips/syscalls/lsetxattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(lsetxattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(lsetxattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/madvise.S b/libc/arch-mips/syscalls/madvise.S index 49c007a..7d67b80 100644 --- a/libc/arch-mips/syscalls/madvise.S +++ b/libc/arch-mips/syscalls/madvise.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(madvise) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(madvise) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/mincore.S b/libc/arch-mips/syscalls/mincore.S index 07102a6..96f5e29 100644 --- a/libc/arch-mips/syscalls/mincore.S +++ b/libc/arch-mips/syscalls/mincore.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(mincore) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(mincore) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/mkdirat.S b/libc/arch-mips/syscalls/mkdirat.S index 96a2d08..55dd976 100644 --- a/libc/arch-mips/syscalls/mkdirat.S +++ b/libc/arch-mips/syscalls/mkdirat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(mkdirat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(mkdirat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/mknodat.S b/libc/arch-mips/syscalls/mknodat.S index a88b906..1a03a8e 100644 --- a/libc/arch-mips/syscalls/mknodat.S +++ b/libc/arch-mips/syscalls/mknodat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(mknodat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(mknodat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/mlock.S b/libc/arch-mips/syscalls/mlock.S index eff66b8..3cf7c1b 100644 --- a/libc/arch-mips/syscalls/mlock.S +++ b/libc/arch-mips/syscalls/mlock.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(mlock) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(mlock) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/mlockall.S b/libc/arch-mips/syscalls/mlockall.S index c31eeaf..3b90f41 100644 --- a/libc/arch-mips/syscalls/mlockall.S +++ b/libc/arch-mips/syscalls/mlockall.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(mlockall) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(mlockall) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/mount.S b/libc/arch-mips/syscalls/mount.S index cb1f1d1..fdf299f 100644 --- a/libc/arch-mips/syscalls/mount.S +++ b/libc/arch-mips/syscalls/mount.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(mount) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(mount) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/mprotect.S b/libc/arch-mips/syscalls/mprotect.S index 4e390eb..5618310 100644 --- a/libc/arch-mips/syscalls/mprotect.S +++ b/libc/arch-mips/syscalls/mprotect.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(mprotect) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(mprotect) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/mremap.S b/libc/arch-mips/syscalls/mremap.S index 7b9a68a..7cbb94e 100644 --- a/libc/arch-mips/syscalls/mremap.S +++ b/libc/arch-mips/syscalls/mremap.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(mremap) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(mremap) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/msync.S b/libc/arch-mips/syscalls/msync.S index 7b19a83..fb7462d 100644 --- a/libc/arch-mips/syscalls/msync.S +++ b/libc/arch-mips/syscalls/msync.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(msync) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(msync) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/munlock.S b/libc/arch-mips/syscalls/munlock.S index 17dc719..6c65c02 100644 --- a/libc/arch-mips/syscalls/munlock.S +++ b/libc/arch-mips/syscalls/munlock.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(munlock) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(munlock) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/munlockall.S b/libc/arch-mips/syscalls/munlockall.S index f0dc2d4..e30dddc 100644 --- a/libc/arch-mips/syscalls/munlockall.S +++ b/libc/arch-mips/syscalls/munlockall.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(munlockall) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(munlockall) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/munmap.S b/libc/arch-mips/syscalls/munmap.S index dc3a524..903edde 100644 --- a/libc/arch-mips/syscalls/munmap.S +++ b/libc/arch-mips/syscalls/munmap.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(munmap) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(munmap) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/nanosleep.S b/libc/arch-mips/syscalls/nanosleep.S index fa74288..8dae88b 100644 --- a/libc/arch-mips/syscalls/nanosleep.S +++ b/libc/arch-mips/syscalls/nanosleep.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(nanosleep) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(nanosleep) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/personality.S b/libc/arch-mips/syscalls/personality.S index 467f2ec..2f51d39 100644 --- a/libc/arch-mips/syscalls/personality.S +++ b/libc/arch-mips/syscalls/personality.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(personality) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(personality) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/pipe2.S b/libc/arch-mips/syscalls/pipe2.S index c505956..b06309c 100644 --- a/libc/arch-mips/syscalls/pipe2.S +++ b/libc/arch-mips/syscalls/pipe2.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(pipe2) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(pipe2) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/prctl.S b/libc/arch-mips/syscalls/prctl.S index 60c18be..71544ee 100644 --- a/libc/arch-mips/syscalls/prctl.S +++ b/libc/arch-mips/syscalls/prctl.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(prctl) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(prctl) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/pread64.S b/libc/arch-mips/syscalls/pread64.S index debc558..9e7248b 100644 --- a/libc/arch-mips/syscalls/pread64.S +++ b/libc/arch-mips/syscalls/pread64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(pread64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(pread64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/prlimit64.S b/libc/arch-mips/syscalls/prlimit64.S index ce1686f..ca913df 100644 --- a/libc/arch-mips/syscalls/prlimit64.S +++ b/libc/arch-mips/syscalls/prlimit64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(prlimit64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(prlimit64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/pwrite64.S b/libc/arch-mips/syscalls/pwrite64.S index b1ff89b..ac206aa 100644 --- a/libc/arch-mips/syscalls/pwrite64.S +++ b/libc/arch-mips/syscalls/pwrite64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(pwrite64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(pwrite64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/read.S b/libc/arch-mips/syscalls/read.S index d98c9a6..1355b66 100644 --- a/libc/arch-mips/syscalls/read.S +++ b/libc/arch-mips/syscalls/read.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(read) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(read) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/readahead.S b/libc/arch-mips/syscalls/readahead.S index 7dd4473..b28df08 100644 --- a/libc/arch-mips/syscalls/readahead.S +++ b/libc/arch-mips/syscalls/readahead.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(readahead) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(readahead) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/readlinkat.S b/libc/arch-mips/syscalls/readlinkat.S index 99f07a4..5cf84a2 100644 --- a/libc/arch-mips/syscalls/readlinkat.S +++ b/libc/arch-mips/syscalls/readlinkat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(readlinkat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(readlinkat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/readv.S b/libc/arch-mips/syscalls/readv.S index 3985c9c..57952a0 100644 --- a/libc/arch-mips/syscalls/readv.S +++ b/libc/arch-mips/syscalls/readv.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(readv) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(readv) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/recvfrom.S b/libc/arch-mips/syscalls/recvfrom.S index afda11e..707ba4b 100644 --- a/libc/arch-mips/syscalls/recvfrom.S +++ b/libc/arch-mips/syscalls/recvfrom.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(recvfrom) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(recvfrom) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/recvmmsg.S b/libc/arch-mips/syscalls/recvmmsg.S index 1122c01..796d0d8 100644 --- a/libc/arch-mips/syscalls/recvmmsg.S +++ b/libc/arch-mips/syscalls/recvmmsg.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(recvmmsg) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(recvmmsg) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/recvmsg.S b/libc/arch-mips/syscalls/recvmsg.S index a64606b..fdcac32 100644 --- a/libc/arch-mips/syscalls/recvmsg.S +++ b/libc/arch-mips/syscalls/recvmsg.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(recvmsg) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(recvmsg) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/removexattr.S b/libc/arch-mips/syscalls/removexattr.S index a356160..d99e1ae 100644 --- a/libc/arch-mips/syscalls/removexattr.S +++ b/libc/arch-mips/syscalls/removexattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(removexattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(removexattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/renameat.S b/libc/arch-mips/syscalls/renameat.S index 63de839..c865d74 100644 --- a/libc/arch-mips/syscalls/renameat.S +++ b/libc/arch-mips/syscalls/renameat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(renameat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(renameat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sched_get_priority_max.S b/libc/arch-mips/syscalls/sched_get_priority_max.S index ea88c0f..1c73af6 100644 --- a/libc/arch-mips/syscalls/sched_get_priority_max.S +++ b/libc/arch-mips/syscalls/sched_get_priority_max.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sched_get_priority_max) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sched_get_priority_max) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sched_get_priority_min.S b/libc/arch-mips/syscalls/sched_get_priority_min.S index 0320847..b69b72b 100644 --- a/libc/arch-mips/syscalls/sched_get_priority_min.S +++ b/libc/arch-mips/syscalls/sched_get_priority_min.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sched_get_priority_min) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sched_get_priority_min) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sched_getparam.S b/libc/arch-mips/syscalls/sched_getparam.S index 4be69b3..387257a 100644 --- a/libc/arch-mips/syscalls/sched_getparam.S +++ b/libc/arch-mips/syscalls/sched_getparam.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sched_getparam) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sched_getparam) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sched_getscheduler.S b/libc/arch-mips/syscalls/sched_getscheduler.S index aaf0e91..9b293db 100644 --- a/libc/arch-mips/syscalls/sched_getscheduler.S +++ b/libc/arch-mips/syscalls/sched_getscheduler.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sched_getscheduler) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sched_getscheduler) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sched_rr_get_interval.S b/libc/arch-mips/syscalls/sched_rr_get_interval.S index fcf2bcb..3d7b8a8 100644 --- a/libc/arch-mips/syscalls/sched_rr_get_interval.S +++ b/libc/arch-mips/syscalls/sched_rr_get_interval.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sched_rr_get_interval) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sched_rr_get_interval) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sched_setaffinity.S b/libc/arch-mips/syscalls/sched_setaffinity.S index b9394c5..a0e9f6c 100644 --- a/libc/arch-mips/syscalls/sched_setaffinity.S +++ b/libc/arch-mips/syscalls/sched_setaffinity.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sched_setaffinity) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sched_setaffinity) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sched_setparam.S b/libc/arch-mips/syscalls/sched_setparam.S index 90c82fe..a8a8982 100644 --- a/libc/arch-mips/syscalls/sched_setparam.S +++ b/libc/arch-mips/syscalls/sched_setparam.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sched_setparam) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sched_setparam) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sched_setscheduler.S b/libc/arch-mips/syscalls/sched_setscheduler.S index 05e4e8b..a2cd7fa 100644 --- a/libc/arch-mips/syscalls/sched_setscheduler.S +++ b/libc/arch-mips/syscalls/sched_setscheduler.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sched_setscheduler) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sched_setscheduler) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sched_yield.S b/libc/arch-mips/syscalls/sched_yield.S index 1556580..295266f 100644 --- a/libc/arch-mips/syscalls/sched_yield.S +++ b/libc/arch-mips/syscalls/sched_yield.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sched_yield) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sched_yield) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sendfile.S b/libc/arch-mips/syscalls/sendfile.S index eb99d09..5e5e887 100644 --- a/libc/arch-mips/syscalls/sendfile.S +++ b/libc/arch-mips/syscalls/sendfile.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sendfile) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sendfile) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sendfile64.S b/libc/arch-mips/syscalls/sendfile64.S index 1d5c5f0..78f1908 100644 --- a/libc/arch-mips/syscalls/sendfile64.S +++ b/libc/arch-mips/syscalls/sendfile64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sendfile64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sendfile64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sendmmsg.S b/libc/arch-mips/syscalls/sendmmsg.S index 16f37a1..1dc7576 100644 --- a/libc/arch-mips/syscalls/sendmmsg.S +++ b/libc/arch-mips/syscalls/sendmmsg.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sendmmsg) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sendmmsg) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sendmsg.S b/libc/arch-mips/syscalls/sendmsg.S index 31bb563..88c653e 100644 --- a/libc/arch-mips/syscalls/sendmsg.S +++ b/libc/arch-mips/syscalls/sendmsg.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sendmsg) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sendmsg) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sendto.S b/libc/arch-mips/syscalls/sendto.S index 2ba696d..ef3fa9f 100644 --- a/libc/arch-mips/syscalls/sendto.S +++ b/libc/arch-mips/syscalls/sendto.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sendto) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sendto) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setfsgid.S b/libc/arch-mips/syscalls/setfsgid.S index 81d33d0..158d2c0 100644 --- a/libc/arch-mips/syscalls/setfsgid.S +++ b/libc/arch-mips/syscalls/setfsgid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setfsgid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setfsgid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setfsuid.S b/libc/arch-mips/syscalls/setfsuid.S index 6889077..f76fd17 100644 --- a/libc/arch-mips/syscalls/setfsuid.S +++ b/libc/arch-mips/syscalls/setfsuid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setfsuid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setfsuid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setgid.S b/libc/arch-mips/syscalls/setgid.S index 83649da..44127cd 100644 --- a/libc/arch-mips/syscalls/setgid.S +++ b/libc/arch-mips/syscalls/setgid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setgid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setgid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setgroups.S b/libc/arch-mips/syscalls/setgroups.S index b98608c..be4dc13 100644 --- a/libc/arch-mips/syscalls/setgroups.S +++ b/libc/arch-mips/syscalls/setgroups.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setgroups) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setgroups) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setitimer.S b/libc/arch-mips/syscalls/setitimer.S index dc9a8f3..968b453 100644 --- a/libc/arch-mips/syscalls/setitimer.S +++ b/libc/arch-mips/syscalls/setitimer.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setitimer) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setitimer) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setns.S b/libc/arch-mips/syscalls/setns.S index 9a4939d..a9270ec 100644 --- a/libc/arch-mips/syscalls/setns.S +++ b/libc/arch-mips/syscalls/setns.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setns) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setns) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setpgid.S b/libc/arch-mips/syscalls/setpgid.S index cbc1ff3..d2db62f 100644 --- a/libc/arch-mips/syscalls/setpgid.S +++ b/libc/arch-mips/syscalls/setpgid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setpgid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setpgid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setpriority.S b/libc/arch-mips/syscalls/setpriority.S index 6b8a504..9b68335 100644 --- a/libc/arch-mips/syscalls/setpriority.S +++ b/libc/arch-mips/syscalls/setpriority.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setpriority) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setpriority) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setregid.S b/libc/arch-mips/syscalls/setregid.S index 6388784..6b7474c 100644 --- a/libc/arch-mips/syscalls/setregid.S +++ b/libc/arch-mips/syscalls/setregid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setregid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setregid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setresgid.S b/libc/arch-mips/syscalls/setresgid.S index 76968a8..223a0d0 100644 --- a/libc/arch-mips/syscalls/setresgid.S +++ b/libc/arch-mips/syscalls/setresgid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setresgid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setresgid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setresuid.S b/libc/arch-mips/syscalls/setresuid.S index fae15f8..1f99682 100644 --- a/libc/arch-mips/syscalls/setresuid.S +++ b/libc/arch-mips/syscalls/setresuid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setresuid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setresuid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setreuid.S b/libc/arch-mips/syscalls/setreuid.S index 8350cb7..fa9c3d2 100644 --- a/libc/arch-mips/syscalls/setreuid.S +++ b/libc/arch-mips/syscalls/setreuid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setreuid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setreuid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setrlimit.S b/libc/arch-mips/syscalls/setrlimit.S index d708c2d..016e24c 100644 --- a/libc/arch-mips/syscalls/setrlimit.S +++ b/libc/arch-mips/syscalls/setrlimit.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setrlimit) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setrlimit) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setsid.S b/libc/arch-mips/syscalls/setsid.S index cb5838d..9f3cb48 100644 --- a/libc/arch-mips/syscalls/setsid.S +++ b/libc/arch-mips/syscalls/setsid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setsid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setsid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setsockopt.S b/libc/arch-mips/syscalls/setsockopt.S index da348f1..b2368a1 100644 --- a/libc/arch-mips/syscalls/setsockopt.S +++ b/libc/arch-mips/syscalls/setsockopt.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setsockopt) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setsockopt) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/settimeofday.S b/libc/arch-mips/syscalls/settimeofday.S index cd52b40..e3a5a06 100644 --- a/libc/arch-mips/syscalls/settimeofday.S +++ b/libc/arch-mips/syscalls/settimeofday.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(settimeofday) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(settimeofday) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setuid.S b/libc/arch-mips/syscalls/setuid.S index a80ec5c..ff3da0a 100644 --- a/libc/arch-mips/syscalls/setuid.S +++ b/libc/arch-mips/syscalls/setuid.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setuid) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setuid) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/setxattr.S b/libc/arch-mips/syscalls/setxattr.S index df7bcdb..5b3a241 100644 --- a/libc/arch-mips/syscalls/setxattr.S +++ b/libc/arch-mips/syscalls/setxattr.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(setxattr) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(setxattr) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/shutdown.S b/libc/arch-mips/syscalls/shutdown.S index 71e6366..5db046f 100644 --- a/libc/arch-mips/syscalls/shutdown.S +++ b/libc/arch-mips/syscalls/shutdown.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(shutdown) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(shutdown) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sigaltstack.S b/libc/arch-mips/syscalls/sigaltstack.S index b52c60a..f543759 100644 --- a/libc/arch-mips/syscalls/sigaltstack.S +++ b/libc/arch-mips/syscalls/sigaltstack.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sigaltstack) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sigaltstack) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/socketpair.S b/libc/arch-mips/syscalls/socketpair.S index 47223e1..7f85da3 100644 --- a/libc/arch-mips/syscalls/socketpair.S +++ b/libc/arch-mips/syscalls/socketpair.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(socketpair) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(socketpair) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/splice.S b/libc/arch-mips/syscalls/splice.S index 611a062..a55b7e8 100644 --- a/libc/arch-mips/syscalls/splice.S +++ b/libc/arch-mips/syscalls/splice.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(splice) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(splice) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/swapoff.S b/libc/arch-mips/syscalls/swapoff.S index 8b57068..ce782d0 100644 --- a/libc/arch-mips/syscalls/swapoff.S +++ b/libc/arch-mips/syscalls/swapoff.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(swapoff) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(swapoff) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/swapon.S b/libc/arch-mips/syscalls/swapon.S index ef3a537..127c3a8 100644 --- a/libc/arch-mips/syscalls/swapon.S +++ b/libc/arch-mips/syscalls/swapon.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(swapon) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(swapon) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/symlinkat.S b/libc/arch-mips/syscalls/symlinkat.S index 65971a9..b0690a4 100644 --- a/libc/arch-mips/syscalls/symlinkat.S +++ b/libc/arch-mips/syscalls/symlinkat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(symlinkat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(symlinkat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sync.S b/libc/arch-mips/syscalls/sync.S index d62ae76..8858e74 100644 --- a/libc/arch-mips/syscalls/sync.S +++ b/libc/arch-mips/syscalls/sync.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sync) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sync) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/sysinfo.S b/libc/arch-mips/syscalls/sysinfo.S index 600e086..beefc0e 100644 --- a/libc/arch-mips/syscalls/sysinfo.S +++ b/libc/arch-mips/syscalls/sysinfo.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(sysinfo) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(sysinfo) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/tee.S b/libc/arch-mips/syscalls/tee.S index 90ec911..1115907 100644 --- a/libc/arch-mips/syscalls/tee.S +++ b/libc/arch-mips/syscalls/tee.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(tee) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(tee) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/tgkill.S b/libc/arch-mips/syscalls/tgkill.S index 39a148b..bea211d 100644 --- a/libc/arch-mips/syscalls/tgkill.S +++ b/libc/arch-mips/syscalls/tgkill.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(tgkill) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(tgkill) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/timerfd_create.S b/libc/arch-mips/syscalls/timerfd_create.S index b50903a..116c628 100644 --- a/libc/arch-mips/syscalls/timerfd_create.S +++ b/libc/arch-mips/syscalls/timerfd_create.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(timerfd_create) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(timerfd_create) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/timerfd_gettime.S b/libc/arch-mips/syscalls/timerfd_gettime.S index 97d3045..df7138c 100644 --- a/libc/arch-mips/syscalls/timerfd_gettime.S +++ b/libc/arch-mips/syscalls/timerfd_gettime.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(timerfd_gettime) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(timerfd_gettime) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/timerfd_settime.S b/libc/arch-mips/syscalls/timerfd_settime.S index 1e56f86..2bfadb9 100644 --- a/libc/arch-mips/syscalls/timerfd_settime.S +++ b/libc/arch-mips/syscalls/timerfd_settime.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(timerfd_settime) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(timerfd_settime) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/times.S b/libc/arch-mips/syscalls/times.S index 60904d1..90ce97f 100644 --- a/libc/arch-mips/syscalls/times.S +++ b/libc/arch-mips/syscalls/times.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(times) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(times) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/truncate.S b/libc/arch-mips/syscalls/truncate.S index ec7bc49..6800705 100644 --- a/libc/arch-mips/syscalls/truncate.S +++ b/libc/arch-mips/syscalls/truncate.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(truncate) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(truncate) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/truncate64.S b/libc/arch-mips/syscalls/truncate64.S index b6a0234..870e735 100644 --- a/libc/arch-mips/syscalls/truncate64.S +++ b/libc/arch-mips/syscalls/truncate64.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(truncate64) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(truncate64) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/umask.S b/libc/arch-mips/syscalls/umask.S index 8f66e77..ccf4292 100644 --- a/libc/arch-mips/syscalls/umask.S +++ b/libc/arch-mips/syscalls/umask.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(umask) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(umask) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/umount2.S b/libc/arch-mips/syscalls/umount2.S index 58e31f3..65a7129 100644 --- a/libc/arch-mips/syscalls/umount2.S +++ b/libc/arch-mips/syscalls/umount2.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(umount2) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(umount2) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/uname.S b/libc/arch-mips/syscalls/uname.S index 401d139..f540b3a 100644 --- a/libc/arch-mips/syscalls/uname.S +++ b/libc/arch-mips/syscalls/uname.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(uname) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(uname) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/unlinkat.S b/libc/arch-mips/syscalls/unlinkat.S index b6e849d..001f9cf 100644 --- a/libc/arch-mips/syscalls/unlinkat.S +++ b/libc/arch-mips/syscalls/unlinkat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(unlinkat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(unlinkat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/unshare.S b/libc/arch-mips/syscalls/unshare.S index 5262832..13ca452 100644 --- a/libc/arch-mips/syscalls/unshare.S +++ b/libc/arch-mips/syscalls/unshare.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(unshare) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(unshare) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/utimensat.S b/libc/arch-mips/syscalls/utimensat.S index 9ecb5c0..14e5a10 100644 --- a/libc/arch-mips/syscalls/utimensat.S +++ b/libc/arch-mips/syscalls/utimensat.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(utimensat) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(utimensat) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/vmsplice.S b/libc/arch-mips/syscalls/vmsplice.S index 5ad23a6..0191f53 100644 --- a/libc/arch-mips/syscalls/vmsplice.S +++ b/libc/arch-mips/syscalls/vmsplice.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(vmsplice) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(vmsplice) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/wait4.S b/libc/arch-mips/syscalls/wait4.S index 8f8d879..8a12533 100644 --- a/libc/arch-mips/syscalls/wait4.S +++ b/libc/arch-mips/syscalls/wait4.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(wait4) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(wait4) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/write.S b/libc/arch-mips/syscalls/write.S index 3e37919..62dc36f 100644 --- a/libc/arch-mips/syscalls/write.S +++ b/libc/arch-mips/syscalls/write.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(write) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(write) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder diff --git a/libc/arch-mips/syscalls/writev.S b/libc/arch-mips/syscalls/writev.S index 72ea2f2..d8d6616 100644 --- a/libc/arch-mips/syscalls/writev.S +++ b/libc/arch-mips/syscalls/writev.S @@ -2,8 +2,6 @@ #include <private/bionic_asm.h> - .hidden __set_errno - ENTRY(writev) .set noreorder .cpload t9 @@ -14,7 +12,7 @@ ENTRY(writev) j ra nop 1: - la t9,__set_errno + la t9,__set_errno_internal j t9 nop .set reorder |