diff options
author | Dan Albert <danalbert@google.com> | 2014-08-09 06:45:48 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-08-09 00:45:27 +0000 |
commit | f4d21fba064c398110ec0428afc0a025afb2254e (patch) | |
tree | f54dd8139f542ae547a45352676d5129d91eb235 /libc | |
parent | 49de01a5be7bfb07baaea7415647d838383e1b59 (diff) | |
parent | e35fd48a832cddbedcf84773fd1922f735ae7829 (diff) | |
download | bionic-f4d21fba064c398110ec0428afc0a025afb2254e.zip bionic-f4d21fba064c398110ec0428afc0a025afb2254e.tar.gz bionic-f4d21fba064c398110ec0428afc0a025afb2254e.tar.bz2 |
Merge "Make __set_errno hidden in asm." into lmp-dev
Diffstat (limited to 'libc')
1159 files changed, 2318 insertions, 0 deletions
diff --git a/libc/arch-arm/syscalls/__accept4.S b/libc/arch-arm/syscalls/__accept4.S index 9a6874b..2b1eb28 100644 --- a/libc/arch-arm/syscalls/__accept4.S +++ b/libc/arch-arm/syscalls/__accept4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__accept4) mov ip, r7 ldr r7, =__NR_accept4 diff --git a/libc/arch-arm/syscalls/__brk.S b/libc/arch-arm/syscalls/__brk.S index 31de0d2..0987f0e 100644 --- a/libc/arch-arm/syscalls/__brk.S +++ b/libc/arch-arm/syscalls/__brk.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__brk) mov ip, r7 ldr r7, =__NR_brk diff --git a/libc/arch-arm/syscalls/__connect.S b/libc/arch-arm/syscalls/__connect.S index 8cb026c..510af95 100644 --- a/libc/arch-arm/syscalls/__connect.S +++ b/libc/arch-arm/syscalls/__connect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__connect) mov ip, r7 ldr r7, =__NR_connect diff --git a/libc/arch-arm/syscalls/__epoll_pwait.S b/libc/arch-arm/syscalls/__epoll_pwait.S index b2d8d48..bbba2e1 100644 --- a/libc/arch-arm/syscalls/__epoll_pwait.S +++ b/libc/arch-arm/syscalls/__epoll_pwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__epoll_pwait) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/__exit.S b/libc/arch-arm/syscalls/__exit.S index c534bb0..ceef94e 100644 --- a/libc/arch-arm/syscalls/__exit.S +++ b/libc/arch-arm/syscalls/__exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__exit) mov ip, r7 ldr r7, =__NR_exit diff --git a/libc/arch-arm/syscalls/__fcntl64.S b/libc/arch-arm/syscalls/__fcntl64.S index 2132cb7..bb2068d 100644 --- a/libc/arch-arm/syscalls/__fcntl64.S +++ b/libc/arch-arm/syscalls/__fcntl64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__fcntl64) mov ip, r7 ldr r7, =__NR_fcntl64 diff --git a/libc/arch-arm/syscalls/__fstatfs64.S b/libc/arch-arm/syscalls/__fstatfs64.S index 18942bc..b493aa0 100644 --- a/libc/arch-arm/syscalls/__fstatfs64.S +++ b/libc/arch-arm/syscalls/__fstatfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__fstatfs64) mov ip, r7 ldr r7, =__NR_fstatfs64 diff --git a/libc/arch-arm/syscalls/__getcpu.S b/libc/arch-arm/syscalls/__getcpu.S index 1aea50a..1b3fc46 100644 --- a/libc/arch-arm/syscalls/__getcpu.S +++ b/libc/arch-arm/syscalls/__getcpu.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcpu) mov ip, r7 ldr r7, =__NR_getcpu diff --git a/libc/arch-arm/syscalls/__getcwd.S b/libc/arch-arm/syscalls/__getcwd.S index 1c2ac6c..d91b3ca 100644 --- a/libc/arch-arm/syscalls/__getcwd.S +++ b/libc/arch-arm/syscalls/__getcwd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcwd) mov ip, r7 ldr r7, =__NR_getcwd diff --git a/libc/arch-arm/syscalls/__getdents64.S b/libc/arch-arm/syscalls/__getdents64.S index c3d5e5b..7d3d81c 100644 --- a/libc/arch-arm/syscalls/__getdents64.S +++ b/libc/arch-arm/syscalls/__getdents64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getdents64) mov ip, r7 ldr r7, =__NR_getdents64 diff --git a/libc/arch-arm/syscalls/__getpid.S b/libc/arch-arm/syscalls/__getpid.S index eedc33a..ede0865 100644 --- a/libc/arch-arm/syscalls/__getpid.S +++ b/libc/arch-arm/syscalls/__getpid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpid) mov ip, r7 ldr r7, =__NR_getpid diff --git a/libc/arch-arm/syscalls/__getpriority.S b/libc/arch-arm/syscalls/__getpriority.S index 90ccaea..d3a6468 100644 --- a/libc/arch-arm/syscalls/__getpriority.S +++ b/libc/arch-arm/syscalls/__getpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpriority) mov ip, r7 ldr r7, =__NR_getpriority diff --git a/libc/arch-arm/syscalls/__ioctl.S b/libc/arch-arm/syscalls/__ioctl.S index 3f816db..b3ac82f 100644 --- a/libc/arch-arm/syscalls/__ioctl.S +++ b/libc/arch-arm/syscalls/__ioctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ioctl) mov ip, r7 ldr r7, =__NR_ioctl diff --git a/libc/arch-arm/syscalls/__llseek.S b/libc/arch-arm/syscalls/__llseek.S index ec307d2..b36164c 100644 --- a/libc/arch-arm/syscalls/__llseek.S +++ b/libc/arch-arm/syscalls/__llseek.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__llseek) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/__mmap2.S b/libc/arch-arm/syscalls/__mmap2.S index 8a17997..ba74716 100644 --- a/libc/arch-arm/syscalls/__mmap2.S +++ b/libc/arch-arm/syscalls/__mmap2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__mmap2) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/__openat.S b/libc/arch-arm/syscalls/__openat.S index 7a38dc3..6b119e1 100644 --- a/libc/arch-arm/syscalls/__openat.S +++ b/libc/arch-arm/syscalls/__openat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__openat) mov ip, r7 ldr r7, =__NR_openat diff --git a/libc/arch-arm/syscalls/__ppoll.S b/libc/arch-arm/syscalls/__ppoll.S index d9fb3d9..3a0e80c 100644 --- a/libc/arch-arm/syscalls/__ppoll.S +++ b/libc/arch-arm/syscalls/__ppoll.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ppoll) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/__pselect6.S b/libc/arch-arm/syscalls/__pselect6.S index 05fea54..1417be8 100644 --- a/libc/arch-arm/syscalls/__pselect6.S +++ b/libc/arch-arm/syscalls/__pselect6.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__pselect6) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/__ptrace.S b/libc/arch-arm/syscalls/__ptrace.S index 4e41d9d..bc03232 100644 --- a/libc/arch-arm/syscalls/__ptrace.S +++ b/libc/arch-arm/syscalls/__ptrace.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ptrace) mov ip, r7 ldr r7, =__NR_ptrace diff --git a/libc/arch-arm/syscalls/__reboot.S b/libc/arch-arm/syscalls/__reboot.S index 18e29a7..91bbf7c 100644 --- a/libc/arch-arm/syscalls/__reboot.S +++ b/libc/arch-arm/syscalls/__reboot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__reboot) mov ip, r7 ldr r7, =__NR_reboot diff --git a/libc/arch-arm/syscalls/__rt_sigaction.S b/libc/arch-arm/syscalls/__rt_sigaction.S index 974c0e2..6a5e058 100644 --- a/libc/arch-arm/syscalls/__rt_sigaction.S +++ b/libc/arch-arm/syscalls/__rt_sigaction.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigaction) mov ip, r7 ldr r7, =__NR_rt_sigaction diff --git a/libc/arch-arm/syscalls/__rt_sigpending.S b/libc/arch-arm/syscalls/__rt_sigpending.S index 4a0f5d7..44da9b2 100644 --- a/libc/arch-arm/syscalls/__rt_sigpending.S +++ b/libc/arch-arm/syscalls/__rt_sigpending.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigpending) mov ip, r7 ldr r7, =__NR_rt_sigpending diff --git a/libc/arch-arm/syscalls/__rt_sigprocmask.S b/libc/arch-arm/syscalls/__rt_sigprocmask.S index 19abdc1..81cdb85 100644 --- a/libc/arch-arm/syscalls/__rt_sigprocmask.S +++ b/libc/arch-arm/syscalls/__rt_sigprocmask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigprocmask) mov ip, r7 ldr r7, =__NR_rt_sigprocmask diff --git a/libc/arch-arm/syscalls/__rt_sigsuspend.S b/libc/arch-arm/syscalls/__rt_sigsuspend.S index a0af905..a9a3903 100644 --- a/libc/arch-arm/syscalls/__rt_sigsuspend.S +++ b/libc/arch-arm/syscalls/__rt_sigsuspend.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigsuspend) mov ip, r7 ldr r7, =__NR_rt_sigsuspend diff --git a/libc/arch-arm/syscalls/__rt_sigtimedwait.S b/libc/arch-arm/syscalls/__rt_sigtimedwait.S index 0ba7ce2..7b78a43 100644 --- a/libc/arch-arm/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-arm/syscalls/__rt_sigtimedwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigtimedwait) mov ip, r7 ldr r7, =__NR_rt_sigtimedwait diff --git a/libc/arch-arm/syscalls/__sched_getaffinity.S b/libc/arch-arm/syscalls/__sched_getaffinity.S index e977cfb..a22c55e 100644 --- a/libc/arch-arm/syscalls/__sched_getaffinity.S +++ b/libc/arch-arm/syscalls/__sched_getaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__sched_getaffinity) mov ip, r7 ldr r7, =__NR_sched_getaffinity diff --git a/libc/arch-arm/syscalls/__set_tid_address.S b/libc/arch-arm/syscalls/__set_tid_address.S index b4b42e7..0838c8b 100644 --- a/libc/arch-arm/syscalls/__set_tid_address.S +++ b/libc/arch-arm/syscalls/__set_tid_address.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__set_tid_address) mov ip, r7 ldr r7, =__NR_set_tid_address diff --git a/libc/arch-arm/syscalls/__set_tls.S b/libc/arch-arm/syscalls/__set_tls.S index 94c7cf4..c4c2eb7 100644 --- a/libc/arch-arm/syscalls/__set_tls.S +++ b/libc/arch-arm/syscalls/__set_tls.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__set_tls) mov ip, r7 ldr r7, =__ARM_NR_set_tls diff --git a/libc/arch-arm/syscalls/__sigaction.S b/libc/arch-arm/syscalls/__sigaction.S index 7e2e07e..869b4c8 100644 --- a/libc/arch-arm/syscalls/__sigaction.S +++ b/libc/arch-arm/syscalls/__sigaction.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__sigaction) mov ip, r7 ldr r7, =__NR_sigaction diff --git a/libc/arch-arm/syscalls/__signalfd4.S b/libc/arch-arm/syscalls/__signalfd4.S index 712f975..3bcf031 100644 --- a/libc/arch-arm/syscalls/__signalfd4.S +++ b/libc/arch-arm/syscalls/__signalfd4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__signalfd4) mov ip, r7 ldr r7, =__NR_signalfd4 diff --git a/libc/arch-arm/syscalls/__socket.S b/libc/arch-arm/syscalls/__socket.S index d63028b..a655b5b 100644 --- a/libc/arch-arm/syscalls/__socket.S +++ b/libc/arch-arm/syscalls/__socket.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__socket) mov ip, r7 ldr r7, =__NR_socket diff --git a/libc/arch-arm/syscalls/__statfs64.S b/libc/arch-arm/syscalls/__statfs64.S index 2563562..80ea6ce 100644 --- a/libc/arch-arm/syscalls/__statfs64.S +++ b/libc/arch-arm/syscalls/__statfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__statfs64) mov ip, r7 ldr r7, =__NR_statfs64 diff --git a/libc/arch-arm/syscalls/__timer_create.S b/libc/arch-arm/syscalls/__timer_create.S index 9b75749..75fc347 100644 --- a/libc/arch-arm/syscalls/__timer_create.S +++ b/libc/arch-arm/syscalls/__timer_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_create) mov ip, r7 ldr r7, =__NR_timer_create diff --git a/libc/arch-arm/syscalls/__timer_delete.S b/libc/arch-arm/syscalls/__timer_delete.S index db32b3b..ad5ec36 100644 --- a/libc/arch-arm/syscalls/__timer_delete.S +++ b/libc/arch-arm/syscalls/__timer_delete.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_delete) mov ip, r7 ldr r7, =__NR_timer_delete diff --git a/libc/arch-arm/syscalls/__timer_getoverrun.S b/libc/arch-arm/syscalls/__timer_getoverrun.S index 5701b12..529712c 100644 --- a/libc/arch-arm/syscalls/__timer_getoverrun.S +++ b/libc/arch-arm/syscalls/__timer_getoverrun.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_getoverrun) mov ip, r7 ldr r7, =__NR_timer_getoverrun diff --git a/libc/arch-arm/syscalls/__timer_gettime.S b/libc/arch-arm/syscalls/__timer_gettime.S index e9a4ff9..180da39 100644 --- a/libc/arch-arm/syscalls/__timer_gettime.S +++ b/libc/arch-arm/syscalls/__timer_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_gettime) mov ip, r7 ldr r7, =__NR_timer_gettime diff --git a/libc/arch-arm/syscalls/__timer_settime.S b/libc/arch-arm/syscalls/__timer_settime.S index 2f1ab19..e2950dd 100644 --- a/libc/arch-arm/syscalls/__timer_settime.S +++ b/libc/arch-arm/syscalls/__timer_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_settime) mov ip, r7 ldr r7, =__NR_timer_settime diff --git a/libc/arch-arm/syscalls/__waitid.S b/libc/arch-arm/syscalls/__waitid.S index e5e1f54..8c6ba66 100644 --- a/libc/arch-arm/syscalls/__waitid.S +++ b/libc/arch-arm/syscalls/__waitid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__waitid) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/_exit.S b/libc/arch-arm/syscalls/_exit.S index 581b340..fd072c3 100644 --- a/libc/arch-arm/syscalls/_exit.S +++ b/libc/arch-arm/syscalls/_exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(_exit) mov ip, r7 ldr r7, =__NR_exit_group diff --git a/libc/arch-arm/syscalls/acct.S b/libc/arch-arm/syscalls/acct.S index e360c5a..156db48 100644 --- a/libc/arch-arm/syscalls/acct.S +++ b/libc/arch-arm/syscalls/acct.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(acct) mov ip, r7 ldr r7, =__NR_acct diff --git a/libc/arch-arm/syscalls/bind.S b/libc/arch-arm/syscalls/bind.S index e07dd77..892c77f 100644 --- a/libc/arch-arm/syscalls/bind.S +++ b/libc/arch-arm/syscalls/bind.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(bind) mov ip, r7 ldr r7, =__NR_bind diff --git a/libc/arch-arm/syscalls/cacheflush.S b/libc/arch-arm/syscalls/cacheflush.S index ac2a218..0739c32 100644 --- a/libc/arch-arm/syscalls/cacheflush.S +++ b/libc/arch-arm/syscalls/cacheflush.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(cacheflush) mov ip, r7 ldr r7, =__ARM_NR_cacheflush diff --git a/libc/arch-arm/syscalls/capget.S b/libc/arch-arm/syscalls/capget.S index b912830..6fd0f7c 100644 --- a/libc/arch-arm/syscalls/capget.S +++ b/libc/arch-arm/syscalls/capget.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capget) mov ip, r7 ldr r7, =__NR_capget diff --git a/libc/arch-arm/syscalls/capset.S b/libc/arch-arm/syscalls/capset.S index cef68c5..2708ff6 100644 --- a/libc/arch-arm/syscalls/capset.S +++ b/libc/arch-arm/syscalls/capset.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capset) mov ip, r7 ldr r7, =__NR_capset diff --git a/libc/arch-arm/syscalls/chdir.S b/libc/arch-arm/syscalls/chdir.S index ea93fd6..0b86a0f 100644 --- a/libc/arch-arm/syscalls/chdir.S +++ b/libc/arch-arm/syscalls/chdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chdir) mov ip, r7 ldr r7, =__NR_chdir diff --git a/libc/arch-arm/syscalls/chroot.S b/libc/arch-arm/syscalls/chroot.S index b1199e6..15aa392 100644 --- a/libc/arch-arm/syscalls/chroot.S +++ b/libc/arch-arm/syscalls/chroot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chroot) mov ip, r7 ldr r7, =__NR_chroot diff --git a/libc/arch-arm/syscalls/clock_getres.S b/libc/arch-arm/syscalls/clock_getres.S index f1e7fa2..b92289a 100644 --- a/libc/arch-arm/syscalls/clock_getres.S +++ b/libc/arch-arm/syscalls/clock_getres.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_getres) mov ip, r7 ldr r7, =__NR_clock_getres diff --git a/libc/arch-arm/syscalls/clock_gettime.S b/libc/arch-arm/syscalls/clock_gettime.S index 9b3e132..203db8f 100644 --- a/libc/arch-arm/syscalls/clock_gettime.S +++ b/libc/arch-arm/syscalls/clock_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_gettime) mov ip, r7 ldr r7, =__NR_clock_gettime diff --git a/libc/arch-arm/syscalls/clock_nanosleep.S b/libc/arch-arm/syscalls/clock_nanosleep.S index fda7394..5de2267 100644 --- a/libc/arch-arm/syscalls/clock_nanosleep.S +++ b/libc/arch-arm/syscalls/clock_nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_nanosleep) mov ip, r7 ldr r7, =__NR_clock_nanosleep diff --git a/libc/arch-arm/syscalls/clock_settime.S b/libc/arch-arm/syscalls/clock_settime.S index 5a0059e..71e61f8 100644 --- a/libc/arch-arm/syscalls/clock_settime.S +++ b/libc/arch-arm/syscalls/clock_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_settime) mov ip, r7 ldr r7, =__NR_clock_settime diff --git a/libc/arch-arm/syscalls/close.S b/libc/arch-arm/syscalls/close.S index 00c8f85..3e0fd32 100644 --- a/libc/arch-arm/syscalls/close.S +++ b/libc/arch-arm/syscalls/close.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(close) mov ip, r7 ldr r7, =__NR_close diff --git a/libc/arch-arm/syscalls/delete_module.S b/libc/arch-arm/syscalls/delete_module.S index a26b478..0af2520 100644 --- a/libc/arch-arm/syscalls/delete_module.S +++ b/libc/arch-arm/syscalls/delete_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(delete_module) mov ip, r7 ldr r7, =__NR_delete_module diff --git a/libc/arch-arm/syscalls/dup.S b/libc/arch-arm/syscalls/dup.S index b1859d9..4105438 100644 --- a/libc/arch-arm/syscalls/dup.S +++ b/libc/arch-arm/syscalls/dup.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup) mov ip, r7 ldr r7, =__NR_dup diff --git a/libc/arch-arm/syscalls/dup3.S b/libc/arch-arm/syscalls/dup3.S index 3e47c10..409e8f9 100644 --- a/libc/arch-arm/syscalls/dup3.S +++ b/libc/arch-arm/syscalls/dup3.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup3) mov ip, r7 ldr r7, =__NR_dup3 diff --git a/libc/arch-arm/syscalls/epoll_create1.S b/libc/arch-arm/syscalls/epoll_create1.S index 2eebc0c..631afab 100644 --- a/libc/arch-arm/syscalls/epoll_create1.S +++ b/libc/arch-arm/syscalls/epoll_create1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_create1) mov ip, r7 ldr r7, =__NR_epoll_create1 diff --git a/libc/arch-arm/syscalls/epoll_ctl.S b/libc/arch-arm/syscalls/epoll_ctl.S index 7a1cc41..187fe0a 100644 --- a/libc/arch-arm/syscalls/epoll_ctl.S +++ b/libc/arch-arm/syscalls/epoll_ctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_ctl) mov ip, r7 ldr r7, =__NR_epoll_ctl diff --git a/libc/arch-arm/syscalls/eventfd.S b/libc/arch-arm/syscalls/eventfd.S index 08272d3..c35f537 100644 --- a/libc/arch-arm/syscalls/eventfd.S +++ b/libc/arch-arm/syscalls/eventfd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(eventfd) mov ip, r7 ldr r7, =__NR_eventfd2 diff --git a/libc/arch-arm/syscalls/execve.S b/libc/arch-arm/syscalls/execve.S index 361ec63..1b24f76 100644 --- a/libc/arch-arm/syscalls/execve.S +++ b/libc/arch-arm/syscalls/execve.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(execve) mov ip, r7 ldr r7, =__NR_execve diff --git a/libc/arch-arm/syscalls/faccessat.S b/libc/arch-arm/syscalls/faccessat.S index c82b2ce..3f663e3 100644 --- a/libc/arch-arm/syscalls/faccessat.S +++ b/libc/arch-arm/syscalls/faccessat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(faccessat) mov ip, r7 ldr r7, =__NR_faccessat diff --git a/libc/arch-arm/syscalls/fallocate64.S b/libc/arch-arm/syscalls/fallocate64.S index c6992b0..fd90637 100644 --- a/libc/arch-arm/syscalls/fallocate64.S +++ b/libc/arch-arm/syscalls/fallocate64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fallocate64) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/fchdir.S b/libc/arch-arm/syscalls/fchdir.S index 1a7eb51..c109718 100644 --- a/libc/arch-arm/syscalls/fchdir.S +++ b/libc/arch-arm/syscalls/fchdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchdir) mov ip, r7 ldr r7, =__NR_fchdir diff --git a/libc/arch-arm/syscalls/fchmod.S b/libc/arch-arm/syscalls/fchmod.S index 42dc5b8..4b598a2 100644 --- a/libc/arch-arm/syscalls/fchmod.S +++ b/libc/arch-arm/syscalls/fchmod.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmod) mov ip, r7 ldr r7, =__NR_fchmod diff --git a/libc/arch-arm/syscalls/fchmodat.S b/libc/arch-arm/syscalls/fchmodat.S index e03da8c..8e43118 100644 --- a/libc/arch-arm/syscalls/fchmodat.S +++ b/libc/arch-arm/syscalls/fchmodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmodat) mov ip, r7 ldr r7, =__NR_fchmodat diff --git a/libc/arch-arm/syscalls/fchown.S b/libc/arch-arm/syscalls/fchown.S index c2c3982..24a38f6 100644 --- a/libc/arch-arm/syscalls/fchown.S +++ b/libc/arch-arm/syscalls/fchown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchown) mov ip, r7 ldr r7, =__NR_fchown32 diff --git a/libc/arch-arm/syscalls/fchownat.S b/libc/arch-arm/syscalls/fchownat.S index ea8193f..8fd76a3 100644 --- a/libc/arch-arm/syscalls/fchownat.S +++ b/libc/arch-arm/syscalls/fchownat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchownat) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/fdatasync.S b/libc/arch-arm/syscalls/fdatasync.S index 9c8317d..9556665 100644 --- a/libc/arch-arm/syscalls/fdatasync.S +++ b/libc/arch-arm/syscalls/fdatasync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fdatasync) mov ip, r7 ldr r7, =__NR_fdatasync diff --git a/libc/arch-arm/syscalls/fgetxattr.S b/libc/arch-arm/syscalls/fgetxattr.S index bef536b..95e2809 100644 --- a/libc/arch-arm/syscalls/fgetxattr.S +++ b/libc/arch-arm/syscalls/fgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fgetxattr) mov ip, r7 ldr r7, =__NR_fgetxattr diff --git a/libc/arch-arm/syscalls/flistxattr.S b/libc/arch-arm/syscalls/flistxattr.S index d9a30bb..0d411b1 100644 --- a/libc/arch-arm/syscalls/flistxattr.S +++ b/libc/arch-arm/syscalls/flistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flistxattr) mov ip, r7 ldr r7, =__NR_flistxattr diff --git a/libc/arch-arm/syscalls/flock.S b/libc/arch-arm/syscalls/flock.S index 016e824..e59d4f6 100644 --- a/libc/arch-arm/syscalls/flock.S +++ b/libc/arch-arm/syscalls/flock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flock) mov ip, r7 ldr r7, =__NR_flock diff --git a/libc/arch-arm/syscalls/fremovexattr.S b/libc/arch-arm/syscalls/fremovexattr.S index c7ff034..3ec647f 100644 --- a/libc/arch-arm/syscalls/fremovexattr.S +++ b/libc/arch-arm/syscalls/fremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fremovexattr) mov ip, r7 ldr r7, =__NR_fremovexattr diff --git a/libc/arch-arm/syscalls/fsetxattr.S b/libc/arch-arm/syscalls/fsetxattr.S index 64b8d03..225e64b 100644 --- a/libc/arch-arm/syscalls/fsetxattr.S +++ b/libc/arch-arm/syscalls/fsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsetxattr) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/fstat64.S b/libc/arch-arm/syscalls/fstat64.S index 7517a65..560bb94 100644 --- a/libc/arch-arm/syscalls/fstat64.S +++ b/libc/arch-arm/syscalls/fstat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstat64) mov ip, r7 ldr r7, =__NR_fstat64 diff --git a/libc/arch-arm/syscalls/fstatat64.S b/libc/arch-arm/syscalls/fstatat64.S index 752ee2f..cda5845 100644 --- a/libc/arch-arm/syscalls/fstatat64.S +++ b/libc/arch-arm/syscalls/fstatat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstatat64) mov ip, r7 ldr r7, =__NR_fstatat64 diff --git a/libc/arch-arm/syscalls/fsync.S b/libc/arch-arm/syscalls/fsync.S index 6b7c4a8..c6ba47b 100644 --- a/libc/arch-arm/syscalls/fsync.S +++ b/libc/arch-arm/syscalls/fsync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsync) mov ip, r7 ldr r7, =__NR_fsync diff --git a/libc/arch-arm/syscalls/ftruncate.S b/libc/arch-arm/syscalls/ftruncate.S index 4a3d56c..168d722 100644 --- a/libc/arch-arm/syscalls/ftruncate.S +++ b/libc/arch-arm/syscalls/ftruncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(ftruncate) mov ip, r7 ldr r7, =__NR_ftruncate diff --git a/libc/arch-arm/syscalls/ftruncate64.S b/libc/arch-arm/syscalls/ftruncate64.S index 910ca68..a2b73b8 100644 --- a/libc/arch-arm/syscalls/ftruncate64.S +++ b/libc/arch-arm/syscalls/ftruncate64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(ftruncate64) mov ip, r7 ldr r7, =__NR_ftruncate64 diff --git a/libc/arch-arm/syscalls/getegid.S b/libc/arch-arm/syscalls/getegid.S index 6afca90..e2f9fe9 100644 --- a/libc/arch-arm/syscalls/getegid.S +++ b/libc/arch-arm/syscalls/getegid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getegid) mov ip, r7 ldr r7, =__NR_getegid32 diff --git a/libc/arch-arm/syscalls/geteuid.S b/libc/arch-arm/syscalls/geteuid.S index 78e5cf4..1d55320 100644 --- a/libc/arch-arm/syscalls/geteuid.S +++ b/libc/arch-arm/syscalls/geteuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(geteuid) mov ip, r7 ldr r7, =__NR_geteuid32 diff --git a/libc/arch-arm/syscalls/getgid.S b/libc/arch-arm/syscalls/getgid.S index c2d3538..9d81d73 100644 --- a/libc/arch-arm/syscalls/getgid.S +++ b/libc/arch-arm/syscalls/getgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgid) mov ip, r7 ldr r7, =__NR_getgid32 diff --git a/libc/arch-arm/syscalls/getgroups.S b/libc/arch-arm/syscalls/getgroups.S index e6b8e10..23aafaf 100644 --- a/libc/arch-arm/syscalls/getgroups.S +++ b/libc/arch-arm/syscalls/getgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgroups) mov ip, r7 ldr r7, =__NR_getgroups32 diff --git a/libc/arch-arm/syscalls/getitimer.S b/libc/arch-arm/syscalls/getitimer.S index 3dce707..095cf8f 100644 --- a/libc/arch-arm/syscalls/getitimer.S +++ b/libc/arch-arm/syscalls/getitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getitimer) mov ip, r7 ldr r7, =__NR_getitimer diff --git a/libc/arch-arm/syscalls/getpeername.S b/libc/arch-arm/syscalls/getpeername.S index 0613231..760f6fb 100644 --- a/libc/arch-arm/syscalls/getpeername.S +++ b/libc/arch-arm/syscalls/getpeername.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpeername) mov ip, r7 ldr r7, =__NR_getpeername diff --git a/libc/arch-arm/syscalls/getpgid.S b/libc/arch-arm/syscalls/getpgid.S index 1992afc..d07b058 100644 --- a/libc/arch-arm/syscalls/getpgid.S +++ b/libc/arch-arm/syscalls/getpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpgid) mov ip, r7 ldr r7, =__NR_getpgid diff --git a/libc/arch-arm/syscalls/getppid.S b/libc/arch-arm/syscalls/getppid.S index 594fca5..bcc13a8 100644 --- a/libc/arch-arm/syscalls/getppid.S +++ b/libc/arch-arm/syscalls/getppid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getppid) mov ip, r7 ldr r7, =__NR_getppid diff --git a/libc/arch-arm/syscalls/getresgid.S b/libc/arch-arm/syscalls/getresgid.S index 9dcdb33..9a87eaa 100644 --- a/libc/arch-arm/syscalls/getresgid.S +++ b/libc/arch-arm/syscalls/getresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresgid) mov ip, r7 ldr r7, =__NR_getresgid32 diff --git a/libc/arch-arm/syscalls/getresuid.S b/libc/arch-arm/syscalls/getresuid.S index 387bd7c..a332928 100644 --- a/libc/arch-arm/syscalls/getresuid.S +++ b/libc/arch-arm/syscalls/getresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresuid) mov ip, r7 ldr r7, =__NR_getresuid32 diff --git a/libc/arch-arm/syscalls/getrlimit.S b/libc/arch-arm/syscalls/getrlimit.S index 879b666..4a9c62a 100644 --- a/libc/arch-arm/syscalls/getrlimit.S +++ b/libc/arch-arm/syscalls/getrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrlimit) mov ip, r7 ldr r7, =__NR_ugetrlimit diff --git a/libc/arch-arm/syscalls/getrusage.S b/libc/arch-arm/syscalls/getrusage.S index ee84f49..4799b69 100644 --- a/libc/arch-arm/syscalls/getrusage.S +++ b/libc/arch-arm/syscalls/getrusage.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrusage) mov ip, r7 ldr r7, =__NR_getrusage diff --git a/libc/arch-arm/syscalls/getsid.S b/libc/arch-arm/syscalls/getsid.S index 715f217..5a26e94 100644 --- a/libc/arch-arm/syscalls/getsid.S +++ b/libc/arch-arm/syscalls/getsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsid) mov ip, r7 ldr r7, =__NR_getsid diff --git a/libc/arch-arm/syscalls/getsockname.S b/libc/arch-arm/syscalls/getsockname.S index 2ee68f3..78e0752 100644 --- a/libc/arch-arm/syscalls/getsockname.S +++ b/libc/arch-arm/syscalls/getsockname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockname) mov ip, r7 ldr r7, =__NR_getsockname diff --git a/libc/arch-arm/syscalls/getsockopt.S b/libc/arch-arm/syscalls/getsockopt.S index 2ded34f..e1badfb 100644 --- a/libc/arch-arm/syscalls/getsockopt.S +++ b/libc/arch-arm/syscalls/getsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockopt) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/gettimeofday.S b/libc/arch-arm/syscalls/gettimeofday.S index 4d33b5d..611c0d4 100644 --- a/libc/arch-arm/syscalls/gettimeofday.S +++ b/libc/arch-arm/syscalls/gettimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(gettimeofday) mov ip, r7 ldr r7, =__NR_gettimeofday diff --git a/libc/arch-arm/syscalls/getuid.S b/libc/arch-arm/syscalls/getuid.S index 66f570f..2e97c55 100644 --- a/libc/arch-arm/syscalls/getuid.S +++ b/libc/arch-arm/syscalls/getuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getuid) mov ip, r7 ldr r7, =__NR_getuid32 diff --git a/libc/arch-arm/syscalls/getxattr.S b/libc/arch-arm/syscalls/getxattr.S index 71d0035..da0e86d 100644 --- a/libc/arch-arm/syscalls/getxattr.S +++ b/libc/arch-arm/syscalls/getxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getxattr) mov ip, r7 ldr r7, =__NR_getxattr diff --git a/libc/arch-arm/syscalls/init_module.S b/libc/arch-arm/syscalls/init_module.S index 6850ddf..bf30b03 100644 --- a/libc/arch-arm/syscalls/init_module.S +++ b/libc/arch-arm/syscalls/init_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(init_module) mov ip, r7 ldr r7, =__NR_init_module diff --git a/libc/arch-arm/syscalls/inotify_add_watch.S b/libc/arch-arm/syscalls/inotify_add_watch.S index 367a49f..982d338 100644 --- a/libc/arch-arm/syscalls/inotify_add_watch.S +++ b/libc/arch-arm/syscalls/inotify_add_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_add_watch) mov ip, r7 ldr r7, =__NR_inotify_add_watch diff --git a/libc/arch-arm/syscalls/inotify_init1.S b/libc/arch-arm/syscalls/inotify_init1.S index 13e175f..2253ec8 100644 --- a/libc/arch-arm/syscalls/inotify_init1.S +++ b/libc/arch-arm/syscalls/inotify_init1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_init1) mov ip, r7 ldr r7, =__NR_inotify_init1 diff --git a/libc/arch-arm/syscalls/inotify_rm_watch.S b/libc/arch-arm/syscalls/inotify_rm_watch.S index b80e0f8..9d7e6ae 100644 --- a/libc/arch-arm/syscalls/inotify_rm_watch.S +++ b/libc/arch-arm/syscalls/inotify_rm_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_rm_watch) mov ip, r7 ldr r7, =__NR_inotify_rm_watch diff --git a/libc/arch-arm/syscalls/kill.S b/libc/arch-arm/syscalls/kill.S index 9a44208..7e4d6c4 100644 --- a/libc/arch-arm/syscalls/kill.S +++ b/libc/arch-arm/syscalls/kill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(kill) mov ip, r7 ldr r7, =__NR_kill diff --git a/libc/arch-arm/syscalls/klogctl.S b/libc/arch-arm/syscalls/klogctl.S index 84ce7f6..f5fe27f 100644 --- a/libc/arch-arm/syscalls/klogctl.S +++ b/libc/arch-arm/syscalls/klogctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(klogctl) mov ip, r7 ldr r7, =__NR_syslog diff --git a/libc/arch-arm/syscalls/lgetxattr.S b/libc/arch-arm/syscalls/lgetxattr.S index 9eed67f..70b7235 100644 --- a/libc/arch-arm/syscalls/lgetxattr.S +++ b/libc/arch-arm/syscalls/lgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lgetxattr) mov ip, r7 ldr r7, =__NR_lgetxattr diff --git a/libc/arch-arm/syscalls/linkat.S b/libc/arch-arm/syscalls/linkat.S index 27f1e00..7a578f8 100644 --- a/libc/arch-arm/syscalls/linkat.S +++ b/libc/arch-arm/syscalls/linkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(linkat) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/listen.S b/libc/arch-arm/syscalls/listen.S index 330ea56..5c33912 100644 --- a/libc/arch-arm/syscalls/listen.S +++ b/libc/arch-arm/syscalls/listen.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listen) mov ip, r7 ldr r7, =__NR_listen diff --git a/libc/arch-arm/syscalls/listxattr.S b/libc/arch-arm/syscalls/listxattr.S index c64e484..ea8f5d8 100644 --- a/libc/arch-arm/syscalls/listxattr.S +++ b/libc/arch-arm/syscalls/listxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listxattr) mov ip, r7 ldr r7, =__NR_listxattr diff --git a/libc/arch-arm/syscalls/llistxattr.S b/libc/arch-arm/syscalls/llistxattr.S index cea926b..b7f3375 100644 --- a/libc/arch-arm/syscalls/llistxattr.S +++ b/libc/arch-arm/syscalls/llistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(llistxattr) mov ip, r7 ldr r7, =__NR_llistxattr diff --git a/libc/arch-arm/syscalls/lremovexattr.S b/libc/arch-arm/syscalls/lremovexattr.S index c7a6458..a8d0d2d 100644 --- a/libc/arch-arm/syscalls/lremovexattr.S +++ b/libc/arch-arm/syscalls/lremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lremovexattr) mov ip, r7 ldr r7, =__NR_lremovexattr diff --git a/libc/arch-arm/syscalls/lseek.S b/libc/arch-arm/syscalls/lseek.S index 9edae37..17697d4 100644 --- a/libc/arch-arm/syscalls/lseek.S +++ b/libc/arch-arm/syscalls/lseek.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lseek) mov ip, r7 ldr r7, =__NR_lseek diff --git a/libc/arch-arm/syscalls/lsetxattr.S b/libc/arch-arm/syscalls/lsetxattr.S index fb3f75f..166ef7f 100644 --- a/libc/arch-arm/syscalls/lsetxattr.S +++ b/libc/arch-arm/syscalls/lsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lsetxattr) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/madvise.S b/libc/arch-arm/syscalls/madvise.S index ee2c2a5..ffa71c4 100644 --- a/libc/arch-arm/syscalls/madvise.S +++ b/libc/arch-arm/syscalls/madvise.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(madvise) mov ip, r7 ldr r7, =__NR_madvise diff --git a/libc/arch-arm/syscalls/mincore.S b/libc/arch-arm/syscalls/mincore.S index 9ef9237..5eb5f10 100644 --- a/libc/arch-arm/syscalls/mincore.S +++ b/libc/arch-arm/syscalls/mincore.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mincore) mov ip, r7 ldr r7, =__NR_mincore diff --git a/libc/arch-arm/syscalls/mkdirat.S b/libc/arch-arm/syscalls/mkdirat.S index 9e77ef0..d9c58ad 100644 --- a/libc/arch-arm/syscalls/mkdirat.S +++ b/libc/arch-arm/syscalls/mkdirat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mkdirat) mov ip, r7 ldr r7, =__NR_mkdirat diff --git a/libc/arch-arm/syscalls/mknodat.S b/libc/arch-arm/syscalls/mknodat.S index de492da..d6296f1 100644 --- a/libc/arch-arm/syscalls/mknodat.S +++ b/libc/arch-arm/syscalls/mknodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mknodat) mov ip, r7 ldr r7, =__NR_mknodat diff --git a/libc/arch-arm/syscalls/mlock.S b/libc/arch-arm/syscalls/mlock.S index 043b21b..21fd5f9 100644 --- a/libc/arch-arm/syscalls/mlock.S +++ b/libc/arch-arm/syscalls/mlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlock) mov ip, r7 ldr r7, =__NR_mlock diff --git a/libc/arch-arm/syscalls/mlockall.S b/libc/arch-arm/syscalls/mlockall.S index 9c6c4e4..750b7ec 100644 --- a/libc/arch-arm/syscalls/mlockall.S +++ b/libc/arch-arm/syscalls/mlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlockall) mov ip, r7 ldr r7, =__NR_mlockall diff --git a/libc/arch-arm/syscalls/mount.S b/libc/arch-arm/syscalls/mount.S index d56682c..d2fa20e 100644 --- a/libc/arch-arm/syscalls/mount.S +++ b/libc/arch-arm/syscalls/mount.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mount) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/mprotect.S b/libc/arch-arm/syscalls/mprotect.S index 9461d9b..dfc6f08 100644 --- a/libc/arch-arm/syscalls/mprotect.S +++ b/libc/arch-arm/syscalls/mprotect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mprotect) mov ip, r7 ldr r7, =__NR_mprotect diff --git a/libc/arch-arm/syscalls/mremap.S b/libc/arch-arm/syscalls/mremap.S index 2486fc9..a674571 100644 --- a/libc/arch-arm/syscalls/mremap.S +++ b/libc/arch-arm/syscalls/mremap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mremap) mov ip, r7 ldr r7, =__NR_mremap diff --git a/libc/arch-arm/syscalls/msync.S b/libc/arch-arm/syscalls/msync.S index 3fc4118..e062a5e 100644 --- a/libc/arch-arm/syscalls/msync.S +++ b/libc/arch-arm/syscalls/msync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(msync) mov ip, r7 ldr r7, =__NR_msync diff --git a/libc/arch-arm/syscalls/munlock.S b/libc/arch-arm/syscalls/munlock.S index c89fd3c..c44d147 100644 --- a/libc/arch-arm/syscalls/munlock.S +++ b/libc/arch-arm/syscalls/munlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlock) mov ip, r7 ldr r7, =__NR_munlock diff --git a/libc/arch-arm/syscalls/munlockall.S b/libc/arch-arm/syscalls/munlockall.S index 3ac9f32..3a36b7e 100644 --- a/libc/arch-arm/syscalls/munlockall.S +++ b/libc/arch-arm/syscalls/munlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlockall) mov ip, r7 ldr r7, =__NR_munlockall diff --git a/libc/arch-arm/syscalls/munmap.S b/libc/arch-arm/syscalls/munmap.S index ed3bb1e..a94e4e5 100644 --- a/libc/arch-arm/syscalls/munmap.S +++ b/libc/arch-arm/syscalls/munmap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munmap) mov ip, r7 ldr r7, =__NR_munmap diff --git a/libc/arch-arm/syscalls/nanosleep.S b/libc/arch-arm/syscalls/nanosleep.S index 695c126..743adc2 100644 --- a/libc/arch-arm/syscalls/nanosleep.S +++ b/libc/arch-arm/syscalls/nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(nanosleep) mov ip, r7 ldr r7, =__NR_nanosleep diff --git a/libc/arch-arm/syscalls/personality.S b/libc/arch-arm/syscalls/personality.S index e3f7371..90dfe22 100644 --- a/libc/arch-arm/syscalls/personality.S +++ b/libc/arch-arm/syscalls/personality.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(personality) mov ip, r7 ldr r7, =__NR_personality diff --git a/libc/arch-arm/syscalls/pipe2.S b/libc/arch-arm/syscalls/pipe2.S index 420dee9..b295df5 100644 --- a/libc/arch-arm/syscalls/pipe2.S +++ b/libc/arch-arm/syscalls/pipe2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pipe2) mov ip, r7 ldr r7, =__NR_pipe2 diff --git a/libc/arch-arm/syscalls/prctl.S b/libc/arch-arm/syscalls/prctl.S index 615a2fa..c8f68d3 100644 --- a/libc/arch-arm/syscalls/prctl.S +++ b/libc/arch-arm/syscalls/prctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prctl) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/pread64.S b/libc/arch-arm/syscalls/pread64.S index 0bfb6d0..3eeae3d 100644 --- a/libc/arch-arm/syscalls/pread64.S +++ b/libc/arch-arm/syscalls/pread64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pread64) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/prlimit64.S b/libc/arch-arm/syscalls/prlimit64.S index 8d9c4ff..87c53d5 100644 --- a/libc/arch-arm/syscalls/prlimit64.S +++ b/libc/arch-arm/syscalls/prlimit64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prlimit64) mov ip, r7 ldr r7, =__NR_prlimit64 diff --git a/libc/arch-arm/syscalls/pwrite64.S b/libc/arch-arm/syscalls/pwrite64.S index 03247b1..c63b835 100644 --- a/libc/arch-arm/syscalls/pwrite64.S +++ b/libc/arch-arm/syscalls/pwrite64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pwrite64) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/read.S b/libc/arch-arm/syscalls/read.S index b01daf5..9de525c 100644 --- a/libc/arch-arm/syscalls/read.S +++ b/libc/arch-arm/syscalls/read.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(read) mov ip, r7 ldr r7, =__NR_read diff --git a/libc/arch-arm/syscalls/readahead.S b/libc/arch-arm/syscalls/readahead.S index 83d8442..995f00e 100644 --- a/libc/arch-arm/syscalls/readahead.S +++ b/libc/arch-arm/syscalls/readahead.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readahead) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/readlinkat.S b/libc/arch-arm/syscalls/readlinkat.S index 28926ab..f865de5 100644 --- a/libc/arch-arm/syscalls/readlinkat.S +++ b/libc/arch-arm/syscalls/readlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readlinkat) mov ip, r7 ldr r7, =__NR_readlinkat diff --git a/libc/arch-arm/syscalls/readv.S b/libc/arch-arm/syscalls/readv.S index 433d33d..9401687 100644 --- a/libc/arch-arm/syscalls/readv.S +++ b/libc/arch-arm/syscalls/readv.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readv) mov ip, r7 ldr r7, =__NR_readv diff --git a/libc/arch-arm/syscalls/recvfrom.S b/libc/arch-arm/syscalls/recvfrom.S index cb89f72..6390a82 100644 --- a/libc/arch-arm/syscalls/recvfrom.S +++ b/libc/arch-arm/syscalls/recvfrom.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvfrom) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/recvmmsg.S b/libc/arch-arm/syscalls/recvmmsg.S index dd8cd8c..067ed1e 100644 --- a/libc/arch-arm/syscalls/recvmmsg.S +++ b/libc/arch-arm/syscalls/recvmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmmsg) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/recvmsg.S b/libc/arch-arm/syscalls/recvmsg.S index 47e82a7..f688481 100644 --- a/libc/arch-arm/syscalls/recvmsg.S +++ b/libc/arch-arm/syscalls/recvmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmsg) mov ip, r7 ldr r7, =__NR_recvmsg diff --git a/libc/arch-arm/syscalls/removexattr.S b/libc/arch-arm/syscalls/removexattr.S index a3fcdfa..59d0e2f 100644 --- a/libc/arch-arm/syscalls/removexattr.S +++ b/libc/arch-arm/syscalls/removexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(removexattr) mov ip, r7 ldr r7, =__NR_removexattr diff --git a/libc/arch-arm/syscalls/renameat.S b/libc/arch-arm/syscalls/renameat.S index cea6286..7a4d268 100644 --- a/libc/arch-arm/syscalls/renameat.S +++ b/libc/arch-arm/syscalls/renameat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(renameat) mov ip, r7 ldr r7, =__NR_renameat diff --git a/libc/arch-arm/syscalls/sched_get_priority_max.S b/libc/arch-arm/syscalls/sched_get_priority_max.S index c940adc..2aafafc 100644 --- a/libc/arch-arm/syscalls/sched_get_priority_max.S +++ b/libc/arch-arm/syscalls/sched_get_priority_max.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_max) mov ip, r7 ldr r7, =__NR_sched_get_priority_max diff --git a/libc/arch-arm/syscalls/sched_get_priority_min.S b/libc/arch-arm/syscalls/sched_get_priority_min.S index 39faede..40e14ef 100644 --- a/libc/arch-arm/syscalls/sched_get_priority_min.S +++ b/libc/arch-arm/syscalls/sched_get_priority_min.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_min) mov ip, r7 ldr r7, =__NR_sched_get_priority_min diff --git a/libc/arch-arm/syscalls/sched_getparam.S b/libc/arch-arm/syscalls/sched_getparam.S index 59df104..3d58651 100644 --- a/libc/arch-arm/syscalls/sched_getparam.S +++ b/libc/arch-arm/syscalls/sched_getparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getparam) mov ip, r7 ldr r7, =__NR_sched_getparam diff --git a/libc/arch-arm/syscalls/sched_getscheduler.S b/libc/arch-arm/syscalls/sched_getscheduler.S index 953368d..e9478ca 100644 --- a/libc/arch-arm/syscalls/sched_getscheduler.S +++ b/libc/arch-arm/syscalls/sched_getscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getscheduler) mov ip, r7 ldr r7, =__NR_sched_getscheduler diff --git a/libc/arch-arm/syscalls/sched_rr_get_interval.S b/libc/arch-arm/syscalls/sched_rr_get_interval.S index 1fa7d15..ed90b73 100644 --- a/libc/arch-arm/syscalls/sched_rr_get_interval.S +++ b/libc/arch-arm/syscalls/sched_rr_get_interval.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_rr_get_interval) mov ip, r7 ldr r7, =__NR_sched_rr_get_interval diff --git a/libc/arch-arm/syscalls/sched_setaffinity.S b/libc/arch-arm/syscalls/sched_setaffinity.S index 63bfe4d..d5f72a9 100644 --- a/libc/arch-arm/syscalls/sched_setaffinity.S +++ b/libc/arch-arm/syscalls/sched_setaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setaffinity) mov ip, r7 ldr r7, =__NR_sched_setaffinity diff --git a/libc/arch-arm/syscalls/sched_setparam.S b/libc/arch-arm/syscalls/sched_setparam.S index 324f0bb..3ec06c0 100644 --- a/libc/arch-arm/syscalls/sched_setparam.S +++ b/libc/arch-arm/syscalls/sched_setparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setparam) mov ip, r7 ldr r7, =__NR_sched_setparam diff --git a/libc/arch-arm/syscalls/sched_setscheduler.S b/libc/arch-arm/syscalls/sched_setscheduler.S index 0ce6b15..0e61ffb 100644 --- a/libc/arch-arm/syscalls/sched_setscheduler.S +++ b/libc/arch-arm/syscalls/sched_setscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setscheduler) mov ip, r7 ldr r7, =__NR_sched_setscheduler diff --git a/libc/arch-arm/syscalls/sched_yield.S b/libc/arch-arm/syscalls/sched_yield.S index 8e6d65a..f26297e 100644 --- a/libc/arch-arm/syscalls/sched_yield.S +++ b/libc/arch-arm/syscalls/sched_yield.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_yield) mov ip, r7 ldr r7, =__NR_sched_yield diff --git a/libc/arch-arm/syscalls/sendfile.S b/libc/arch-arm/syscalls/sendfile.S index 28b25a3..e4df8ff 100644 --- a/libc/arch-arm/syscalls/sendfile.S +++ b/libc/arch-arm/syscalls/sendfile.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendfile) mov ip, r7 ldr r7, =__NR_sendfile diff --git a/libc/arch-arm/syscalls/sendfile64.S b/libc/arch-arm/syscalls/sendfile64.S index 4a9f245..ab48963 100644 --- a/libc/arch-arm/syscalls/sendfile64.S +++ b/libc/arch-arm/syscalls/sendfile64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendfile64) mov ip, r7 ldr r7, =__NR_sendfile64 diff --git a/libc/arch-arm/syscalls/sendmmsg.S b/libc/arch-arm/syscalls/sendmmsg.S index 04c3fe3..998e6c7 100644 --- a/libc/arch-arm/syscalls/sendmmsg.S +++ b/libc/arch-arm/syscalls/sendmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmmsg) mov ip, r7 ldr r7, =__NR_sendmmsg diff --git a/libc/arch-arm/syscalls/sendmsg.S b/libc/arch-arm/syscalls/sendmsg.S index 554f307..d25d6b4 100644 --- a/libc/arch-arm/syscalls/sendmsg.S +++ b/libc/arch-arm/syscalls/sendmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmsg) mov ip, r7 ldr r7, =__NR_sendmsg diff --git a/libc/arch-arm/syscalls/sendto.S b/libc/arch-arm/syscalls/sendto.S index bd0ec1d..b5e8de9 100644 --- a/libc/arch-arm/syscalls/sendto.S +++ b/libc/arch-arm/syscalls/sendto.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendto) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/setfsgid.S b/libc/arch-arm/syscalls/setfsgid.S index e36e6ea..7cdb610 100644 --- a/libc/arch-arm/syscalls/setfsgid.S +++ b/libc/arch-arm/syscalls/setfsgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsgid) mov ip, r7 ldr r7, =__NR_setfsgid diff --git a/libc/arch-arm/syscalls/setfsuid.S b/libc/arch-arm/syscalls/setfsuid.S index e3c9c00..ae65298 100644 --- a/libc/arch-arm/syscalls/setfsuid.S +++ b/libc/arch-arm/syscalls/setfsuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsuid) mov ip, r7 ldr r7, =__NR_setfsuid diff --git a/libc/arch-arm/syscalls/setgid.S b/libc/arch-arm/syscalls/setgid.S index fb38148..15583ac 100644 --- a/libc/arch-arm/syscalls/setgid.S +++ b/libc/arch-arm/syscalls/setgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgid) mov ip, r7 ldr r7, =__NR_setgid32 diff --git a/libc/arch-arm/syscalls/setgroups.S b/libc/arch-arm/syscalls/setgroups.S index 5420a53..eb610b1 100644 --- a/libc/arch-arm/syscalls/setgroups.S +++ b/libc/arch-arm/syscalls/setgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgroups) mov ip, r7 ldr r7, =__NR_setgroups32 diff --git a/libc/arch-arm/syscalls/setitimer.S b/libc/arch-arm/syscalls/setitimer.S index 2345e5b..4da2b40 100644 --- a/libc/arch-arm/syscalls/setitimer.S +++ b/libc/arch-arm/syscalls/setitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setitimer) mov ip, r7 ldr r7, =__NR_setitimer diff --git a/libc/arch-arm/syscalls/setns.S b/libc/arch-arm/syscalls/setns.S index 7afbff0..891a0ac 100644 --- a/libc/arch-arm/syscalls/setns.S +++ b/libc/arch-arm/syscalls/setns.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setns) mov ip, r7 ldr r7, =__NR_setns diff --git a/libc/arch-arm/syscalls/setpgid.S b/libc/arch-arm/syscalls/setpgid.S index 1470a9d..e4edcdf 100644 --- a/libc/arch-arm/syscalls/setpgid.S +++ b/libc/arch-arm/syscalls/setpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpgid) mov ip, r7 ldr r7, =__NR_setpgid diff --git a/libc/arch-arm/syscalls/setpriority.S b/libc/arch-arm/syscalls/setpriority.S index b7f47be..80d0d82 100644 --- a/libc/arch-arm/syscalls/setpriority.S +++ b/libc/arch-arm/syscalls/setpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpriority) mov ip, r7 ldr r7, =__NR_setpriority diff --git a/libc/arch-arm/syscalls/setregid.S b/libc/arch-arm/syscalls/setregid.S index a4323d4..b2cd345 100644 --- a/libc/arch-arm/syscalls/setregid.S +++ b/libc/arch-arm/syscalls/setregid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setregid) mov ip, r7 ldr r7, =__NR_setregid32 diff --git a/libc/arch-arm/syscalls/setresgid.S b/libc/arch-arm/syscalls/setresgid.S index a578440..75a9f75 100644 --- a/libc/arch-arm/syscalls/setresgid.S +++ b/libc/arch-arm/syscalls/setresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresgid) mov ip, r7 ldr r7, =__NR_setresgid32 diff --git a/libc/arch-arm/syscalls/setresuid.S b/libc/arch-arm/syscalls/setresuid.S index 9798bc5..f3382f2 100644 --- a/libc/arch-arm/syscalls/setresuid.S +++ b/libc/arch-arm/syscalls/setresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresuid) mov ip, r7 ldr r7, =__NR_setresuid32 diff --git a/libc/arch-arm/syscalls/setreuid.S b/libc/arch-arm/syscalls/setreuid.S index fa83dc6..1d866e9 100644 --- a/libc/arch-arm/syscalls/setreuid.S +++ b/libc/arch-arm/syscalls/setreuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setreuid) mov ip, r7 ldr r7, =__NR_setreuid32 diff --git a/libc/arch-arm/syscalls/setrlimit.S b/libc/arch-arm/syscalls/setrlimit.S index 0711aca..0ddd711 100644 --- a/libc/arch-arm/syscalls/setrlimit.S +++ b/libc/arch-arm/syscalls/setrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setrlimit) mov ip, r7 ldr r7, =__NR_setrlimit diff --git a/libc/arch-arm/syscalls/setsid.S b/libc/arch-arm/syscalls/setsid.S index df6196b..69b351f 100644 --- a/libc/arch-arm/syscalls/setsid.S +++ b/libc/arch-arm/syscalls/setsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsid) mov ip, r7 ldr r7, =__NR_setsid diff --git a/libc/arch-arm/syscalls/setsockopt.S b/libc/arch-arm/syscalls/setsockopt.S index b2d7597..87df622 100644 --- a/libc/arch-arm/syscalls/setsockopt.S +++ b/libc/arch-arm/syscalls/setsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsockopt) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/settimeofday.S b/libc/arch-arm/syscalls/settimeofday.S index af39761..76697fc 100644 --- a/libc/arch-arm/syscalls/settimeofday.S +++ b/libc/arch-arm/syscalls/settimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(settimeofday) mov ip, r7 ldr r7, =__NR_settimeofday diff --git a/libc/arch-arm/syscalls/setuid.S b/libc/arch-arm/syscalls/setuid.S index 1999c2b..26d3ed1 100644 --- a/libc/arch-arm/syscalls/setuid.S +++ b/libc/arch-arm/syscalls/setuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setuid) mov ip, r7 ldr r7, =__NR_setuid32 diff --git a/libc/arch-arm/syscalls/setxattr.S b/libc/arch-arm/syscalls/setxattr.S index 022195d..ec948ce 100644 --- a/libc/arch-arm/syscalls/setxattr.S +++ b/libc/arch-arm/syscalls/setxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setxattr) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/shutdown.S b/libc/arch-arm/syscalls/shutdown.S index 744f384..e9a27d4 100644 --- a/libc/arch-arm/syscalls/shutdown.S +++ b/libc/arch-arm/syscalls/shutdown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(shutdown) mov ip, r7 ldr r7, =__NR_shutdown diff --git a/libc/arch-arm/syscalls/sigaltstack.S b/libc/arch-arm/syscalls/sigaltstack.S index d8777b4..18a1ffe 100644 --- a/libc/arch-arm/syscalls/sigaltstack.S +++ b/libc/arch-arm/syscalls/sigaltstack.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sigaltstack) mov ip, r7 ldr r7, =__NR_sigaltstack diff --git a/libc/arch-arm/syscalls/socketpair.S b/libc/arch-arm/syscalls/socketpair.S index f896313..66f0c32 100644 --- a/libc/arch-arm/syscalls/socketpair.S +++ b/libc/arch-arm/syscalls/socketpair.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(socketpair) mov ip, r7 ldr r7, =__NR_socketpair diff --git a/libc/arch-arm/syscalls/splice.S b/libc/arch-arm/syscalls/splice.S index 782ba6c..6273138 100644 --- a/libc/arch-arm/syscalls/splice.S +++ b/libc/arch-arm/syscalls/splice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(splice) mov ip, sp stmfd sp!, {r4, r5, r6, r7} diff --git a/libc/arch-arm/syscalls/swapoff.S b/libc/arch-arm/syscalls/swapoff.S index f78bc7f..a497aad 100644 --- a/libc/arch-arm/syscalls/swapoff.S +++ b/libc/arch-arm/syscalls/swapoff.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapoff) mov ip, r7 ldr r7, =__NR_swapoff diff --git a/libc/arch-arm/syscalls/swapon.S b/libc/arch-arm/syscalls/swapon.S index d28216a..ded2abc 100644 --- a/libc/arch-arm/syscalls/swapon.S +++ b/libc/arch-arm/syscalls/swapon.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapon) mov ip, r7 ldr r7, =__NR_swapon diff --git a/libc/arch-arm/syscalls/symlinkat.S b/libc/arch-arm/syscalls/symlinkat.S index d81e43b..cc91b88 100644 --- a/libc/arch-arm/syscalls/symlinkat.S +++ b/libc/arch-arm/syscalls/symlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(symlinkat) mov ip, r7 ldr r7, =__NR_symlinkat diff --git a/libc/arch-arm/syscalls/sync.S b/libc/arch-arm/syscalls/sync.S index 279a192..ab22855 100644 --- a/libc/arch-arm/syscalls/sync.S +++ b/libc/arch-arm/syscalls/sync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sync) mov ip, r7 ldr r7, =__NR_sync diff --git a/libc/arch-arm/syscalls/sysinfo.S b/libc/arch-arm/syscalls/sysinfo.S index 6bee583..f5fb4e6 100644 --- a/libc/arch-arm/syscalls/sysinfo.S +++ b/libc/arch-arm/syscalls/sysinfo.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sysinfo) mov ip, r7 ldr r7, =__NR_sysinfo diff --git a/libc/arch-arm/syscalls/tee.S b/libc/arch-arm/syscalls/tee.S index 9174617..7e155df 100644 --- a/libc/arch-arm/syscalls/tee.S +++ b/libc/arch-arm/syscalls/tee.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tee) mov ip, r7 ldr r7, =__NR_tee diff --git a/libc/arch-arm/syscalls/tgkill.S b/libc/arch-arm/syscalls/tgkill.S index 4ea04f5..98440b1 100644 --- a/libc/arch-arm/syscalls/tgkill.S +++ b/libc/arch-arm/syscalls/tgkill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tgkill) mov ip, r7 ldr r7, =__NR_tgkill diff --git a/libc/arch-arm/syscalls/timerfd_create.S b/libc/arch-arm/syscalls/timerfd_create.S index f5842e9..9211b54 100644 --- a/libc/arch-arm/syscalls/timerfd_create.S +++ b/libc/arch-arm/syscalls/timerfd_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_create) mov ip, r7 ldr r7, =__NR_timerfd_create diff --git a/libc/arch-arm/syscalls/timerfd_gettime.S b/libc/arch-arm/syscalls/timerfd_gettime.S index 6f254e5..c27e008 100644 --- a/libc/arch-arm/syscalls/timerfd_gettime.S +++ b/libc/arch-arm/syscalls/timerfd_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_gettime) mov ip, r7 ldr r7, =__NR_timerfd_gettime diff --git a/libc/arch-arm/syscalls/timerfd_settime.S b/libc/arch-arm/syscalls/timerfd_settime.S index 75d175c..7acd408 100644 --- a/libc/arch-arm/syscalls/timerfd_settime.S +++ b/libc/arch-arm/syscalls/timerfd_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_settime) mov ip, r7 ldr r7, =__NR_timerfd_settime diff --git a/libc/arch-arm/syscalls/times.S b/libc/arch-arm/syscalls/times.S index 4792ad1..b5695c4 100644 --- a/libc/arch-arm/syscalls/times.S +++ b/libc/arch-arm/syscalls/times.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(times) mov ip, r7 ldr r7, =__NR_times diff --git a/libc/arch-arm/syscalls/truncate.S b/libc/arch-arm/syscalls/truncate.S index ff8fd19..7915722 100644 --- a/libc/arch-arm/syscalls/truncate.S +++ b/libc/arch-arm/syscalls/truncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(truncate) mov ip, r7 ldr r7, =__NR_truncate diff --git a/libc/arch-arm/syscalls/truncate64.S b/libc/arch-arm/syscalls/truncate64.S index 8fd0855..d59374a 100644 --- a/libc/arch-arm/syscalls/truncate64.S +++ b/libc/arch-arm/syscalls/truncate64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(truncate64) mov ip, r7 ldr r7, =__NR_truncate64 diff --git a/libc/arch-arm/syscalls/umask.S b/libc/arch-arm/syscalls/umask.S index 830af21..5b03fb3 100644 --- a/libc/arch-arm/syscalls/umask.S +++ b/libc/arch-arm/syscalls/umask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umask) mov ip, r7 ldr r7, =__NR_umask diff --git a/libc/arch-arm/syscalls/umount2.S b/libc/arch-arm/syscalls/umount2.S index 4c0ce4d..841eb97 100644 --- a/libc/arch-arm/syscalls/umount2.S +++ b/libc/arch-arm/syscalls/umount2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umount2) mov ip, r7 ldr r7, =__NR_umount2 diff --git a/libc/arch-arm/syscalls/uname.S b/libc/arch-arm/syscalls/uname.S index 20a6d7d..76480b4 100644 --- a/libc/arch-arm/syscalls/uname.S +++ b/libc/arch-arm/syscalls/uname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(uname) mov ip, r7 ldr r7, =__NR_uname diff --git a/libc/arch-arm/syscalls/unlinkat.S b/libc/arch-arm/syscalls/unlinkat.S index 1c27416..6759768 100644 --- a/libc/arch-arm/syscalls/unlinkat.S +++ b/libc/arch-arm/syscalls/unlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unlinkat) mov ip, r7 ldr r7, =__NR_unlinkat diff --git a/libc/arch-arm/syscalls/unshare.S b/libc/arch-arm/syscalls/unshare.S index 5ec1049..19a5b6a 100644 --- a/libc/arch-arm/syscalls/unshare.S +++ b/libc/arch-arm/syscalls/unshare.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unshare) mov ip, r7 ldr r7, =__NR_unshare diff --git a/libc/arch-arm/syscalls/utimensat.S b/libc/arch-arm/syscalls/utimensat.S index f0f834f..6d50688 100644 --- a/libc/arch-arm/syscalls/utimensat.S +++ b/libc/arch-arm/syscalls/utimensat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(utimensat) mov ip, r7 ldr r7, =__NR_utimensat diff --git a/libc/arch-arm/syscalls/vfork.S b/libc/arch-arm/syscalls/vfork.S index e12fba5..8543986 100644 --- a/libc/arch-arm/syscalls/vfork.S +++ b/libc/arch-arm/syscalls/vfork.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(vfork) mov ip, r7 ldr r7, =__NR_vfork diff --git a/libc/arch-arm/syscalls/vmsplice.S b/libc/arch-arm/syscalls/vmsplice.S index 3b89623..8239158 100644 --- a/libc/arch-arm/syscalls/vmsplice.S +++ b/libc/arch-arm/syscalls/vmsplice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(vmsplice) mov ip, r7 ldr r7, =__NR_vmsplice diff --git a/libc/arch-arm/syscalls/wait4.S b/libc/arch-arm/syscalls/wait4.S index a197c2e..ffb2587 100644 --- a/libc/arch-arm/syscalls/wait4.S +++ b/libc/arch-arm/syscalls/wait4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(wait4) mov ip, r7 ldr r7, =__NR_wait4 diff --git a/libc/arch-arm/syscalls/write.S b/libc/arch-arm/syscalls/write.S index ed7cfa2..8da1176 100644 --- a/libc/arch-arm/syscalls/write.S +++ b/libc/arch-arm/syscalls/write.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(write) mov ip, r7 ldr r7, =__NR_write diff --git a/libc/arch-arm/syscalls/writev.S b/libc/arch-arm/syscalls/writev.S index 8cc506f..f17ad94 100644 --- a/libc/arch-arm/syscalls/writev.S +++ b/libc/arch-arm/syscalls/writev.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(writev) mov ip, r7 ldr r7, =__NR_writev diff --git a/libc/arch-arm64/syscalls/__accept4.S b/libc/arch-arm64/syscalls/__accept4.S index 1c2a674..bee9fda 100644 --- a/libc/arch-arm64/syscalls/__accept4.S +++ b/libc/arch-arm64/syscalls/__accept4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__accept4) mov x8, __NR_accept4 svc #0 diff --git a/libc/arch-arm64/syscalls/__brk.S b/libc/arch-arm64/syscalls/__brk.S index 85ed767..e91e762 100644 --- a/libc/arch-arm64/syscalls/__brk.S +++ b/libc/arch-arm64/syscalls/__brk.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__brk) mov x8, __NR_brk svc #0 diff --git a/libc/arch-arm64/syscalls/__clock_gettime.S b/libc/arch-arm64/syscalls/__clock_gettime.S index f346648..d4a65e8 100644 --- a/libc/arch-arm64/syscalls/__clock_gettime.S +++ b/libc/arch-arm64/syscalls/__clock_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__clock_gettime) mov x8, __NR_clock_gettime svc #0 diff --git a/libc/arch-arm64/syscalls/__connect.S b/libc/arch-arm64/syscalls/__connect.S index 0d664f0..4f19dc7 100644 --- a/libc/arch-arm64/syscalls/__connect.S +++ b/libc/arch-arm64/syscalls/__connect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__connect) mov x8, __NR_connect svc #0 diff --git a/libc/arch-arm64/syscalls/__epoll_pwait.S b/libc/arch-arm64/syscalls/__epoll_pwait.S index 45275c0..7f40fbc 100644 --- a/libc/arch-arm64/syscalls/__epoll_pwait.S +++ b/libc/arch-arm64/syscalls/__epoll_pwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__epoll_pwait) mov x8, __NR_epoll_pwait svc #0 diff --git a/libc/arch-arm64/syscalls/__exit.S b/libc/arch-arm64/syscalls/__exit.S index e358513..30849ce 100644 --- a/libc/arch-arm64/syscalls/__exit.S +++ b/libc/arch-arm64/syscalls/__exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__exit) mov x8, __NR_exit svc #0 diff --git a/libc/arch-arm64/syscalls/__getcpu.S b/libc/arch-arm64/syscalls/__getcpu.S index 5e4368f..4821917 100644 --- a/libc/arch-arm64/syscalls/__getcpu.S +++ b/libc/arch-arm64/syscalls/__getcpu.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcpu) mov x8, __NR_getcpu svc #0 diff --git a/libc/arch-arm64/syscalls/__getcwd.S b/libc/arch-arm64/syscalls/__getcwd.S index bd4fbaa..f0212a2 100644 --- a/libc/arch-arm64/syscalls/__getcwd.S +++ b/libc/arch-arm64/syscalls/__getcwd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcwd) mov x8, __NR_getcwd svc #0 diff --git a/libc/arch-arm64/syscalls/__getdents64.S b/libc/arch-arm64/syscalls/__getdents64.S index bf0f9a4..0061cd6 100644 --- a/libc/arch-arm64/syscalls/__getdents64.S +++ b/libc/arch-arm64/syscalls/__getdents64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getdents64) mov x8, __NR_getdents64 svc #0 diff --git a/libc/arch-arm64/syscalls/__getpid.S b/libc/arch-arm64/syscalls/__getpid.S index c3003c3..011d82d 100644 --- a/libc/arch-arm64/syscalls/__getpid.S +++ b/libc/arch-arm64/syscalls/__getpid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpid) mov x8, __NR_getpid svc #0 diff --git a/libc/arch-arm64/syscalls/__getpriority.S b/libc/arch-arm64/syscalls/__getpriority.S index 57ceabf..80188b3 100644 --- a/libc/arch-arm64/syscalls/__getpriority.S +++ b/libc/arch-arm64/syscalls/__getpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpriority) mov x8, __NR_getpriority svc #0 diff --git a/libc/arch-arm64/syscalls/__gettimeofday.S b/libc/arch-arm64/syscalls/__gettimeofday.S index 6582c49..7d1b5d3 100644 --- a/libc/arch-arm64/syscalls/__gettimeofday.S +++ b/libc/arch-arm64/syscalls/__gettimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__gettimeofday) mov x8, __NR_gettimeofday svc #0 diff --git a/libc/arch-arm64/syscalls/__ioctl.S b/libc/arch-arm64/syscalls/__ioctl.S index f632555..3d42f1a 100644 --- a/libc/arch-arm64/syscalls/__ioctl.S +++ b/libc/arch-arm64/syscalls/__ioctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ioctl) mov x8, __NR_ioctl svc #0 diff --git a/libc/arch-arm64/syscalls/__openat.S b/libc/arch-arm64/syscalls/__openat.S index e1b0da3..1ff0b48 100644 --- a/libc/arch-arm64/syscalls/__openat.S +++ b/libc/arch-arm64/syscalls/__openat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__openat) mov x8, __NR_openat svc #0 diff --git a/libc/arch-arm64/syscalls/__ppoll.S b/libc/arch-arm64/syscalls/__ppoll.S index 31e5578..9517ce3 100644 --- a/libc/arch-arm64/syscalls/__ppoll.S +++ b/libc/arch-arm64/syscalls/__ppoll.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ppoll) mov x8, __NR_ppoll svc #0 diff --git a/libc/arch-arm64/syscalls/__pselect6.S b/libc/arch-arm64/syscalls/__pselect6.S index b0e4770..7e14e02 100644 --- a/libc/arch-arm64/syscalls/__pselect6.S +++ b/libc/arch-arm64/syscalls/__pselect6.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__pselect6) mov x8, __NR_pselect6 svc #0 diff --git a/libc/arch-arm64/syscalls/__ptrace.S b/libc/arch-arm64/syscalls/__ptrace.S index 054bb6f..b325e29 100644 --- a/libc/arch-arm64/syscalls/__ptrace.S +++ b/libc/arch-arm64/syscalls/__ptrace.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ptrace) mov x8, __NR_ptrace svc #0 diff --git a/libc/arch-arm64/syscalls/__reboot.S b/libc/arch-arm64/syscalls/__reboot.S index e24553c..04b18c9 100644 --- a/libc/arch-arm64/syscalls/__reboot.S +++ b/libc/arch-arm64/syscalls/__reboot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__reboot) mov x8, __NR_reboot svc #0 diff --git a/libc/arch-arm64/syscalls/__rt_sigaction.S b/libc/arch-arm64/syscalls/__rt_sigaction.S index 3d84544..3def558 100644 --- a/libc/arch-arm64/syscalls/__rt_sigaction.S +++ b/libc/arch-arm64/syscalls/__rt_sigaction.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigaction) mov x8, __NR_rt_sigaction svc #0 diff --git a/libc/arch-arm64/syscalls/__rt_sigpending.S b/libc/arch-arm64/syscalls/__rt_sigpending.S index 60f0a10..3ac0cb8 100644 --- a/libc/arch-arm64/syscalls/__rt_sigpending.S +++ b/libc/arch-arm64/syscalls/__rt_sigpending.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigpending) mov x8, __NR_rt_sigpending svc #0 diff --git a/libc/arch-arm64/syscalls/__rt_sigprocmask.S b/libc/arch-arm64/syscalls/__rt_sigprocmask.S index 7f5b3ac..72c7ea6 100644 --- a/libc/arch-arm64/syscalls/__rt_sigprocmask.S +++ b/libc/arch-arm64/syscalls/__rt_sigprocmask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigprocmask) mov x8, __NR_rt_sigprocmask svc #0 diff --git a/libc/arch-arm64/syscalls/__rt_sigsuspend.S b/libc/arch-arm64/syscalls/__rt_sigsuspend.S index 08b1197..a289713 100644 --- a/libc/arch-arm64/syscalls/__rt_sigsuspend.S +++ b/libc/arch-arm64/syscalls/__rt_sigsuspend.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigsuspend) mov x8, __NR_rt_sigsuspend svc #0 diff --git a/libc/arch-arm64/syscalls/__rt_sigtimedwait.S b/libc/arch-arm64/syscalls/__rt_sigtimedwait.S index 8bc9a7a..c61e4ac 100644 --- a/libc/arch-arm64/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-arm64/syscalls/__rt_sigtimedwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigtimedwait) mov x8, __NR_rt_sigtimedwait svc #0 diff --git a/libc/arch-arm64/syscalls/__sched_getaffinity.S b/libc/arch-arm64/syscalls/__sched_getaffinity.S index c0d392c..5bee77e 100644 --- a/libc/arch-arm64/syscalls/__sched_getaffinity.S +++ b/libc/arch-arm64/syscalls/__sched_getaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__sched_getaffinity) mov x8, __NR_sched_getaffinity svc #0 diff --git a/libc/arch-arm64/syscalls/__set_tid_address.S b/libc/arch-arm64/syscalls/__set_tid_address.S index 296c907..e4790bf 100644 --- a/libc/arch-arm64/syscalls/__set_tid_address.S +++ b/libc/arch-arm64/syscalls/__set_tid_address.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__set_tid_address) mov x8, __NR_set_tid_address svc #0 diff --git a/libc/arch-arm64/syscalls/__signalfd4.S b/libc/arch-arm64/syscalls/__signalfd4.S index 3932003..a977a6c 100644 --- a/libc/arch-arm64/syscalls/__signalfd4.S +++ b/libc/arch-arm64/syscalls/__signalfd4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__signalfd4) mov x8, __NR_signalfd4 svc #0 diff --git a/libc/arch-arm64/syscalls/__socket.S b/libc/arch-arm64/syscalls/__socket.S index db7f2aa..f8bb2ac 100644 --- a/libc/arch-arm64/syscalls/__socket.S +++ b/libc/arch-arm64/syscalls/__socket.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__socket) mov x8, __NR_socket svc #0 diff --git a/libc/arch-arm64/syscalls/__timer_create.S b/libc/arch-arm64/syscalls/__timer_create.S index a5e69e3..bb54952 100644 --- a/libc/arch-arm64/syscalls/__timer_create.S +++ b/libc/arch-arm64/syscalls/__timer_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_create) mov x8, __NR_timer_create svc #0 diff --git a/libc/arch-arm64/syscalls/__timer_delete.S b/libc/arch-arm64/syscalls/__timer_delete.S index 44a7481..47d82f2 100644 --- a/libc/arch-arm64/syscalls/__timer_delete.S +++ b/libc/arch-arm64/syscalls/__timer_delete.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_delete) mov x8, __NR_timer_delete svc #0 diff --git a/libc/arch-arm64/syscalls/__timer_getoverrun.S b/libc/arch-arm64/syscalls/__timer_getoverrun.S index e1d959a..9c06112 100644 --- a/libc/arch-arm64/syscalls/__timer_getoverrun.S +++ b/libc/arch-arm64/syscalls/__timer_getoverrun.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_getoverrun) mov x8, __NR_timer_getoverrun svc #0 diff --git a/libc/arch-arm64/syscalls/__timer_gettime.S b/libc/arch-arm64/syscalls/__timer_gettime.S index 7632290..e7c7cfe 100644 --- a/libc/arch-arm64/syscalls/__timer_gettime.S +++ b/libc/arch-arm64/syscalls/__timer_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_gettime) mov x8, __NR_timer_gettime svc #0 diff --git a/libc/arch-arm64/syscalls/__timer_settime.S b/libc/arch-arm64/syscalls/__timer_settime.S index 92e4a76..d4a4996 100644 --- a/libc/arch-arm64/syscalls/__timer_settime.S +++ b/libc/arch-arm64/syscalls/__timer_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_settime) mov x8, __NR_timer_settime svc #0 diff --git a/libc/arch-arm64/syscalls/__waitid.S b/libc/arch-arm64/syscalls/__waitid.S index 9267239..5bff488 100644 --- a/libc/arch-arm64/syscalls/__waitid.S +++ b/libc/arch-arm64/syscalls/__waitid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__waitid) mov x8, __NR_waitid svc #0 diff --git a/libc/arch-arm64/syscalls/_exit.S b/libc/arch-arm64/syscalls/_exit.S index 38b073b..e88e77a 100644 --- a/libc/arch-arm64/syscalls/_exit.S +++ b/libc/arch-arm64/syscalls/_exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(_exit) mov x8, __NR_exit_group svc #0 diff --git a/libc/arch-arm64/syscalls/acct.S b/libc/arch-arm64/syscalls/acct.S index 15e3086..97a8a0c 100644 --- a/libc/arch-arm64/syscalls/acct.S +++ b/libc/arch-arm64/syscalls/acct.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(acct) mov x8, __NR_acct svc #0 diff --git a/libc/arch-arm64/syscalls/bind.S b/libc/arch-arm64/syscalls/bind.S index b3925db..1d6d901 100644 --- a/libc/arch-arm64/syscalls/bind.S +++ b/libc/arch-arm64/syscalls/bind.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(bind) mov x8, __NR_bind svc #0 diff --git a/libc/arch-arm64/syscalls/capget.S b/libc/arch-arm64/syscalls/capget.S index b897e5d..de84929 100644 --- a/libc/arch-arm64/syscalls/capget.S +++ b/libc/arch-arm64/syscalls/capget.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capget) mov x8, __NR_capget svc #0 diff --git a/libc/arch-arm64/syscalls/capset.S b/libc/arch-arm64/syscalls/capset.S index 1d94aa3..1616f8f 100644 --- a/libc/arch-arm64/syscalls/capset.S +++ b/libc/arch-arm64/syscalls/capset.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capset) mov x8, __NR_capset svc #0 diff --git a/libc/arch-arm64/syscalls/chdir.S b/libc/arch-arm64/syscalls/chdir.S index a7bf6c2..ccaa2e2 100644 --- a/libc/arch-arm64/syscalls/chdir.S +++ b/libc/arch-arm64/syscalls/chdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chdir) mov x8, __NR_chdir svc #0 diff --git a/libc/arch-arm64/syscalls/chroot.S b/libc/arch-arm64/syscalls/chroot.S index 98bd5d1..bede172 100644 --- a/libc/arch-arm64/syscalls/chroot.S +++ b/libc/arch-arm64/syscalls/chroot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chroot) mov x8, __NR_chroot svc #0 diff --git a/libc/arch-arm64/syscalls/clock_getres.S b/libc/arch-arm64/syscalls/clock_getres.S index b6e7e56..3944a15 100644 --- a/libc/arch-arm64/syscalls/clock_getres.S +++ b/libc/arch-arm64/syscalls/clock_getres.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_getres) mov x8, __NR_clock_getres svc #0 diff --git a/libc/arch-arm64/syscalls/clock_nanosleep.S b/libc/arch-arm64/syscalls/clock_nanosleep.S index b64ff68..2182f67 100644 --- a/libc/arch-arm64/syscalls/clock_nanosleep.S +++ b/libc/arch-arm64/syscalls/clock_nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_nanosleep) mov x8, __NR_clock_nanosleep svc #0 diff --git a/libc/arch-arm64/syscalls/clock_settime.S b/libc/arch-arm64/syscalls/clock_settime.S index adc1680..14a662b 100644 --- a/libc/arch-arm64/syscalls/clock_settime.S +++ b/libc/arch-arm64/syscalls/clock_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_settime) mov x8, __NR_clock_settime svc #0 diff --git a/libc/arch-arm64/syscalls/close.S b/libc/arch-arm64/syscalls/close.S index b4b72d9..da9a151 100644 --- a/libc/arch-arm64/syscalls/close.S +++ b/libc/arch-arm64/syscalls/close.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(close) mov x8, __NR_close svc #0 diff --git a/libc/arch-arm64/syscalls/delete_module.S b/libc/arch-arm64/syscalls/delete_module.S index ed51847..5dcd07f 100644 --- a/libc/arch-arm64/syscalls/delete_module.S +++ b/libc/arch-arm64/syscalls/delete_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(delete_module) mov x8, __NR_delete_module svc #0 diff --git a/libc/arch-arm64/syscalls/dup.S b/libc/arch-arm64/syscalls/dup.S index 9584c51..33a1b65 100644 --- a/libc/arch-arm64/syscalls/dup.S +++ b/libc/arch-arm64/syscalls/dup.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup) mov x8, __NR_dup svc #0 diff --git a/libc/arch-arm64/syscalls/dup3.S b/libc/arch-arm64/syscalls/dup3.S index e303fba..441fec9 100644 --- a/libc/arch-arm64/syscalls/dup3.S +++ b/libc/arch-arm64/syscalls/dup3.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup3) mov x8, __NR_dup3 svc #0 diff --git a/libc/arch-arm64/syscalls/epoll_create1.S b/libc/arch-arm64/syscalls/epoll_create1.S index 4ca8bfa..d314f55 100644 --- a/libc/arch-arm64/syscalls/epoll_create1.S +++ b/libc/arch-arm64/syscalls/epoll_create1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_create1) mov x8, __NR_epoll_create1 svc #0 diff --git a/libc/arch-arm64/syscalls/epoll_ctl.S b/libc/arch-arm64/syscalls/epoll_ctl.S index c1c0dba..004c066 100644 --- a/libc/arch-arm64/syscalls/epoll_ctl.S +++ b/libc/arch-arm64/syscalls/epoll_ctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_ctl) mov x8, __NR_epoll_ctl svc #0 diff --git a/libc/arch-arm64/syscalls/eventfd.S b/libc/arch-arm64/syscalls/eventfd.S index ace608e..11e97d0 100644 --- a/libc/arch-arm64/syscalls/eventfd.S +++ b/libc/arch-arm64/syscalls/eventfd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(eventfd) mov x8, __NR_eventfd2 svc #0 diff --git a/libc/arch-arm64/syscalls/execve.S b/libc/arch-arm64/syscalls/execve.S index ab0cb57..7b6d943 100644 --- a/libc/arch-arm64/syscalls/execve.S +++ b/libc/arch-arm64/syscalls/execve.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(execve) mov x8, __NR_execve svc #0 diff --git a/libc/arch-arm64/syscalls/faccessat.S b/libc/arch-arm64/syscalls/faccessat.S index 30a3852..7bd8665 100644 --- a/libc/arch-arm64/syscalls/faccessat.S +++ b/libc/arch-arm64/syscalls/faccessat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(faccessat) mov x8, __NR_faccessat svc #0 diff --git a/libc/arch-arm64/syscalls/fallocate.S b/libc/arch-arm64/syscalls/fallocate.S index 3092b34..d8795ae 100644 --- a/libc/arch-arm64/syscalls/fallocate.S +++ b/libc/arch-arm64/syscalls/fallocate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fallocate) mov x8, __NR_fallocate svc #0 diff --git a/libc/arch-arm64/syscalls/fchdir.S b/libc/arch-arm64/syscalls/fchdir.S index f7687f8..7739fed 100644 --- a/libc/arch-arm64/syscalls/fchdir.S +++ b/libc/arch-arm64/syscalls/fchdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchdir) mov x8, __NR_fchdir svc #0 diff --git a/libc/arch-arm64/syscalls/fchmod.S b/libc/arch-arm64/syscalls/fchmod.S index acc6718..3eec6cb 100644 --- a/libc/arch-arm64/syscalls/fchmod.S +++ b/libc/arch-arm64/syscalls/fchmod.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmod) mov x8, __NR_fchmod svc #0 diff --git a/libc/arch-arm64/syscalls/fchmodat.S b/libc/arch-arm64/syscalls/fchmodat.S index 23c2fd5..f2f285e 100644 --- a/libc/arch-arm64/syscalls/fchmodat.S +++ b/libc/arch-arm64/syscalls/fchmodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmodat) mov x8, __NR_fchmodat svc #0 diff --git a/libc/arch-arm64/syscalls/fchown.S b/libc/arch-arm64/syscalls/fchown.S index 8e9db62..a689ba0 100644 --- a/libc/arch-arm64/syscalls/fchown.S +++ b/libc/arch-arm64/syscalls/fchown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchown) mov x8, __NR_fchown svc #0 diff --git a/libc/arch-arm64/syscalls/fchownat.S b/libc/arch-arm64/syscalls/fchownat.S index 3cf2c3d..7ede083 100644 --- a/libc/arch-arm64/syscalls/fchownat.S +++ b/libc/arch-arm64/syscalls/fchownat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchownat) mov x8, __NR_fchownat svc #0 diff --git a/libc/arch-arm64/syscalls/fcntl.S b/libc/arch-arm64/syscalls/fcntl.S index 45eff74..257c765 100644 --- a/libc/arch-arm64/syscalls/fcntl.S +++ b/libc/arch-arm64/syscalls/fcntl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fcntl) mov x8, __NR_fcntl svc #0 diff --git a/libc/arch-arm64/syscalls/fdatasync.S b/libc/arch-arm64/syscalls/fdatasync.S index 77b76c4..233abda 100644 --- a/libc/arch-arm64/syscalls/fdatasync.S +++ b/libc/arch-arm64/syscalls/fdatasync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fdatasync) mov x8, __NR_fdatasync svc #0 diff --git a/libc/arch-arm64/syscalls/fgetxattr.S b/libc/arch-arm64/syscalls/fgetxattr.S index 1f8edb6..bd579ff 100644 --- a/libc/arch-arm64/syscalls/fgetxattr.S +++ b/libc/arch-arm64/syscalls/fgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fgetxattr) mov x8, __NR_fgetxattr svc #0 diff --git a/libc/arch-arm64/syscalls/flistxattr.S b/libc/arch-arm64/syscalls/flistxattr.S index 997529e..95ccbe2 100644 --- a/libc/arch-arm64/syscalls/flistxattr.S +++ b/libc/arch-arm64/syscalls/flistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flistxattr) mov x8, __NR_flistxattr svc #0 diff --git a/libc/arch-arm64/syscalls/flock.S b/libc/arch-arm64/syscalls/flock.S index 0e1c3f5..2151d6c 100644 --- a/libc/arch-arm64/syscalls/flock.S +++ b/libc/arch-arm64/syscalls/flock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flock) mov x8, __NR_flock svc #0 diff --git a/libc/arch-arm64/syscalls/fremovexattr.S b/libc/arch-arm64/syscalls/fremovexattr.S index d43430f..8dd107d 100644 --- a/libc/arch-arm64/syscalls/fremovexattr.S +++ b/libc/arch-arm64/syscalls/fremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fremovexattr) mov x8, __NR_fremovexattr svc #0 diff --git a/libc/arch-arm64/syscalls/fsetxattr.S b/libc/arch-arm64/syscalls/fsetxattr.S index f40f875..9e54686 100644 --- a/libc/arch-arm64/syscalls/fsetxattr.S +++ b/libc/arch-arm64/syscalls/fsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsetxattr) mov x8, __NR_fsetxattr svc #0 diff --git a/libc/arch-arm64/syscalls/fstat64.S b/libc/arch-arm64/syscalls/fstat64.S index 9afe95b..f354e13 100644 --- a/libc/arch-arm64/syscalls/fstat64.S +++ b/libc/arch-arm64/syscalls/fstat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstat64) mov x8, __NR_fstat svc #0 diff --git a/libc/arch-arm64/syscalls/fstatat64.S b/libc/arch-arm64/syscalls/fstatat64.S index 30efd3b..2fe056e 100644 --- a/libc/arch-arm64/syscalls/fstatat64.S +++ b/libc/arch-arm64/syscalls/fstatat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstatat64) mov x8, __NR_newfstatat svc #0 diff --git a/libc/arch-arm64/syscalls/fstatfs64.S b/libc/arch-arm64/syscalls/fstatfs64.S index 67ae67e..c67ffd6 100644 --- a/libc/arch-arm64/syscalls/fstatfs64.S +++ b/libc/arch-arm64/syscalls/fstatfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstatfs64) mov x8, __NR_fstatfs svc #0 diff --git a/libc/arch-arm64/syscalls/fsync.S b/libc/arch-arm64/syscalls/fsync.S index e22589e..ae2fc61 100644 --- a/libc/arch-arm64/syscalls/fsync.S +++ b/libc/arch-arm64/syscalls/fsync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsync) mov x8, __NR_fsync svc #0 diff --git a/libc/arch-arm64/syscalls/ftruncate.S b/libc/arch-arm64/syscalls/ftruncate.S index b45a170..adf87fe 100644 --- a/libc/arch-arm64/syscalls/ftruncate.S +++ b/libc/arch-arm64/syscalls/ftruncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(ftruncate) mov x8, __NR_ftruncate svc #0 diff --git a/libc/arch-arm64/syscalls/getegid.S b/libc/arch-arm64/syscalls/getegid.S index 675731c..5066cae 100644 --- a/libc/arch-arm64/syscalls/getegid.S +++ b/libc/arch-arm64/syscalls/getegid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getegid) mov x8, __NR_getegid svc #0 diff --git a/libc/arch-arm64/syscalls/geteuid.S b/libc/arch-arm64/syscalls/geteuid.S index 8d9461e..25b1ea9 100644 --- a/libc/arch-arm64/syscalls/geteuid.S +++ b/libc/arch-arm64/syscalls/geteuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(geteuid) mov x8, __NR_geteuid svc #0 diff --git a/libc/arch-arm64/syscalls/getgid.S b/libc/arch-arm64/syscalls/getgid.S index 4653fd8..3f49cb4 100644 --- a/libc/arch-arm64/syscalls/getgid.S +++ b/libc/arch-arm64/syscalls/getgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgid) mov x8, __NR_getgid svc #0 diff --git a/libc/arch-arm64/syscalls/getgroups.S b/libc/arch-arm64/syscalls/getgroups.S index f22f1e9..3df4974 100644 --- a/libc/arch-arm64/syscalls/getgroups.S +++ b/libc/arch-arm64/syscalls/getgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgroups) mov x8, __NR_getgroups svc #0 diff --git a/libc/arch-arm64/syscalls/getitimer.S b/libc/arch-arm64/syscalls/getitimer.S index 25d0b38..70cb731 100644 --- a/libc/arch-arm64/syscalls/getitimer.S +++ b/libc/arch-arm64/syscalls/getitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getitimer) mov x8, __NR_getitimer svc #0 diff --git a/libc/arch-arm64/syscalls/getpeername.S b/libc/arch-arm64/syscalls/getpeername.S index aefd0c5..eefb24a 100644 --- a/libc/arch-arm64/syscalls/getpeername.S +++ b/libc/arch-arm64/syscalls/getpeername.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpeername) mov x8, __NR_getpeername svc #0 diff --git a/libc/arch-arm64/syscalls/getpgid.S b/libc/arch-arm64/syscalls/getpgid.S index 4c750fb..d12ac52 100644 --- a/libc/arch-arm64/syscalls/getpgid.S +++ b/libc/arch-arm64/syscalls/getpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpgid) mov x8, __NR_getpgid svc #0 diff --git a/libc/arch-arm64/syscalls/getppid.S b/libc/arch-arm64/syscalls/getppid.S index 540ecc4..af8965b 100644 --- a/libc/arch-arm64/syscalls/getppid.S +++ b/libc/arch-arm64/syscalls/getppid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getppid) mov x8, __NR_getppid svc #0 diff --git a/libc/arch-arm64/syscalls/getresgid.S b/libc/arch-arm64/syscalls/getresgid.S index 3ce5799..3c1c0c0 100644 --- a/libc/arch-arm64/syscalls/getresgid.S +++ b/libc/arch-arm64/syscalls/getresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresgid) mov x8, __NR_getresgid svc #0 diff --git a/libc/arch-arm64/syscalls/getresuid.S b/libc/arch-arm64/syscalls/getresuid.S index 56851cc..f50e060 100644 --- a/libc/arch-arm64/syscalls/getresuid.S +++ b/libc/arch-arm64/syscalls/getresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresuid) mov x8, __NR_getresuid svc #0 diff --git a/libc/arch-arm64/syscalls/getrlimit.S b/libc/arch-arm64/syscalls/getrlimit.S index 1f74773..b759912 100644 --- a/libc/arch-arm64/syscalls/getrlimit.S +++ b/libc/arch-arm64/syscalls/getrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrlimit) mov x8, __NR_getrlimit svc #0 diff --git a/libc/arch-arm64/syscalls/getrusage.S b/libc/arch-arm64/syscalls/getrusage.S index 8154e4a..1a0d30f 100644 --- a/libc/arch-arm64/syscalls/getrusage.S +++ b/libc/arch-arm64/syscalls/getrusage.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrusage) mov x8, __NR_getrusage svc #0 diff --git a/libc/arch-arm64/syscalls/getsid.S b/libc/arch-arm64/syscalls/getsid.S index f99623f..3c3d753 100644 --- a/libc/arch-arm64/syscalls/getsid.S +++ b/libc/arch-arm64/syscalls/getsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsid) mov x8, __NR_getsid svc #0 diff --git a/libc/arch-arm64/syscalls/getsockname.S b/libc/arch-arm64/syscalls/getsockname.S index e8bc006..a337986 100644 --- a/libc/arch-arm64/syscalls/getsockname.S +++ b/libc/arch-arm64/syscalls/getsockname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockname) mov x8, __NR_getsockname svc #0 diff --git a/libc/arch-arm64/syscalls/getsockopt.S b/libc/arch-arm64/syscalls/getsockopt.S index 4559d1d..4b3abd5 100644 --- a/libc/arch-arm64/syscalls/getsockopt.S +++ b/libc/arch-arm64/syscalls/getsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockopt) mov x8, __NR_getsockopt svc #0 diff --git a/libc/arch-arm64/syscalls/getuid.S b/libc/arch-arm64/syscalls/getuid.S index 4e37d47..a9193c5 100644 --- a/libc/arch-arm64/syscalls/getuid.S +++ b/libc/arch-arm64/syscalls/getuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getuid) mov x8, __NR_getuid svc #0 diff --git a/libc/arch-arm64/syscalls/getxattr.S b/libc/arch-arm64/syscalls/getxattr.S index 3f69956..afa81ef 100644 --- a/libc/arch-arm64/syscalls/getxattr.S +++ b/libc/arch-arm64/syscalls/getxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getxattr) mov x8, __NR_getxattr svc #0 diff --git a/libc/arch-arm64/syscalls/init_module.S b/libc/arch-arm64/syscalls/init_module.S index cc1a0da..bf0f7d3 100644 --- a/libc/arch-arm64/syscalls/init_module.S +++ b/libc/arch-arm64/syscalls/init_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(init_module) mov x8, __NR_init_module svc #0 diff --git a/libc/arch-arm64/syscalls/inotify_add_watch.S b/libc/arch-arm64/syscalls/inotify_add_watch.S index fbc8dd4..dc30ae5 100644 --- a/libc/arch-arm64/syscalls/inotify_add_watch.S +++ b/libc/arch-arm64/syscalls/inotify_add_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_add_watch) mov x8, __NR_inotify_add_watch svc #0 diff --git a/libc/arch-arm64/syscalls/inotify_init1.S b/libc/arch-arm64/syscalls/inotify_init1.S index 5726d0c..1b40ef2 100644 --- a/libc/arch-arm64/syscalls/inotify_init1.S +++ b/libc/arch-arm64/syscalls/inotify_init1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_init1) mov x8, __NR_inotify_init1 svc #0 diff --git a/libc/arch-arm64/syscalls/inotify_rm_watch.S b/libc/arch-arm64/syscalls/inotify_rm_watch.S index 37eabcf..7c99e86 100644 --- a/libc/arch-arm64/syscalls/inotify_rm_watch.S +++ b/libc/arch-arm64/syscalls/inotify_rm_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_rm_watch) mov x8, __NR_inotify_rm_watch svc #0 diff --git a/libc/arch-arm64/syscalls/kill.S b/libc/arch-arm64/syscalls/kill.S index 7fc2c5a..e86e3a4 100644 --- a/libc/arch-arm64/syscalls/kill.S +++ b/libc/arch-arm64/syscalls/kill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(kill) mov x8, __NR_kill svc #0 diff --git a/libc/arch-arm64/syscalls/klogctl.S b/libc/arch-arm64/syscalls/klogctl.S index abbee55..567db27 100644 --- a/libc/arch-arm64/syscalls/klogctl.S +++ b/libc/arch-arm64/syscalls/klogctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(klogctl) mov x8, __NR_syslog svc #0 diff --git a/libc/arch-arm64/syscalls/lgetxattr.S b/libc/arch-arm64/syscalls/lgetxattr.S index e1a760c..187462a 100644 --- a/libc/arch-arm64/syscalls/lgetxattr.S +++ b/libc/arch-arm64/syscalls/lgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lgetxattr) mov x8, __NR_lgetxattr svc #0 diff --git a/libc/arch-arm64/syscalls/linkat.S b/libc/arch-arm64/syscalls/linkat.S index c3e2cd8..7cfc2e0 100644 --- a/libc/arch-arm64/syscalls/linkat.S +++ b/libc/arch-arm64/syscalls/linkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(linkat) mov x8, __NR_linkat svc #0 diff --git a/libc/arch-arm64/syscalls/listen.S b/libc/arch-arm64/syscalls/listen.S index 9b7be28..028b9bd 100644 --- a/libc/arch-arm64/syscalls/listen.S +++ b/libc/arch-arm64/syscalls/listen.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listen) mov x8, __NR_listen svc #0 diff --git a/libc/arch-arm64/syscalls/listxattr.S b/libc/arch-arm64/syscalls/listxattr.S index a5e55c7..335fafe 100644 --- a/libc/arch-arm64/syscalls/listxattr.S +++ b/libc/arch-arm64/syscalls/listxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listxattr) mov x8, __NR_listxattr svc #0 diff --git a/libc/arch-arm64/syscalls/llistxattr.S b/libc/arch-arm64/syscalls/llistxattr.S index 447e208..e796741 100644 --- a/libc/arch-arm64/syscalls/llistxattr.S +++ b/libc/arch-arm64/syscalls/llistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(llistxattr) mov x8, __NR_llistxattr svc #0 diff --git a/libc/arch-arm64/syscalls/lremovexattr.S b/libc/arch-arm64/syscalls/lremovexattr.S index 1f620db..9f4c027 100644 --- a/libc/arch-arm64/syscalls/lremovexattr.S +++ b/libc/arch-arm64/syscalls/lremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lremovexattr) mov x8, __NR_lremovexattr svc #0 diff --git a/libc/arch-arm64/syscalls/lseek.S b/libc/arch-arm64/syscalls/lseek.S index 1b858b2..aa71768 100644 --- a/libc/arch-arm64/syscalls/lseek.S +++ b/libc/arch-arm64/syscalls/lseek.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lseek) mov x8, __NR_lseek svc #0 diff --git a/libc/arch-arm64/syscalls/lsetxattr.S b/libc/arch-arm64/syscalls/lsetxattr.S index 8315bba..babf02d 100644 --- a/libc/arch-arm64/syscalls/lsetxattr.S +++ b/libc/arch-arm64/syscalls/lsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lsetxattr) mov x8, __NR_lsetxattr svc #0 diff --git a/libc/arch-arm64/syscalls/madvise.S b/libc/arch-arm64/syscalls/madvise.S index 17282c0..3d393f1 100644 --- a/libc/arch-arm64/syscalls/madvise.S +++ b/libc/arch-arm64/syscalls/madvise.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(madvise) mov x8, __NR_madvise svc #0 diff --git a/libc/arch-arm64/syscalls/mincore.S b/libc/arch-arm64/syscalls/mincore.S index abdcf6c..4432574 100644 --- a/libc/arch-arm64/syscalls/mincore.S +++ b/libc/arch-arm64/syscalls/mincore.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mincore) mov x8, __NR_mincore svc #0 diff --git a/libc/arch-arm64/syscalls/mkdirat.S b/libc/arch-arm64/syscalls/mkdirat.S index d6bafca..36c876d 100644 --- a/libc/arch-arm64/syscalls/mkdirat.S +++ b/libc/arch-arm64/syscalls/mkdirat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mkdirat) mov x8, __NR_mkdirat svc #0 diff --git a/libc/arch-arm64/syscalls/mknodat.S b/libc/arch-arm64/syscalls/mknodat.S index 598e789..e0584db 100644 --- a/libc/arch-arm64/syscalls/mknodat.S +++ b/libc/arch-arm64/syscalls/mknodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mknodat) mov x8, __NR_mknodat svc #0 diff --git a/libc/arch-arm64/syscalls/mlock.S b/libc/arch-arm64/syscalls/mlock.S index 631ce02..10ddb07 100644 --- a/libc/arch-arm64/syscalls/mlock.S +++ b/libc/arch-arm64/syscalls/mlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlock) mov x8, __NR_mlock svc #0 diff --git a/libc/arch-arm64/syscalls/mlockall.S b/libc/arch-arm64/syscalls/mlockall.S index 42dac9e..3602d71 100644 --- a/libc/arch-arm64/syscalls/mlockall.S +++ b/libc/arch-arm64/syscalls/mlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlockall) mov x8, __NR_mlockall svc #0 diff --git a/libc/arch-arm64/syscalls/mmap.S b/libc/arch-arm64/syscalls/mmap.S index da18e10..e4e39ca 100644 --- a/libc/arch-arm64/syscalls/mmap.S +++ b/libc/arch-arm64/syscalls/mmap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mmap) mov x8, __NR_mmap svc #0 diff --git a/libc/arch-arm64/syscalls/mount.S b/libc/arch-arm64/syscalls/mount.S index c43a71f..9b53754 100644 --- a/libc/arch-arm64/syscalls/mount.S +++ b/libc/arch-arm64/syscalls/mount.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mount) mov x8, __NR_mount svc #0 diff --git a/libc/arch-arm64/syscalls/mprotect.S b/libc/arch-arm64/syscalls/mprotect.S index a7d26dd..788d46e 100644 --- a/libc/arch-arm64/syscalls/mprotect.S +++ b/libc/arch-arm64/syscalls/mprotect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mprotect) mov x8, __NR_mprotect svc #0 diff --git a/libc/arch-arm64/syscalls/mremap.S b/libc/arch-arm64/syscalls/mremap.S index 337bbae..861d52a 100644 --- a/libc/arch-arm64/syscalls/mremap.S +++ b/libc/arch-arm64/syscalls/mremap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mremap) mov x8, __NR_mremap svc #0 diff --git a/libc/arch-arm64/syscalls/msync.S b/libc/arch-arm64/syscalls/msync.S index c54797e..009ce18 100644 --- a/libc/arch-arm64/syscalls/msync.S +++ b/libc/arch-arm64/syscalls/msync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(msync) mov x8, __NR_msync svc #0 diff --git a/libc/arch-arm64/syscalls/munlock.S b/libc/arch-arm64/syscalls/munlock.S index b1ec016..45d6d17 100644 --- a/libc/arch-arm64/syscalls/munlock.S +++ b/libc/arch-arm64/syscalls/munlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlock) mov x8, __NR_munlock svc #0 diff --git a/libc/arch-arm64/syscalls/munlockall.S b/libc/arch-arm64/syscalls/munlockall.S index f9162a8..6240622 100644 --- a/libc/arch-arm64/syscalls/munlockall.S +++ b/libc/arch-arm64/syscalls/munlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlockall) mov x8, __NR_munlockall svc #0 diff --git a/libc/arch-arm64/syscalls/munmap.S b/libc/arch-arm64/syscalls/munmap.S index 6bd5afe..0291268 100644 --- a/libc/arch-arm64/syscalls/munmap.S +++ b/libc/arch-arm64/syscalls/munmap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munmap) mov x8, __NR_munmap svc #0 diff --git a/libc/arch-arm64/syscalls/nanosleep.S b/libc/arch-arm64/syscalls/nanosleep.S index c84accc..7496530 100644 --- a/libc/arch-arm64/syscalls/nanosleep.S +++ b/libc/arch-arm64/syscalls/nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(nanosleep) mov x8, __NR_nanosleep svc #0 diff --git a/libc/arch-arm64/syscalls/personality.S b/libc/arch-arm64/syscalls/personality.S index 02bcf9b..1c6530c 100644 --- a/libc/arch-arm64/syscalls/personality.S +++ b/libc/arch-arm64/syscalls/personality.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(personality) mov x8, __NR_personality svc #0 diff --git a/libc/arch-arm64/syscalls/pipe2.S b/libc/arch-arm64/syscalls/pipe2.S index f4da37d..45538d3 100644 --- a/libc/arch-arm64/syscalls/pipe2.S +++ b/libc/arch-arm64/syscalls/pipe2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pipe2) mov x8, __NR_pipe2 svc #0 diff --git a/libc/arch-arm64/syscalls/prctl.S b/libc/arch-arm64/syscalls/prctl.S index 2e6dca7..ddfe5a6 100644 --- a/libc/arch-arm64/syscalls/prctl.S +++ b/libc/arch-arm64/syscalls/prctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prctl) mov x8, __NR_prctl svc #0 diff --git a/libc/arch-arm64/syscalls/pread64.S b/libc/arch-arm64/syscalls/pread64.S index 2aba596..9c2fb34 100644 --- a/libc/arch-arm64/syscalls/pread64.S +++ b/libc/arch-arm64/syscalls/pread64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pread64) mov x8, __NR_pread64 svc #0 diff --git a/libc/arch-arm64/syscalls/prlimit64.S b/libc/arch-arm64/syscalls/prlimit64.S index a2173d9..d3e07b9 100644 --- a/libc/arch-arm64/syscalls/prlimit64.S +++ b/libc/arch-arm64/syscalls/prlimit64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prlimit64) mov x8, __NR_prlimit64 svc #0 diff --git a/libc/arch-arm64/syscalls/pwrite64.S b/libc/arch-arm64/syscalls/pwrite64.S index 5674a7c..33ae24b 100644 --- a/libc/arch-arm64/syscalls/pwrite64.S +++ b/libc/arch-arm64/syscalls/pwrite64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pwrite64) mov x8, __NR_pwrite64 svc #0 diff --git a/libc/arch-arm64/syscalls/read.S b/libc/arch-arm64/syscalls/read.S index 906fb98..3440391 100644 --- a/libc/arch-arm64/syscalls/read.S +++ b/libc/arch-arm64/syscalls/read.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(read) mov x8, __NR_read svc #0 diff --git a/libc/arch-arm64/syscalls/readahead.S b/libc/arch-arm64/syscalls/readahead.S index 2994b83..73683f2 100644 --- a/libc/arch-arm64/syscalls/readahead.S +++ b/libc/arch-arm64/syscalls/readahead.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readahead) mov x8, __NR_readahead svc #0 diff --git a/libc/arch-arm64/syscalls/readlinkat.S b/libc/arch-arm64/syscalls/readlinkat.S index 1782c94..1a89d21 100644 --- a/libc/arch-arm64/syscalls/readlinkat.S +++ b/libc/arch-arm64/syscalls/readlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readlinkat) mov x8, __NR_readlinkat svc #0 diff --git a/libc/arch-arm64/syscalls/readv.S b/libc/arch-arm64/syscalls/readv.S index bc988d4..b5d154a 100644 --- a/libc/arch-arm64/syscalls/readv.S +++ b/libc/arch-arm64/syscalls/readv.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readv) mov x8, __NR_readv svc #0 diff --git a/libc/arch-arm64/syscalls/recvfrom.S b/libc/arch-arm64/syscalls/recvfrom.S index 16f97d5..80bc1aa 100644 --- a/libc/arch-arm64/syscalls/recvfrom.S +++ b/libc/arch-arm64/syscalls/recvfrom.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvfrom) mov x8, __NR_recvfrom svc #0 diff --git a/libc/arch-arm64/syscalls/recvmmsg.S b/libc/arch-arm64/syscalls/recvmmsg.S index bd1495a..aa69442 100644 --- a/libc/arch-arm64/syscalls/recvmmsg.S +++ b/libc/arch-arm64/syscalls/recvmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmmsg) mov x8, __NR_recvmmsg svc #0 diff --git a/libc/arch-arm64/syscalls/recvmsg.S b/libc/arch-arm64/syscalls/recvmsg.S index c9b78c4..095e2aa 100644 --- a/libc/arch-arm64/syscalls/recvmsg.S +++ b/libc/arch-arm64/syscalls/recvmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmsg) mov x8, __NR_recvmsg svc #0 diff --git a/libc/arch-arm64/syscalls/removexattr.S b/libc/arch-arm64/syscalls/removexattr.S index c12cc84..f279f01 100644 --- a/libc/arch-arm64/syscalls/removexattr.S +++ b/libc/arch-arm64/syscalls/removexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(removexattr) mov x8, __NR_removexattr svc #0 diff --git a/libc/arch-arm64/syscalls/renameat.S b/libc/arch-arm64/syscalls/renameat.S index cf79472..7c308cd 100644 --- a/libc/arch-arm64/syscalls/renameat.S +++ b/libc/arch-arm64/syscalls/renameat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(renameat) mov x8, __NR_renameat svc #0 diff --git a/libc/arch-arm64/syscalls/sched_get_priority_max.S b/libc/arch-arm64/syscalls/sched_get_priority_max.S index 672d0ea..e80ce35 100644 --- a/libc/arch-arm64/syscalls/sched_get_priority_max.S +++ b/libc/arch-arm64/syscalls/sched_get_priority_max.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_max) mov x8, __NR_sched_get_priority_max svc #0 diff --git a/libc/arch-arm64/syscalls/sched_get_priority_min.S b/libc/arch-arm64/syscalls/sched_get_priority_min.S index f5cf1f3..3f5f487 100644 --- a/libc/arch-arm64/syscalls/sched_get_priority_min.S +++ b/libc/arch-arm64/syscalls/sched_get_priority_min.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_min) mov x8, __NR_sched_get_priority_min svc #0 diff --git a/libc/arch-arm64/syscalls/sched_getparam.S b/libc/arch-arm64/syscalls/sched_getparam.S index 7ffe8fb..1756867 100644 --- a/libc/arch-arm64/syscalls/sched_getparam.S +++ b/libc/arch-arm64/syscalls/sched_getparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getparam) mov x8, __NR_sched_getparam svc #0 diff --git a/libc/arch-arm64/syscalls/sched_getscheduler.S b/libc/arch-arm64/syscalls/sched_getscheduler.S index b69b8c0..8fa145f 100644 --- a/libc/arch-arm64/syscalls/sched_getscheduler.S +++ b/libc/arch-arm64/syscalls/sched_getscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getscheduler) mov x8, __NR_sched_getscheduler svc #0 diff --git a/libc/arch-arm64/syscalls/sched_rr_get_interval.S b/libc/arch-arm64/syscalls/sched_rr_get_interval.S index 0be14ba..7ff393c 100644 --- a/libc/arch-arm64/syscalls/sched_rr_get_interval.S +++ b/libc/arch-arm64/syscalls/sched_rr_get_interval.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_rr_get_interval) mov x8, __NR_sched_rr_get_interval svc #0 diff --git a/libc/arch-arm64/syscalls/sched_setaffinity.S b/libc/arch-arm64/syscalls/sched_setaffinity.S index f5cbc77..2878459 100644 --- a/libc/arch-arm64/syscalls/sched_setaffinity.S +++ b/libc/arch-arm64/syscalls/sched_setaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setaffinity) mov x8, __NR_sched_setaffinity svc #0 diff --git a/libc/arch-arm64/syscalls/sched_setparam.S b/libc/arch-arm64/syscalls/sched_setparam.S index cff64f5..4135606 100644 --- a/libc/arch-arm64/syscalls/sched_setparam.S +++ b/libc/arch-arm64/syscalls/sched_setparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setparam) mov x8, __NR_sched_setparam svc #0 diff --git a/libc/arch-arm64/syscalls/sched_setscheduler.S b/libc/arch-arm64/syscalls/sched_setscheduler.S index 31600a0..e8f991c 100644 --- a/libc/arch-arm64/syscalls/sched_setscheduler.S +++ b/libc/arch-arm64/syscalls/sched_setscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setscheduler) mov x8, __NR_sched_setscheduler svc #0 diff --git a/libc/arch-arm64/syscalls/sched_yield.S b/libc/arch-arm64/syscalls/sched_yield.S index 21ad601..cd6a978 100644 --- a/libc/arch-arm64/syscalls/sched_yield.S +++ b/libc/arch-arm64/syscalls/sched_yield.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_yield) mov x8, __NR_sched_yield svc #0 diff --git a/libc/arch-arm64/syscalls/sendfile.S b/libc/arch-arm64/syscalls/sendfile.S index db90caa..c579224 100644 --- a/libc/arch-arm64/syscalls/sendfile.S +++ b/libc/arch-arm64/syscalls/sendfile.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendfile) mov x8, __NR_sendfile svc #0 diff --git a/libc/arch-arm64/syscalls/sendmmsg.S b/libc/arch-arm64/syscalls/sendmmsg.S index e85798a..e9ce811 100644 --- a/libc/arch-arm64/syscalls/sendmmsg.S +++ b/libc/arch-arm64/syscalls/sendmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmmsg) mov x8, __NR_sendmmsg svc #0 diff --git a/libc/arch-arm64/syscalls/sendmsg.S b/libc/arch-arm64/syscalls/sendmsg.S index 25eff84..78c5e68 100644 --- a/libc/arch-arm64/syscalls/sendmsg.S +++ b/libc/arch-arm64/syscalls/sendmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmsg) mov x8, __NR_sendmsg svc #0 diff --git a/libc/arch-arm64/syscalls/sendto.S b/libc/arch-arm64/syscalls/sendto.S index 39e4e4e..a3ef95d 100644 --- a/libc/arch-arm64/syscalls/sendto.S +++ b/libc/arch-arm64/syscalls/sendto.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendto) mov x8, __NR_sendto svc #0 diff --git a/libc/arch-arm64/syscalls/setfsgid.S b/libc/arch-arm64/syscalls/setfsgid.S index d2f29ab..4d28536 100644 --- a/libc/arch-arm64/syscalls/setfsgid.S +++ b/libc/arch-arm64/syscalls/setfsgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsgid) mov x8, __NR_setfsgid svc #0 diff --git a/libc/arch-arm64/syscalls/setfsuid.S b/libc/arch-arm64/syscalls/setfsuid.S index 852f97c..238bbf8 100644 --- a/libc/arch-arm64/syscalls/setfsuid.S +++ b/libc/arch-arm64/syscalls/setfsuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsuid) mov x8, __NR_setfsuid svc #0 diff --git a/libc/arch-arm64/syscalls/setgid.S b/libc/arch-arm64/syscalls/setgid.S index a9789f7..182ce1f 100644 --- a/libc/arch-arm64/syscalls/setgid.S +++ b/libc/arch-arm64/syscalls/setgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgid) mov x8, __NR_setgid svc #0 diff --git a/libc/arch-arm64/syscalls/setgroups.S b/libc/arch-arm64/syscalls/setgroups.S index ce9bf01..2bc5c7f 100644 --- a/libc/arch-arm64/syscalls/setgroups.S +++ b/libc/arch-arm64/syscalls/setgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgroups) mov x8, __NR_setgroups svc #0 diff --git a/libc/arch-arm64/syscalls/setitimer.S b/libc/arch-arm64/syscalls/setitimer.S index d8e3d7e..1a5bbb3 100644 --- a/libc/arch-arm64/syscalls/setitimer.S +++ b/libc/arch-arm64/syscalls/setitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setitimer) mov x8, __NR_setitimer svc #0 diff --git a/libc/arch-arm64/syscalls/setns.S b/libc/arch-arm64/syscalls/setns.S index 615f888..68c32da 100644 --- a/libc/arch-arm64/syscalls/setns.S +++ b/libc/arch-arm64/syscalls/setns.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setns) mov x8, __NR_setns svc #0 diff --git a/libc/arch-arm64/syscalls/setpgid.S b/libc/arch-arm64/syscalls/setpgid.S index 6015264..890d354 100644 --- a/libc/arch-arm64/syscalls/setpgid.S +++ b/libc/arch-arm64/syscalls/setpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpgid) mov x8, __NR_setpgid svc #0 diff --git a/libc/arch-arm64/syscalls/setpriority.S b/libc/arch-arm64/syscalls/setpriority.S index d2f517e..17550ea 100644 --- a/libc/arch-arm64/syscalls/setpriority.S +++ b/libc/arch-arm64/syscalls/setpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpriority) mov x8, __NR_setpriority svc #0 diff --git a/libc/arch-arm64/syscalls/setregid.S b/libc/arch-arm64/syscalls/setregid.S index 7b333bf..aa351a8 100644 --- a/libc/arch-arm64/syscalls/setregid.S +++ b/libc/arch-arm64/syscalls/setregid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setregid) mov x8, __NR_setregid svc #0 diff --git a/libc/arch-arm64/syscalls/setresgid.S b/libc/arch-arm64/syscalls/setresgid.S index 39504bd..517e59e 100644 --- a/libc/arch-arm64/syscalls/setresgid.S +++ b/libc/arch-arm64/syscalls/setresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresgid) mov x8, __NR_setresgid svc #0 diff --git a/libc/arch-arm64/syscalls/setresuid.S b/libc/arch-arm64/syscalls/setresuid.S index 5acbffd..6829cef 100644 --- a/libc/arch-arm64/syscalls/setresuid.S +++ b/libc/arch-arm64/syscalls/setresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresuid) mov x8, __NR_setresuid svc #0 diff --git a/libc/arch-arm64/syscalls/setreuid.S b/libc/arch-arm64/syscalls/setreuid.S index 63630d6..af342ef 100644 --- a/libc/arch-arm64/syscalls/setreuid.S +++ b/libc/arch-arm64/syscalls/setreuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setreuid) mov x8, __NR_setreuid svc #0 diff --git a/libc/arch-arm64/syscalls/setrlimit.S b/libc/arch-arm64/syscalls/setrlimit.S index f9f56a6..4401984 100644 --- a/libc/arch-arm64/syscalls/setrlimit.S +++ b/libc/arch-arm64/syscalls/setrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setrlimit) mov x8, __NR_setrlimit svc #0 diff --git a/libc/arch-arm64/syscalls/setsid.S b/libc/arch-arm64/syscalls/setsid.S index 04c28e3..64c76f2 100644 --- a/libc/arch-arm64/syscalls/setsid.S +++ b/libc/arch-arm64/syscalls/setsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsid) mov x8, __NR_setsid svc #0 diff --git a/libc/arch-arm64/syscalls/setsockopt.S b/libc/arch-arm64/syscalls/setsockopt.S index 0ebc6d0..51af847 100644 --- a/libc/arch-arm64/syscalls/setsockopt.S +++ b/libc/arch-arm64/syscalls/setsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsockopt) mov x8, __NR_setsockopt svc #0 diff --git a/libc/arch-arm64/syscalls/settimeofday.S b/libc/arch-arm64/syscalls/settimeofday.S index 474e40d..357998c 100644 --- a/libc/arch-arm64/syscalls/settimeofday.S +++ b/libc/arch-arm64/syscalls/settimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(settimeofday) mov x8, __NR_settimeofday svc #0 diff --git a/libc/arch-arm64/syscalls/setuid.S b/libc/arch-arm64/syscalls/setuid.S index fe52921..ad42434 100644 --- a/libc/arch-arm64/syscalls/setuid.S +++ b/libc/arch-arm64/syscalls/setuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setuid) mov x8, __NR_setuid svc #0 diff --git a/libc/arch-arm64/syscalls/setxattr.S b/libc/arch-arm64/syscalls/setxattr.S index 8d0b415..cde2d5f 100644 --- a/libc/arch-arm64/syscalls/setxattr.S +++ b/libc/arch-arm64/syscalls/setxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setxattr) mov x8, __NR_setxattr svc #0 diff --git a/libc/arch-arm64/syscalls/shutdown.S b/libc/arch-arm64/syscalls/shutdown.S index e35cdea..4813647 100644 --- a/libc/arch-arm64/syscalls/shutdown.S +++ b/libc/arch-arm64/syscalls/shutdown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(shutdown) mov x8, __NR_shutdown svc #0 diff --git a/libc/arch-arm64/syscalls/sigaltstack.S b/libc/arch-arm64/syscalls/sigaltstack.S index 6a38203..74f7e50 100644 --- a/libc/arch-arm64/syscalls/sigaltstack.S +++ b/libc/arch-arm64/syscalls/sigaltstack.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sigaltstack) mov x8, __NR_sigaltstack svc #0 diff --git a/libc/arch-arm64/syscalls/socketpair.S b/libc/arch-arm64/syscalls/socketpair.S index dcd7223..ec2a3d2 100644 --- a/libc/arch-arm64/syscalls/socketpair.S +++ b/libc/arch-arm64/syscalls/socketpair.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(socketpair) mov x8, __NR_socketpair svc #0 diff --git a/libc/arch-arm64/syscalls/splice.S b/libc/arch-arm64/syscalls/splice.S index 103805a..30443a8 100644 --- a/libc/arch-arm64/syscalls/splice.S +++ b/libc/arch-arm64/syscalls/splice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(splice) mov x8, __NR_splice svc #0 diff --git a/libc/arch-arm64/syscalls/statfs64.S b/libc/arch-arm64/syscalls/statfs64.S index 55633c1..00b32e7 100644 --- a/libc/arch-arm64/syscalls/statfs64.S +++ b/libc/arch-arm64/syscalls/statfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(statfs64) mov x8, __NR_statfs svc #0 diff --git a/libc/arch-arm64/syscalls/swapoff.S b/libc/arch-arm64/syscalls/swapoff.S index dcef4af..54dabb5 100644 --- a/libc/arch-arm64/syscalls/swapoff.S +++ b/libc/arch-arm64/syscalls/swapoff.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapoff) mov x8, __NR_swapoff svc #0 diff --git a/libc/arch-arm64/syscalls/swapon.S b/libc/arch-arm64/syscalls/swapon.S index aef7627..952252f 100644 --- a/libc/arch-arm64/syscalls/swapon.S +++ b/libc/arch-arm64/syscalls/swapon.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapon) mov x8, __NR_swapon svc #0 diff --git a/libc/arch-arm64/syscalls/symlinkat.S b/libc/arch-arm64/syscalls/symlinkat.S index 9830865..27f9334 100644 --- a/libc/arch-arm64/syscalls/symlinkat.S +++ b/libc/arch-arm64/syscalls/symlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(symlinkat) mov x8, __NR_symlinkat svc #0 diff --git a/libc/arch-arm64/syscalls/sync.S b/libc/arch-arm64/syscalls/sync.S index 3ef0460..622b028 100644 --- a/libc/arch-arm64/syscalls/sync.S +++ b/libc/arch-arm64/syscalls/sync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sync) mov x8, __NR_sync svc #0 diff --git a/libc/arch-arm64/syscalls/sysinfo.S b/libc/arch-arm64/syscalls/sysinfo.S index 7dbe152..81d8a94 100644 --- a/libc/arch-arm64/syscalls/sysinfo.S +++ b/libc/arch-arm64/syscalls/sysinfo.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sysinfo) mov x8, __NR_sysinfo svc #0 diff --git a/libc/arch-arm64/syscalls/tee.S b/libc/arch-arm64/syscalls/tee.S index d730076..cb317aa 100644 --- a/libc/arch-arm64/syscalls/tee.S +++ b/libc/arch-arm64/syscalls/tee.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tee) mov x8, __NR_tee svc #0 diff --git a/libc/arch-arm64/syscalls/tgkill.S b/libc/arch-arm64/syscalls/tgkill.S index 477c477..908811d 100644 --- a/libc/arch-arm64/syscalls/tgkill.S +++ b/libc/arch-arm64/syscalls/tgkill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tgkill) mov x8, __NR_tgkill svc #0 diff --git a/libc/arch-arm64/syscalls/timerfd_create.S b/libc/arch-arm64/syscalls/timerfd_create.S index 83b5910..5487492 100644 --- a/libc/arch-arm64/syscalls/timerfd_create.S +++ b/libc/arch-arm64/syscalls/timerfd_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_create) mov x8, __NR_timerfd_create svc #0 diff --git a/libc/arch-arm64/syscalls/timerfd_gettime.S b/libc/arch-arm64/syscalls/timerfd_gettime.S index 253cb79..1c5151f 100644 --- a/libc/arch-arm64/syscalls/timerfd_gettime.S +++ b/libc/arch-arm64/syscalls/timerfd_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_gettime) mov x8, __NR_timerfd_gettime svc #0 diff --git a/libc/arch-arm64/syscalls/timerfd_settime.S b/libc/arch-arm64/syscalls/timerfd_settime.S index 8872481..edd81fac 100644 --- a/libc/arch-arm64/syscalls/timerfd_settime.S +++ b/libc/arch-arm64/syscalls/timerfd_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_settime) mov x8, __NR_timerfd_settime svc #0 diff --git a/libc/arch-arm64/syscalls/times.S b/libc/arch-arm64/syscalls/times.S index 33c7d55..5541732 100644 --- a/libc/arch-arm64/syscalls/times.S +++ b/libc/arch-arm64/syscalls/times.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(times) mov x8, __NR_times svc #0 diff --git a/libc/arch-arm64/syscalls/truncate.S b/libc/arch-arm64/syscalls/truncate.S index f15253b..be5765c 100644 --- a/libc/arch-arm64/syscalls/truncate.S +++ b/libc/arch-arm64/syscalls/truncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(truncate) mov x8, __NR_truncate svc #0 diff --git a/libc/arch-arm64/syscalls/umask.S b/libc/arch-arm64/syscalls/umask.S index 8b907b4..c605b8f 100644 --- a/libc/arch-arm64/syscalls/umask.S +++ b/libc/arch-arm64/syscalls/umask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umask) mov x8, __NR_umask svc #0 diff --git a/libc/arch-arm64/syscalls/umount2.S b/libc/arch-arm64/syscalls/umount2.S index 5646dba..73ed330 100644 --- a/libc/arch-arm64/syscalls/umount2.S +++ b/libc/arch-arm64/syscalls/umount2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umount2) mov x8, __NR_umount2 svc #0 diff --git a/libc/arch-arm64/syscalls/uname.S b/libc/arch-arm64/syscalls/uname.S index 09ec096..4d52190 100644 --- a/libc/arch-arm64/syscalls/uname.S +++ b/libc/arch-arm64/syscalls/uname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(uname) mov x8, __NR_uname svc #0 diff --git a/libc/arch-arm64/syscalls/unlinkat.S b/libc/arch-arm64/syscalls/unlinkat.S index 992f675..8fde96e 100644 --- a/libc/arch-arm64/syscalls/unlinkat.S +++ b/libc/arch-arm64/syscalls/unlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unlinkat) mov x8, __NR_unlinkat svc #0 diff --git a/libc/arch-arm64/syscalls/unshare.S b/libc/arch-arm64/syscalls/unshare.S index 1062dcd..ba960e2 100644 --- a/libc/arch-arm64/syscalls/unshare.S +++ b/libc/arch-arm64/syscalls/unshare.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unshare) mov x8, __NR_unshare svc #0 diff --git a/libc/arch-arm64/syscalls/utimensat.S b/libc/arch-arm64/syscalls/utimensat.S index 8a25ed6..9e4b1ca 100644 --- a/libc/arch-arm64/syscalls/utimensat.S +++ b/libc/arch-arm64/syscalls/utimensat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(utimensat) mov x8, __NR_utimensat svc #0 diff --git a/libc/arch-arm64/syscalls/vmsplice.S b/libc/arch-arm64/syscalls/vmsplice.S index b4bec3f..6a13c5b 100644 --- a/libc/arch-arm64/syscalls/vmsplice.S +++ b/libc/arch-arm64/syscalls/vmsplice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(vmsplice) mov x8, __NR_vmsplice svc #0 diff --git a/libc/arch-arm64/syscalls/wait4.S b/libc/arch-arm64/syscalls/wait4.S index a0d5d62..f2bcd34 100644 --- a/libc/arch-arm64/syscalls/wait4.S +++ b/libc/arch-arm64/syscalls/wait4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(wait4) mov x8, __NR_wait4 svc #0 diff --git a/libc/arch-arm64/syscalls/write.S b/libc/arch-arm64/syscalls/write.S index d64552e..1fedabe 100644 --- a/libc/arch-arm64/syscalls/write.S +++ b/libc/arch-arm64/syscalls/write.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(write) mov x8, __NR_write svc #0 diff --git a/libc/arch-arm64/syscalls/writev.S b/libc/arch-arm64/syscalls/writev.S index 45d5c8d..9942ddb 100644 --- a/libc/arch-arm64/syscalls/writev.S +++ b/libc/arch-arm64/syscalls/writev.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(writev) mov x8, __NR_writev svc #0 diff --git a/libc/arch-mips/syscalls/__accept4.S b/libc/arch-mips/syscalls/__accept4.S index 8634a35..2fc8b2a 100644 --- a/libc/arch-mips/syscalls/__accept4.S +++ b/libc/arch-mips/syscalls/__accept4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__accept4) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__brk.S b/libc/arch-mips/syscalls/__brk.S index 9325c26..0593b4f 100644 --- a/libc/arch-mips/syscalls/__brk.S +++ b/libc/arch-mips/syscalls/__brk.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__brk) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__connect.S b/libc/arch-mips/syscalls/__connect.S index f7ac916..20f60e4 100644 --- a/libc/arch-mips/syscalls/__connect.S +++ b/libc/arch-mips/syscalls/__connect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__connect) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__epoll_pwait.S b/libc/arch-mips/syscalls/__epoll_pwait.S index a417cdd..3e735f1 100644 --- a/libc/arch-mips/syscalls/__epoll_pwait.S +++ b/libc/arch-mips/syscalls/__epoll_pwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__epoll_pwait) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__exit.S b/libc/arch-mips/syscalls/__exit.S index 1515b41..40c2f87 100644 --- a/libc/arch-mips/syscalls/__exit.S +++ b/libc/arch-mips/syscalls/__exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__exit) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__fcntl64.S b/libc/arch-mips/syscalls/__fcntl64.S index b9815a1..b541edd 100644 --- a/libc/arch-mips/syscalls/__fcntl64.S +++ b/libc/arch-mips/syscalls/__fcntl64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__fcntl64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__fstatfs64.S b/libc/arch-mips/syscalls/__fstatfs64.S index 8774a53..d1d68ab 100644 --- a/libc/arch-mips/syscalls/__fstatfs64.S +++ b/libc/arch-mips/syscalls/__fstatfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__fstatfs64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__getcpu.S b/libc/arch-mips/syscalls/__getcpu.S index 2352e01..ab3acca 100644 --- a/libc/arch-mips/syscalls/__getcpu.S +++ b/libc/arch-mips/syscalls/__getcpu.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcpu) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__getcwd.S b/libc/arch-mips/syscalls/__getcwd.S index e844f9a..af1c494 100644 --- a/libc/arch-mips/syscalls/__getcwd.S +++ b/libc/arch-mips/syscalls/__getcwd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcwd) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__getdents64.S b/libc/arch-mips/syscalls/__getdents64.S index 136b408..e88c6df 100644 --- a/libc/arch-mips/syscalls/__getdents64.S +++ b/libc/arch-mips/syscalls/__getdents64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getdents64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__getpid.S b/libc/arch-mips/syscalls/__getpid.S index 52cf6f4..d20188b 100644 --- a/libc/arch-mips/syscalls/__getpid.S +++ b/libc/arch-mips/syscalls/__getpid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__getpriority.S b/libc/arch-mips/syscalls/__getpriority.S index 882386b..bc1efb3 100644 --- a/libc/arch-mips/syscalls/__getpriority.S +++ b/libc/arch-mips/syscalls/__getpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpriority) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__ioctl.S b/libc/arch-mips/syscalls/__ioctl.S index ddf5323..28af834 100644 --- a/libc/arch-mips/syscalls/__ioctl.S +++ b/libc/arch-mips/syscalls/__ioctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ioctl) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__llseek.S b/libc/arch-mips/syscalls/__llseek.S index 10819f7..81cf459 100644 --- a/libc/arch-mips/syscalls/__llseek.S +++ b/libc/arch-mips/syscalls/__llseek.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__llseek) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__mmap2.S b/libc/arch-mips/syscalls/__mmap2.S index 5372817..e6022c3 100644 --- a/libc/arch-mips/syscalls/__mmap2.S +++ b/libc/arch-mips/syscalls/__mmap2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__mmap2) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__openat.S b/libc/arch-mips/syscalls/__openat.S index f833dd8..0482b5a 100644 --- a/libc/arch-mips/syscalls/__openat.S +++ b/libc/arch-mips/syscalls/__openat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__openat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__ppoll.S b/libc/arch-mips/syscalls/__ppoll.S index a5711d9..7cd29f6 100644 --- a/libc/arch-mips/syscalls/__ppoll.S +++ b/libc/arch-mips/syscalls/__ppoll.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ppoll) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__pselect6.S b/libc/arch-mips/syscalls/__pselect6.S index 4c0a0a5..b4279b8 100644 --- a/libc/arch-mips/syscalls/__pselect6.S +++ b/libc/arch-mips/syscalls/__pselect6.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__pselect6) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__ptrace.S b/libc/arch-mips/syscalls/__ptrace.S index fcbe529..07dcd8f 100644 --- a/libc/arch-mips/syscalls/__ptrace.S +++ b/libc/arch-mips/syscalls/__ptrace.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ptrace) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__reboot.S b/libc/arch-mips/syscalls/__reboot.S index 4aa0e7a..3a0a70b 100644 --- a/libc/arch-mips/syscalls/__reboot.S +++ b/libc/arch-mips/syscalls/__reboot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__reboot) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__rt_sigaction.S b/libc/arch-mips/syscalls/__rt_sigaction.S index 6c5bc37..858a241 100644 --- a/libc/arch-mips/syscalls/__rt_sigaction.S +++ b/libc/arch-mips/syscalls/__rt_sigaction.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigaction) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__rt_sigpending.S b/libc/arch-mips/syscalls/__rt_sigpending.S index e62f079..484da4f 100644 --- a/libc/arch-mips/syscalls/__rt_sigpending.S +++ b/libc/arch-mips/syscalls/__rt_sigpending.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigpending) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__rt_sigprocmask.S b/libc/arch-mips/syscalls/__rt_sigprocmask.S index 94ef493..5e61f52 100644 --- a/libc/arch-mips/syscalls/__rt_sigprocmask.S +++ b/libc/arch-mips/syscalls/__rt_sigprocmask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigprocmask) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__rt_sigsuspend.S b/libc/arch-mips/syscalls/__rt_sigsuspend.S index 077746f..d128caa 100644 --- a/libc/arch-mips/syscalls/__rt_sigsuspend.S +++ b/libc/arch-mips/syscalls/__rt_sigsuspend.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigsuspend) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__rt_sigtimedwait.S b/libc/arch-mips/syscalls/__rt_sigtimedwait.S index 404eab7..7e70660 100644 --- a/libc/arch-mips/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-mips/syscalls/__rt_sigtimedwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigtimedwait) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__sched_getaffinity.S b/libc/arch-mips/syscalls/__sched_getaffinity.S index da71709..f83b7ba 100644 --- a/libc/arch-mips/syscalls/__sched_getaffinity.S +++ b/libc/arch-mips/syscalls/__sched_getaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__sched_getaffinity) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__set_tid_address.S b/libc/arch-mips/syscalls/__set_tid_address.S index 146cd0d..7ec0f63 100644 --- a/libc/arch-mips/syscalls/__set_tid_address.S +++ b/libc/arch-mips/syscalls/__set_tid_address.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__set_tid_address) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__set_tls.S b/libc/arch-mips/syscalls/__set_tls.S index e5b0ca2..bb2fa6d 100644 --- a/libc/arch-mips/syscalls/__set_tls.S +++ b/libc/arch-mips/syscalls/__set_tls.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__set_tls) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__sigaction.S b/libc/arch-mips/syscalls/__sigaction.S index 03dd9da..03eb582 100644 --- a/libc/arch-mips/syscalls/__sigaction.S +++ b/libc/arch-mips/syscalls/__sigaction.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__sigaction) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__signalfd4.S b/libc/arch-mips/syscalls/__signalfd4.S index cc9b212..9b191c2 100644 --- a/libc/arch-mips/syscalls/__signalfd4.S +++ b/libc/arch-mips/syscalls/__signalfd4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__signalfd4) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__socket.S b/libc/arch-mips/syscalls/__socket.S index 6508911..9e9a926 100644 --- a/libc/arch-mips/syscalls/__socket.S +++ b/libc/arch-mips/syscalls/__socket.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__socket) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__statfs64.S b/libc/arch-mips/syscalls/__statfs64.S index 9f94e6a..5017e96 100644 --- a/libc/arch-mips/syscalls/__statfs64.S +++ b/libc/arch-mips/syscalls/__statfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__statfs64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__timer_create.S b/libc/arch-mips/syscalls/__timer_create.S index 449bd28..81cc8c4 100644 --- a/libc/arch-mips/syscalls/__timer_create.S +++ b/libc/arch-mips/syscalls/__timer_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_create) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__timer_delete.S b/libc/arch-mips/syscalls/__timer_delete.S index 7bc5e05..fddb703 100644 --- a/libc/arch-mips/syscalls/__timer_delete.S +++ b/libc/arch-mips/syscalls/__timer_delete.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_delete) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__timer_getoverrun.S b/libc/arch-mips/syscalls/__timer_getoverrun.S index 7382c91..3a7313d 100644 --- a/libc/arch-mips/syscalls/__timer_getoverrun.S +++ b/libc/arch-mips/syscalls/__timer_getoverrun.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_getoverrun) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__timer_gettime.S b/libc/arch-mips/syscalls/__timer_gettime.S index d6195b9..7b9bed7 100644 --- a/libc/arch-mips/syscalls/__timer_gettime.S +++ b/libc/arch-mips/syscalls/__timer_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_gettime) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__timer_settime.S b/libc/arch-mips/syscalls/__timer_settime.S index 9fbab86..b1198de 100644 --- a/libc/arch-mips/syscalls/__timer_settime.S +++ b/libc/arch-mips/syscalls/__timer_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_settime) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/__waitid.S b/libc/arch-mips/syscalls/__waitid.S index 4c9142e..e60da7f 100644 --- a/libc/arch-mips/syscalls/__waitid.S +++ b/libc/arch-mips/syscalls/__waitid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__waitid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/_exit.S b/libc/arch-mips/syscalls/_exit.S index f546b66..ae1d61f 100644 --- a/libc/arch-mips/syscalls/_exit.S +++ b/libc/arch-mips/syscalls/_exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(_exit) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/_flush_cache.S b/libc/arch-mips/syscalls/_flush_cache.S index 64967fe..0074578 100644 --- a/libc/arch-mips/syscalls/_flush_cache.S +++ b/libc/arch-mips/syscalls/_flush_cache.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(_flush_cache) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/acct.S b/libc/arch-mips/syscalls/acct.S index 6e4a4f2..29a7119 100644 --- a/libc/arch-mips/syscalls/acct.S +++ b/libc/arch-mips/syscalls/acct.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(acct) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/bind.S b/libc/arch-mips/syscalls/bind.S index 9119aa8..6d92fd0 100644 --- a/libc/arch-mips/syscalls/bind.S +++ b/libc/arch-mips/syscalls/bind.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(bind) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/capget.S b/libc/arch-mips/syscalls/capget.S index 549dc76..de76fa3 100644 --- a/libc/arch-mips/syscalls/capget.S +++ b/libc/arch-mips/syscalls/capget.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capget) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/capset.S b/libc/arch-mips/syscalls/capset.S index 637ac37..77fb3a7 100644 --- a/libc/arch-mips/syscalls/capset.S +++ b/libc/arch-mips/syscalls/capset.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capset) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/chdir.S b/libc/arch-mips/syscalls/chdir.S index 752e4e7..2668d69 100644 --- a/libc/arch-mips/syscalls/chdir.S +++ b/libc/arch-mips/syscalls/chdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chdir) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/chroot.S b/libc/arch-mips/syscalls/chroot.S index d1ffc97..d804c4f 100644 --- a/libc/arch-mips/syscalls/chroot.S +++ b/libc/arch-mips/syscalls/chroot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chroot) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/clock_getres.S b/libc/arch-mips/syscalls/clock_getres.S index 49d9bba..5219b32 100644 --- a/libc/arch-mips/syscalls/clock_getres.S +++ b/libc/arch-mips/syscalls/clock_getres.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_getres) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/clock_gettime.S b/libc/arch-mips/syscalls/clock_gettime.S index 42929e8..32120b1 100644 --- a/libc/arch-mips/syscalls/clock_gettime.S +++ b/libc/arch-mips/syscalls/clock_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_gettime) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/clock_nanosleep.S b/libc/arch-mips/syscalls/clock_nanosleep.S index e7c25ce..01bab5a 100644 --- a/libc/arch-mips/syscalls/clock_nanosleep.S +++ b/libc/arch-mips/syscalls/clock_nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_nanosleep) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/clock_settime.S b/libc/arch-mips/syscalls/clock_settime.S index e7dda91..6b642a1 100644 --- a/libc/arch-mips/syscalls/clock_settime.S +++ b/libc/arch-mips/syscalls/clock_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_settime) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/close.S b/libc/arch-mips/syscalls/close.S index bc2c325..4e3ab67 100644 --- a/libc/arch-mips/syscalls/close.S +++ b/libc/arch-mips/syscalls/close.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(close) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/delete_module.S b/libc/arch-mips/syscalls/delete_module.S index 9247f5a..5c84930 100644 --- a/libc/arch-mips/syscalls/delete_module.S +++ b/libc/arch-mips/syscalls/delete_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(delete_module) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/dup.S b/libc/arch-mips/syscalls/dup.S index 61b1c03..6969553 100644 --- a/libc/arch-mips/syscalls/dup.S +++ b/libc/arch-mips/syscalls/dup.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/dup3.S b/libc/arch-mips/syscalls/dup3.S index d0694e8..39e403d 100644 --- a/libc/arch-mips/syscalls/dup3.S +++ b/libc/arch-mips/syscalls/dup3.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup3) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/epoll_create1.S b/libc/arch-mips/syscalls/epoll_create1.S index 2043f39..6feb715 100644 --- a/libc/arch-mips/syscalls/epoll_create1.S +++ b/libc/arch-mips/syscalls/epoll_create1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_create1) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/epoll_ctl.S b/libc/arch-mips/syscalls/epoll_ctl.S index 9474d3a..4517ea1 100644 --- a/libc/arch-mips/syscalls/epoll_ctl.S +++ b/libc/arch-mips/syscalls/epoll_ctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_ctl) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/eventfd.S b/libc/arch-mips/syscalls/eventfd.S index 5282a91..167a851 100644 --- a/libc/arch-mips/syscalls/eventfd.S +++ b/libc/arch-mips/syscalls/eventfd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(eventfd) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/execve.S b/libc/arch-mips/syscalls/execve.S index fcaec0a..e6f3af6 100644 --- a/libc/arch-mips/syscalls/execve.S +++ b/libc/arch-mips/syscalls/execve.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(execve) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/faccessat.S b/libc/arch-mips/syscalls/faccessat.S index e7afe2a..3bf7717 100644 --- a/libc/arch-mips/syscalls/faccessat.S +++ b/libc/arch-mips/syscalls/faccessat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(faccessat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fallocate64.S b/libc/arch-mips/syscalls/fallocate64.S index d814606..5395c6f 100644 --- a/libc/arch-mips/syscalls/fallocate64.S +++ b/libc/arch-mips/syscalls/fallocate64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fallocate64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fchdir.S b/libc/arch-mips/syscalls/fchdir.S index daac0f5..4a5c1e3 100644 --- a/libc/arch-mips/syscalls/fchdir.S +++ b/libc/arch-mips/syscalls/fchdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchdir) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fchmod.S b/libc/arch-mips/syscalls/fchmod.S index e947e41..78dc3f7 100644 --- a/libc/arch-mips/syscalls/fchmod.S +++ b/libc/arch-mips/syscalls/fchmod.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmod) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fchmodat.S b/libc/arch-mips/syscalls/fchmodat.S index 4d2a7d3..ebc3a74 100644 --- a/libc/arch-mips/syscalls/fchmodat.S +++ b/libc/arch-mips/syscalls/fchmodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmodat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fchown.S b/libc/arch-mips/syscalls/fchown.S index f59c0f4..74956e0 100644 --- a/libc/arch-mips/syscalls/fchown.S +++ b/libc/arch-mips/syscalls/fchown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchown) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fchownat.S b/libc/arch-mips/syscalls/fchownat.S index af44cbc..54d1fde 100644 --- a/libc/arch-mips/syscalls/fchownat.S +++ b/libc/arch-mips/syscalls/fchownat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchownat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fdatasync.S b/libc/arch-mips/syscalls/fdatasync.S index 07e3592..f2d1b1f 100644 --- a/libc/arch-mips/syscalls/fdatasync.S +++ b/libc/arch-mips/syscalls/fdatasync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fdatasync) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fgetxattr.S b/libc/arch-mips/syscalls/fgetxattr.S index 035e71c..096cd97 100644 --- a/libc/arch-mips/syscalls/fgetxattr.S +++ b/libc/arch-mips/syscalls/fgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fgetxattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/flistxattr.S b/libc/arch-mips/syscalls/flistxattr.S index 500cd97..b577e57 100644 --- a/libc/arch-mips/syscalls/flistxattr.S +++ b/libc/arch-mips/syscalls/flistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flistxattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/flock.S b/libc/arch-mips/syscalls/flock.S index 7d843ab..87e9e04 100644 --- a/libc/arch-mips/syscalls/flock.S +++ b/libc/arch-mips/syscalls/flock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flock) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fremovexattr.S b/libc/arch-mips/syscalls/fremovexattr.S index 9f16186..8f7e74e 100644 --- a/libc/arch-mips/syscalls/fremovexattr.S +++ b/libc/arch-mips/syscalls/fremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fremovexattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fsetxattr.S b/libc/arch-mips/syscalls/fsetxattr.S index 0347128..e9a3490 100644 --- a/libc/arch-mips/syscalls/fsetxattr.S +++ b/libc/arch-mips/syscalls/fsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsetxattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fstat64.S b/libc/arch-mips/syscalls/fstat64.S index 7228541..c6d2a32 100644 --- a/libc/arch-mips/syscalls/fstat64.S +++ b/libc/arch-mips/syscalls/fstat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstat64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fstatat64.S b/libc/arch-mips/syscalls/fstatat64.S index b2903f2..2418b02 100644 --- a/libc/arch-mips/syscalls/fstatat64.S +++ b/libc/arch-mips/syscalls/fstatat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstatat64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/fsync.S b/libc/arch-mips/syscalls/fsync.S index 96b417d..c5528dc 100644 --- a/libc/arch-mips/syscalls/fsync.S +++ b/libc/arch-mips/syscalls/fsync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsync) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/ftruncate.S b/libc/arch-mips/syscalls/ftruncate.S index bd428fb..dfd57a9 100644 --- a/libc/arch-mips/syscalls/ftruncate.S +++ b/libc/arch-mips/syscalls/ftruncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(ftruncate) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/ftruncate64.S b/libc/arch-mips/syscalls/ftruncate64.S index 357e9a5..a1df9e8 100644 --- a/libc/arch-mips/syscalls/ftruncate64.S +++ b/libc/arch-mips/syscalls/ftruncate64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(ftruncate64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getegid.S b/libc/arch-mips/syscalls/getegid.S index c3a3ac0..10f102c 100644 --- a/libc/arch-mips/syscalls/getegid.S +++ b/libc/arch-mips/syscalls/getegid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getegid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/geteuid.S b/libc/arch-mips/syscalls/geteuid.S index 66e6d4f..bac3b74 100644 --- a/libc/arch-mips/syscalls/geteuid.S +++ b/libc/arch-mips/syscalls/geteuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(geteuid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getgid.S b/libc/arch-mips/syscalls/getgid.S index 674d527..a1814bb 100644 --- a/libc/arch-mips/syscalls/getgid.S +++ b/libc/arch-mips/syscalls/getgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getgroups.S b/libc/arch-mips/syscalls/getgroups.S index caa031b..51ed523 100644 --- a/libc/arch-mips/syscalls/getgroups.S +++ b/libc/arch-mips/syscalls/getgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgroups) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getitimer.S b/libc/arch-mips/syscalls/getitimer.S index e7a655a..1afeee4 100644 --- a/libc/arch-mips/syscalls/getitimer.S +++ b/libc/arch-mips/syscalls/getitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getitimer) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getpeername.S b/libc/arch-mips/syscalls/getpeername.S index 31df8ad..b6e5f07 100644 --- a/libc/arch-mips/syscalls/getpeername.S +++ b/libc/arch-mips/syscalls/getpeername.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpeername) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getpgid.S b/libc/arch-mips/syscalls/getpgid.S index 7e3e439..01c6ec5 100644 --- a/libc/arch-mips/syscalls/getpgid.S +++ b/libc/arch-mips/syscalls/getpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpgid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getppid.S b/libc/arch-mips/syscalls/getppid.S index 3d76fc2..9ed04c0 100644 --- a/libc/arch-mips/syscalls/getppid.S +++ b/libc/arch-mips/syscalls/getppid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getppid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getresgid.S b/libc/arch-mips/syscalls/getresgid.S index 235902a..a2e16d4 100644 --- a/libc/arch-mips/syscalls/getresgid.S +++ b/libc/arch-mips/syscalls/getresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresgid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getresuid.S b/libc/arch-mips/syscalls/getresuid.S index c6c4c13..ff162e0 100644 --- a/libc/arch-mips/syscalls/getresuid.S +++ b/libc/arch-mips/syscalls/getresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresuid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getrlimit.S b/libc/arch-mips/syscalls/getrlimit.S index ef4ae89..1632f4d 100644 --- a/libc/arch-mips/syscalls/getrlimit.S +++ b/libc/arch-mips/syscalls/getrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrlimit) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getrusage.S b/libc/arch-mips/syscalls/getrusage.S index 21cabfa..b9c4207 100644 --- a/libc/arch-mips/syscalls/getrusage.S +++ b/libc/arch-mips/syscalls/getrusage.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrusage) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getsid.S b/libc/arch-mips/syscalls/getsid.S index b0b21a0..cb56f54 100644 --- a/libc/arch-mips/syscalls/getsid.S +++ b/libc/arch-mips/syscalls/getsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getsockname.S b/libc/arch-mips/syscalls/getsockname.S index 82d0b83..f7bff60 100644 --- a/libc/arch-mips/syscalls/getsockname.S +++ b/libc/arch-mips/syscalls/getsockname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockname) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getsockopt.S b/libc/arch-mips/syscalls/getsockopt.S index ad360e3..1490aa3 100644 --- a/libc/arch-mips/syscalls/getsockopt.S +++ b/libc/arch-mips/syscalls/getsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockopt) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/gettimeofday.S b/libc/arch-mips/syscalls/gettimeofday.S index e66fd77..a72ced6 100644 --- a/libc/arch-mips/syscalls/gettimeofday.S +++ b/libc/arch-mips/syscalls/gettimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(gettimeofday) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getuid.S b/libc/arch-mips/syscalls/getuid.S index 345af71..290a701 100644 --- a/libc/arch-mips/syscalls/getuid.S +++ b/libc/arch-mips/syscalls/getuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getuid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/getxattr.S b/libc/arch-mips/syscalls/getxattr.S index c7e215e..6ed4316 100644 --- a/libc/arch-mips/syscalls/getxattr.S +++ b/libc/arch-mips/syscalls/getxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getxattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/init_module.S b/libc/arch-mips/syscalls/init_module.S index 21ba5b1..6caf450 100644 --- a/libc/arch-mips/syscalls/init_module.S +++ b/libc/arch-mips/syscalls/init_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(init_module) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/inotify_add_watch.S b/libc/arch-mips/syscalls/inotify_add_watch.S index beb70ec..8464f8f 100644 --- a/libc/arch-mips/syscalls/inotify_add_watch.S +++ b/libc/arch-mips/syscalls/inotify_add_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_add_watch) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/inotify_init1.S b/libc/arch-mips/syscalls/inotify_init1.S index 6c825c6..b6cb6bc 100644 --- a/libc/arch-mips/syscalls/inotify_init1.S +++ b/libc/arch-mips/syscalls/inotify_init1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_init1) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/inotify_rm_watch.S b/libc/arch-mips/syscalls/inotify_rm_watch.S index 280f2b4..87a396a 100644 --- a/libc/arch-mips/syscalls/inotify_rm_watch.S +++ b/libc/arch-mips/syscalls/inotify_rm_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_rm_watch) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/kill.S b/libc/arch-mips/syscalls/kill.S index 0941717..3dda006 100644 --- a/libc/arch-mips/syscalls/kill.S +++ b/libc/arch-mips/syscalls/kill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(kill) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/klogctl.S b/libc/arch-mips/syscalls/klogctl.S index ebc8837..ae9a445 100644 --- a/libc/arch-mips/syscalls/klogctl.S +++ b/libc/arch-mips/syscalls/klogctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(klogctl) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/lgetxattr.S b/libc/arch-mips/syscalls/lgetxattr.S index 8c4a252..63c5add 100644 --- a/libc/arch-mips/syscalls/lgetxattr.S +++ b/libc/arch-mips/syscalls/lgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lgetxattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/linkat.S b/libc/arch-mips/syscalls/linkat.S index cc7278d..5bea417 100644 --- a/libc/arch-mips/syscalls/linkat.S +++ b/libc/arch-mips/syscalls/linkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(linkat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/listen.S b/libc/arch-mips/syscalls/listen.S index 68eba52..8d945f5 100644 --- a/libc/arch-mips/syscalls/listen.S +++ b/libc/arch-mips/syscalls/listen.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listen) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/listxattr.S b/libc/arch-mips/syscalls/listxattr.S index 006bfce..260d089 100644 --- a/libc/arch-mips/syscalls/listxattr.S +++ b/libc/arch-mips/syscalls/listxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listxattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/llistxattr.S b/libc/arch-mips/syscalls/llistxattr.S index 7f833ad..69474d8 100644 --- a/libc/arch-mips/syscalls/llistxattr.S +++ b/libc/arch-mips/syscalls/llistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(llistxattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/lremovexattr.S b/libc/arch-mips/syscalls/lremovexattr.S index 21d00ea..e33f31f 100644 --- a/libc/arch-mips/syscalls/lremovexattr.S +++ b/libc/arch-mips/syscalls/lremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lremovexattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/lseek.S b/libc/arch-mips/syscalls/lseek.S index 82c2776..21abe1c 100644 --- a/libc/arch-mips/syscalls/lseek.S +++ b/libc/arch-mips/syscalls/lseek.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lseek) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/lsetxattr.S b/libc/arch-mips/syscalls/lsetxattr.S index d54ec69..dcd510a 100644 --- a/libc/arch-mips/syscalls/lsetxattr.S +++ b/libc/arch-mips/syscalls/lsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lsetxattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/madvise.S b/libc/arch-mips/syscalls/madvise.S index 9aa2815..49c007a 100644 --- a/libc/arch-mips/syscalls/madvise.S +++ b/libc/arch-mips/syscalls/madvise.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(madvise) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/mincore.S b/libc/arch-mips/syscalls/mincore.S index 0db4313..07102a6 100644 --- a/libc/arch-mips/syscalls/mincore.S +++ b/libc/arch-mips/syscalls/mincore.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mincore) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/mkdirat.S b/libc/arch-mips/syscalls/mkdirat.S index 0ac98d4..96a2d08 100644 --- a/libc/arch-mips/syscalls/mkdirat.S +++ b/libc/arch-mips/syscalls/mkdirat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mkdirat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/mknodat.S b/libc/arch-mips/syscalls/mknodat.S index b85d8bf..a88b906 100644 --- a/libc/arch-mips/syscalls/mknodat.S +++ b/libc/arch-mips/syscalls/mknodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mknodat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/mlock.S b/libc/arch-mips/syscalls/mlock.S index 0ba2bca..eff66b8 100644 --- a/libc/arch-mips/syscalls/mlock.S +++ b/libc/arch-mips/syscalls/mlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlock) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/mlockall.S b/libc/arch-mips/syscalls/mlockall.S index 642c6e2..c31eeaf 100644 --- a/libc/arch-mips/syscalls/mlockall.S +++ b/libc/arch-mips/syscalls/mlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlockall) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/mount.S b/libc/arch-mips/syscalls/mount.S index f0c5f6b..cb1f1d1 100644 --- a/libc/arch-mips/syscalls/mount.S +++ b/libc/arch-mips/syscalls/mount.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mount) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/mprotect.S b/libc/arch-mips/syscalls/mprotect.S index c0ce988..4e390eb 100644 --- a/libc/arch-mips/syscalls/mprotect.S +++ b/libc/arch-mips/syscalls/mprotect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mprotect) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/mremap.S b/libc/arch-mips/syscalls/mremap.S index bd4c385..7b9a68a 100644 --- a/libc/arch-mips/syscalls/mremap.S +++ b/libc/arch-mips/syscalls/mremap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mremap) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/msync.S b/libc/arch-mips/syscalls/msync.S index e8ecb2a..7b19a83 100644 --- a/libc/arch-mips/syscalls/msync.S +++ b/libc/arch-mips/syscalls/msync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(msync) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/munlock.S b/libc/arch-mips/syscalls/munlock.S index f8ddc3a..17dc719 100644 --- a/libc/arch-mips/syscalls/munlock.S +++ b/libc/arch-mips/syscalls/munlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlock) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/munlockall.S b/libc/arch-mips/syscalls/munlockall.S index 5ced5c6..f0dc2d4 100644 --- a/libc/arch-mips/syscalls/munlockall.S +++ b/libc/arch-mips/syscalls/munlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlockall) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/munmap.S b/libc/arch-mips/syscalls/munmap.S index 527825c..dc3a524 100644 --- a/libc/arch-mips/syscalls/munmap.S +++ b/libc/arch-mips/syscalls/munmap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munmap) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/nanosleep.S b/libc/arch-mips/syscalls/nanosleep.S index 8dc816a..fa74288 100644 --- a/libc/arch-mips/syscalls/nanosleep.S +++ b/libc/arch-mips/syscalls/nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(nanosleep) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/personality.S b/libc/arch-mips/syscalls/personality.S index e8449a7..467f2ec 100644 --- a/libc/arch-mips/syscalls/personality.S +++ b/libc/arch-mips/syscalls/personality.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(personality) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/pipe2.S b/libc/arch-mips/syscalls/pipe2.S index 478d364..c505956 100644 --- a/libc/arch-mips/syscalls/pipe2.S +++ b/libc/arch-mips/syscalls/pipe2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pipe2) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/prctl.S b/libc/arch-mips/syscalls/prctl.S index e9aff3c..60c18be 100644 --- a/libc/arch-mips/syscalls/prctl.S +++ b/libc/arch-mips/syscalls/prctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prctl) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/pread64.S b/libc/arch-mips/syscalls/pread64.S index 55a54c6..debc558 100644 --- a/libc/arch-mips/syscalls/pread64.S +++ b/libc/arch-mips/syscalls/pread64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pread64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/prlimit64.S b/libc/arch-mips/syscalls/prlimit64.S index c695d18..ce1686f 100644 --- a/libc/arch-mips/syscalls/prlimit64.S +++ b/libc/arch-mips/syscalls/prlimit64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prlimit64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/pwrite64.S b/libc/arch-mips/syscalls/pwrite64.S index 64d3ee1..b1ff89b 100644 --- a/libc/arch-mips/syscalls/pwrite64.S +++ b/libc/arch-mips/syscalls/pwrite64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pwrite64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/read.S b/libc/arch-mips/syscalls/read.S index ff548ab..d98c9a6 100644 --- a/libc/arch-mips/syscalls/read.S +++ b/libc/arch-mips/syscalls/read.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(read) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/readahead.S b/libc/arch-mips/syscalls/readahead.S index 674286a..7dd4473 100644 --- a/libc/arch-mips/syscalls/readahead.S +++ b/libc/arch-mips/syscalls/readahead.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readahead) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/readlinkat.S b/libc/arch-mips/syscalls/readlinkat.S index a1c7d6b..99f07a4 100644 --- a/libc/arch-mips/syscalls/readlinkat.S +++ b/libc/arch-mips/syscalls/readlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readlinkat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/readv.S b/libc/arch-mips/syscalls/readv.S index af5a4cb..3985c9c 100644 --- a/libc/arch-mips/syscalls/readv.S +++ b/libc/arch-mips/syscalls/readv.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readv) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/recvfrom.S b/libc/arch-mips/syscalls/recvfrom.S index 04b04f6..afda11e 100644 --- a/libc/arch-mips/syscalls/recvfrom.S +++ b/libc/arch-mips/syscalls/recvfrom.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvfrom) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/recvmmsg.S b/libc/arch-mips/syscalls/recvmmsg.S index 23e511b..1122c01 100644 --- a/libc/arch-mips/syscalls/recvmmsg.S +++ b/libc/arch-mips/syscalls/recvmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmmsg) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/recvmsg.S b/libc/arch-mips/syscalls/recvmsg.S index a0a3a3f..a64606b 100644 --- a/libc/arch-mips/syscalls/recvmsg.S +++ b/libc/arch-mips/syscalls/recvmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmsg) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/removexattr.S b/libc/arch-mips/syscalls/removexattr.S index 0f72ebf..a356160 100644 --- a/libc/arch-mips/syscalls/removexattr.S +++ b/libc/arch-mips/syscalls/removexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(removexattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/renameat.S b/libc/arch-mips/syscalls/renameat.S index 210b439..63de839 100644 --- a/libc/arch-mips/syscalls/renameat.S +++ b/libc/arch-mips/syscalls/renameat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(renameat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sched_get_priority_max.S b/libc/arch-mips/syscalls/sched_get_priority_max.S index d15a868..ea88c0f 100644 --- a/libc/arch-mips/syscalls/sched_get_priority_max.S +++ b/libc/arch-mips/syscalls/sched_get_priority_max.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_max) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sched_get_priority_min.S b/libc/arch-mips/syscalls/sched_get_priority_min.S index 5ff21c6..0320847 100644 --- a/libc/arch-mips/syscalls/sched_get_priority_min.S +++ b/libc/arch-mips/syscalls/sched_get_priority_min.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_min) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sched_getparam.S b/libc/arch-mips/syscalls/sched_getparam.S index 1cbe720..4be69b3 100644 --- a/libc/arch-mips/syscalls/sched_getparam.S +++ b/libc/arch-mips/syscalls/sched_getparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getparam) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sched_getscheduler.S b/libc/arch-mips/syscalls/sched_getscheduler.S index 88b16e0..aaf0e91 100644 --- a/libc/arch-mips/syscalls/sched_getscheduler.S +++ b/libc/arch-mips/syscalls/sched_getscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getscheduler) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sched_rr_get_interval.S b/libc/arch-mips/syscalls/sched_rr_get_interval.S index 647ee3c..fcf2bcb 100644 --- a/libc/arch-mips/syscalls/sched_rr_get_interval.S +++ b/libc/arch-mips/syscalls/sched_rr_get_interval.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_rr_get_interval) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sched_setaffinity.S b/libc/arch-mips/syscalls/sched_setaffinity.S index 1184766..b9394c5 100644 --- a/libc/arch-mips/syscalls/sched_setaffinity.S +++ b/libc/arch-mips/syscalls/sched_setaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setaffinity) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sched_setparam.S b/libc/arch-mips/syscalls/sched_setparam.S index 1811c74..90c82fe 100644 --- a/libc/arch-mips/syscalls/sched_setparam.S +++ b/libc/arch-mips/syscalls/sched_setparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setparam) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sched_setscheduler.S b/libc/arch-mips/syscalls/sched_setscheduler.S index 8921d30..05e4e8b 100644 --- a/libc/arch-mips/syscalls/sched_setscheduler.S +++ b/libc/arch-mips/syscalls/sched_setscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setscheduler) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sched_yield.S b/libc/arch-mips/syscalls/sched_yield.S index 37f09be..1556580 100644 --- a/libc/arch-mips/syscalls/sched_yield.S +++ b/libc/arch-mips/syscalls/sched_yield.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_yield) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sendfile.S b/libc/arch-mips/syscalls/sendfile.S index 84466b9..eb99d09 100644 --- a/libc/arch-mips/syscalls/sendfile.S +++ b/libc/arch-mips/syscalls/sendfile.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendfile) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sendfile64.S b/libc/arch-mips/syscalls/sendfile64.S index d9733f6..1d5c5f0 100644 --- a/libc/arch-mips/syscalls/sendfile64.S +++ b/libc/arch-mips/syscalls/sendfile64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendfile64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sendmmsg.S b/libc/arch-mips/syscalls/sendmmsg.S index d99ba93..16f37a1 100644 --- a/libc/arch-mips/syscalls/sendmmsg.S +++ b/libc/arch-mips/syscalls/sendmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmmsg) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sendmsg.S b/libc/arch-mips/syscalls/sendmsg.S index 5c37c62..31bb563 100644 --- a/libc/arch-mips/syscalls/sendmsg.S +++ b/libc/arch-mips/syscalls/sendmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmsg) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sendto.S b/libc/arch-mips/syscalls/sendto.S index 580d142..2ba696d 100644 --- a/libc/arch-mips/syscalls/sendto.S +++ b/libc/arch-mips/syscalls/sendto.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendto) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setfsgid.S b/libc/arch-mips/syscalls/setfsgid.S index 6a59565..81d33d0 100644 --- a/libc/arch-mips/syscalls/setfsgid.S +++ b/libc/arch-mips/syscalls/setfsgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsgid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setfsuid.S b/libc/arch-mips/syscalls/setfsuid.S index 1c2317a..6889077 100644 --- a/libc/arch-mips/syscalls/setfsuid.S +++ b/libc/arch-mips/syscalls/setfsuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsuid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setgid.S b/libc/arch-mips/syscalls/setgid.S index 8fa188e..83649da 100644 --- a/libc/arch-mips/syscalls/setgid.S +++ b/libc/arch-mips/syscalls/setgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setgroups.S b/libc/arch-mips/syscalls/setgroups.S index f2d271c..b98608c 100644 --- a/libc/arch-mips/syscalls/setgroups.S +++ b/libc/arch-mips/syscalls/setgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgroups) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setitimer.S b/libc/arch-mips/syscalls/setitimer.S index a2eea84..dc9a8f3 100644 --- a/libc/arch-mips/syscalls/setitimer.S +++ b/libc/arch-mips/syscalls/setitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setitimer) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setns.S b/libc/arch-mips/syscalls/setns.S index 8a4f674..9a4939d 100644 --- a/libc/arch-mips/syscalls/setns.S +++ b/libc/arch-mips/syscalls/setns.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setns) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setpgid.S b/libc/arch-mips/syscalls/setpgid.S index c68f9a6..cbc1ff3 100644 --- a/libc/arch-mips/syscalls/setpgid.S +++ b/libc/arch-mips/syscalls/setpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpgid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setpriority.S b/libc/arch-mips/syscalls/setpriority.S index 2bf9f47..6b8a504 100644 --- a/libc/arch-mips/syscalls/setpriority.S +++ b/libc/arch-mips/syscalls/setpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpriority) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setregid.S b/libc/arch-mips/syscalls/setregid.S index de77e39..6388784 100644 --- a/libc/arch-mips/syscalls/setregid.S +++ b/libc/arch-mips/syscalls/setregid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setregid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setresgid.S b/libc/arch-mips/syscalls/setresgid.S index b2fd85f..76968a8 100644 --- a/libc/arch-mips/syscalls/setresgid.S +++ b/libc/arch-mips/syscalls/setresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresgid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setresuid.S b/libc/arch-mips/syscalls/setresuid.S index ad9ea9b..fae15f8 100644 --- a/libc/arch-mips/syscalls/setresuid.S +++ b/libc/arch-mips/syscalls/setresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresuid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setreuid.S b/libc/arch-mips/syscalls/setreuid.S index 888d219..8350cb7 100644 --- a/libc/arch-mips/syscalls/setreuid.S +++ b/libc/arch-mips/syscalls/setreuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setreuid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setrlimit.S b/libc/arch-mips/syscalls/setrlimit.S index 71b49ac..d708c2d 100644 --- a/libc/arch-mips/syscalls/setrlimit.S +++ b/libc/arch-mips/syscalls/setrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setrlimit) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setsid.S b/libc/arch-mips/syscalls/setsid.S index 9467a08..cb5838d 100644 --- a/libc/arch-mips/syscalls/setsid.S +++ b/libc/arch-mips/syscalls/setsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setsockopt.S b/libc/arch-mips/syscalls/setsockopt.S index e8dd3f6..da348f1 100644 --- a/libc/arch-mips/syscalls/setsockopt.S +++ b/libc/arch-mips/syscalls/setsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsockopt) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/settimeofday.S b/libc/arch-mips/syscalls/settimeofday.S index b9b588f..cd52b40 100644 --- a/libc/arch-mips/syscalls/settimeofday.S +++ b/libc/arch-mips/syscalls/settimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(settimeofday) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setuid.S b/libc/arch-mips/syscalls/setuid.S index 55c75c1..a80ec5c 100644 --- a/libc/arch-mips/syscalls/setuid.S +++ b/libc/arch-mips/syscalls/setuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setuid) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/setxattr.S b/libc/arch-mips/syscalls/setxattr.S index 0cca64c..df7bcdb 100644 --- a/libc/arch-mips/syscalls/setxattr.S +++ b/libc/arch-mips/syscalls/setxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setxattr) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/shutdown.S b/libc/arch-mips/syscalls/shutdown.S index f6e9979..71e6366 100644 --- a/libc/arch-mips/syscalls/shutdown.S +++ b/libc/arch-mips/syscalls/shutdown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(shutdown) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sigaltstack.S b/libc/arch-mips/syscalls/sigaltstack.S index 6632164..b52c60a 100644 --- a/libc/arch-mips/syscalls/sigaltstack.S +++ b/libc/arch-mips/syscalls/sigaltstack.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sigaltstack) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/socketpair.S b/libc/arch-mips/syscalls/socketpair.S index 6257327..47223e1 100644 --- a/libc/arch-mips/syscalls/socketpair.S +++ b/libc/arch-mips/syscalls/socketpair.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(socketpair) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/splice.S b/libc/arch-mips/syscalls/splice.S index d344a6c..611a062 100644 --- a/libc/arch-mips/syscalls/splice.S +++ b/libc/arch-mips/syscalls/splice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(splice) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/swapoff.S b/libc/arch-mips/syscalls/swapoff.S index 04b5b70..8b57068 100644 --- a/libc/arch-mips/syscalls/swapoff.S +++ b/libc/arch-mips/syscalls/swapoff.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapoff) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/swapon.S b/libc/arch-mips/syscalls/swapon.S index 1fe3698..ef3a537 100644 --- a/libc/arch-mips/syscalls/swapon.S +++ b/libc/arch-mips/syscalls/swapon.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapon) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/symlinkat.S b/libc/arch-mips/syscalls/symlinkat.S index 5bd6e6c..65971a9 100644 --- a/libc/arch-mips/syscalls/symlinkat.S +++ b/libc/arch-mips/syscalls/symlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(symlinkat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sync.S b/libc/arch-mips/syscalls/sync.S index eb788f0..d62ae76 100644 --- a/libc/arch-mips/syscalls/sync.S +++ b/libc/arch-mips/syscalls/sync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sync) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/sysinfo.S b/libc/arch-mips/syscalls/sysinfo.S index 7cdccb9..600e086 100644 --- a/libc/arch-mips/syscalls/sysinfo.S +++ b/libc/arch-mips/syscalls/sysinfo.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sysinfo) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/tee.S b/libc/arch-mips/syscalls/tee.S index e51732d..90ec911 100644 --- a/libc/arch-mips/syscalls/tee.S +++ b/libc/arch-mips/syscalls/tee.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tee) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/tgkill.S b/libc/arch-mips/syscalls/tgkill.S index 9938843..39a148b 100644 --- a/libc/arch-mips/syscalls/tgkill.S +++ b/libc/arch-mips/syscalls/tgkill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tgkill) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/timerfd_create.S b/libc/arch-mips/syscalls/timerfd_create.S index c42f4e1..b50903a 100644 --- a/libc/arch-mips/syscalls/timerfd_create.S +++ b/libc/arch-mips/syscalls/timerfd_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_create) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/timerfd_gettime.S b/libc/arch-mips/syscalls/timerfd_gettime.S index 469d174..97d3045 100644 --- a/libc/arch-mips/syscalls/timerfd_gettime.S +++ b/libc/arch-mips/syscalls/timerfd_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_gettime) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/timerfd_settime.S b/libc/arch-mips/syscalls/timerfd_settime.S index c7c6f47..1e56f86 100644 --- a/libc/arch-mips/syscalls/timerfd_settime.S +++ b/libc/arch-mips/syscalls/timerfd_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_settime) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/times.S b/libc/arch-mips/syscalls/times.S index 157b34c..60904d1 100644 --- a/libc/arch-mips/syscalls/times.S +++ b/libc/arch-mips/syscalls/times.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(times) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/truncate.S b/libc/arch-mips/syscalls/truncate.S index 7fe4a0f..ec7bc49 100644 --- a/libc/arch-mips/syscalls/truncate.S +++ b/libc/arch-mips/syscalls/truncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(truncate) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/truncate64.S b/libc/arch-mips/syscalls/truncate64.S index 0911f5f..b6a0234 100644 --- a/libc/arch-mips/syscalls/truncate64.S +++ b/libc/arch-mips/syscalls/truncate64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(truncate64) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/umask.S b/libc/arch-mips/syscalls/umask.S index 57a6aed..8f66e77 100644 --- a/libc/arch-mips/syscalls/umask.S +++ b/libc/arch-mips/syscalls/umask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umask) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/umount2.S b/libc/arch-mips/syscalls/umount2.S index bf8267d..58e31f3 100644 --- a/libc/arch-mips/syscalls/umount2.S +++ b/libc/arch-mips/syscalls/umount2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umount2) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/uname.S b/libc/arch-mips/syscalls/uname.S index ce77bd5..401d139 100644 --- a/libc/arch-mips/syscalls/uname.S +++ b/libc/arch-mips/syscalls/uname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(uname) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/unlinkat.S b/libc/arch-mips/syscalls/unlinkat.S index 82e584b..b6e849d 100644 --- a/libc/arch-mips/syscalls/unlinkat.S +++ b/libc/arch-mips/syscalls/unlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unlinkat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/unshare.S b/libc/arch-mips/syscalls/unshare.S index 0521f30..5262832 100644 --- a/libc/arch-mips/syscalls/unshare.S +++ b/libc/arch-mips/syscalls/unshare.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unshare) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/utimensat.S b/libc/arch-mips/syscalls/utimensat.S index 208ef58..9ecb5c0 100644 --- a/libc/arch-mips/syscalls/utimensat.S +++ b/libc/arch-mips/syscalls/utimensat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(utimensat) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/vmsplice.S b/libc/arch-mips/syscalls/vmsplice.S index 24da515..5ad23a6 100644 --- a/libc/arch-mips/syscalls/vmsplice.S +++ b/libc/arch-mips/syscalls/vmsplice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(vmsplice) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/wait4.S b/libc/arch-mips/syscalls/wait4.S index ec6bd84..8f8d879 100644 --- a/libc/arch-mips/syscalls/wait4.S +++ b/libc/arch-mips/syscalls/wait4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(wait4) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/write.S b/libc/arch-mips/syscalls/write.S index d10e55a..3e37919 100644 --- a/libc/arch-mips/syscalls/write.S +++ b/libc/arch-mips/syscalls/write.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(write) .set noreorder .cpload t9 diff --git a/libc/arch-mips/syscalls/writev.S b/libc/arch-mips/syscalls/writev.S index 0a2c033..72ea2f2 100644 --- a/libc/arch-mips/syscalls/writev.S +++ b/libc/arch-mips/syscalls/writev.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(writev) .set noreorder .cpload t9 diff --git a/libc/arch-mips64/syscalls/__accept4.S b/libc/arch-mips64/syscalls/__accept4.S index e68bdb6..0891d7f 100644 --- a/libc/arch-mips64/syscalls/__accept4.S +++ b/libc/arch-mips64/syscalls/__accept4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__accept4) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__brk.S b/libc/arch-mips64/syscalls/__brk.S index 99a108a..86f390c 100644 --- a/libc/arch-mips64/syscalls/__brk.S +++ b/libc/arch-mips64/syscalls/__brk.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__brk) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__connect.S b/libc/arch-mips64/syscalls/__connect.S index b1475fb..2efbb2a 100644 --- a/libc/arch-mips64/syscalls/__connect.S +++ b/libc/arch-mips64/syscalls/__connect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__connect) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__epoll_pwait.S b/libc/arch-mips64/syscalls/__epoll_pwait.S index fc3867a..430d9bb 100644 --- a/libc/arch-mips64/syscalls/__epoll_pwait.S +++ b/libc/arch-mips64/syscalls/__epoll_pwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__epoll_pwait) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__exit.S b/libc/arch-mips64/syscalls/__exit.S index dac53b9..ebee0d1 100644 --- a/libc/arch-mips64/syscalls/__exit.S +++ b/libc/arch-mips64/syscalls/__exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__exit) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__getcpu.S b/libc/arch-mips64/syscalls/__getcpu.S index 9c08710..34a8acb 100644 --- a/libc/arch-mips64/syscalls/__getcpu.S +++ b/libc/arch-mips64/syscalls/__getcpu.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcpu) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__getcwd.S b/libc/arch-mips64/syscalls/__getcwd.S index 79fbca3..e7a09a6 100644 --- a/libc/arch-mips64/syscalls/__getcwd.S +++ b/libc/arch-mips64/syscalls/__getcwd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcwd) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__getdents64.S b/libc/arch-mips64/syscalls/__getdents64.S index 6df556a..dc51e72 100644 --- a/libc/arch-mips64/syscalls/__getdents64.S +++ b/libc/arch-mips64/syscalls/__getdents64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getdents64) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__getpid.S b/libc/arch-mips64/syscalls/__getpid.S index 0977ff0..86b4071 100644 --- a/libc/arch-mips64/syscalls/__getpid.S +++ b/libc/arch-mips64/syscalls/__getpid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__getpriority.S b/libc/arch-mips64/syscalls/__getpriority.S index 6ca2e1f..f0c7267 100644 --- a/libc/arch-mips64/syscalls/__getpriority.S +++ b/libc/arch-mips64/syscalls/__getpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpriority) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__ioctl.S b/libc/arch-mips64/syscalls/__ioctl.S index 013ce18..1f94075 100644 --- a/libc/arch-mips64/syscalls/__ioctl.S +++ b/libc/arch-mips64/syscalls/__ioctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ioctl) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__openat.S b/libc/arch-mips64/syscalls/__openat.S index 1d46ef6..6cc56da 100644 --- a/libc/arch-mips64/syscalls/__openat.S +++ b/libc/arch-mips64/syscalls/__openat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__openat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__ppoll.S b/libc/arch-mips64/syscalls/__ppoll.S index fb0e19a..ce3a551 100644 --- a/libc/arch-mips64/syscalls/__ppoll.S +++ b/libc/arch-mips64/syscalls/__ppoll.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ppoll) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__pselect6.S b/libc/arch-mips64/syscalls/__pselect6.S index 3055b31..dbfe79f 100644 --- a/libc/arch-mips64/syscalls/__pselect6.S +++ b/libc/arch-mips64/syscalls/__pselect6.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__pselect6) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__ptrace.S b/libc/arch-mips64/syscalls/__ptrace.S index bae7733..e26217f 100644 --- a/libc/arch-mips64/syscalls/__ptrace.S +++ b/libc/arch-mips64/syscalls/__ptrace.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ptrace) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__reboot.S b/libc/arch-mips64/syscalls/__reboot.S index 31a97e3..a4f4e71 100644 --- a/libc/arch-mips64/syscalls/__reboot.S +++ b/libc/arch-mips64/syscalls/__reboot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__reboot) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__rt_sigaction.S b/libc/arch-mips64/syscalls/__rt_sigaction.S index 3728c58..10f3598 100644 --- a/libc/arch-mips64/syscalls/__rt_sigaction.S +++ b/libc/arch-mips64/syscalls/__rt_sigaction.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigaction) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__rt_sigpending.S b/libc/arch-mips64/syscalls/__rt_sigpending.S index e0d40cc..7855cca 100644 --- a/libc/arch-mips64/syscalls/__rt_sigpending.S +++ b/libc/arch-mips64/syscalls/__rt_sigpending.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigpending) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__rt_sigprocmask.S b/libc/arch-mips64/syscalls/__rt_sigprocmask.S index d34a34b..f1ba2e9 100644 --- a/libc/arch-mips64/syscalls/__rt_sigprocmask.S +++ b/libc/arch-mips64/syscalls/__rt_sigprocmask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigprocmask) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__rt_sigsuspend.S b/libc/arch-mips64/syscalls/__rt_sigsuspend.S index f36e1c3..50ebf5e 100644 --- a/libc/arch-mips64/syscalls/__rt_sigsuspend.S +++ b/libc/arch-mips64/syscalls/__rt_sigsuspend.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigsuspend) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__rt_sigtimedwait.S b/libc/arch-mips64/syscalls/__rt_sigtimedwait.S index 798d6f8..304d049 100644 --- a/libc/arch-mips64/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-mips64/syscalls/__rt_sigtimedwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigtimedwait) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__sched_getaffinity.S b/libc/arch-mips64/syscalls/__sched_getaffinity.S index a287815..cf590c3 100644 --- a/libc/arch-mips64/syscalls/__sched_getaffinity.S +++ b/libc/arch-mips64/syscalls/__sched_getaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__sched_getaffinity) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__set_tid_address.S b/libc/arch-mips64/syscalls/__set_tid_address.S index 8757001..d08aa7b 100644 --- a/libc/arch-mips64/syscalls/__set_tid_address.S +++ b/libc/arch-mips64/syscalls/__set_tid_address.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__set_tid_address) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__set_tls.S b/libc/arch-mips64/syscalls/__set_tls.S index f1c31b4..430c5fb 100644 --- a/libc/arch-mips64/syscalls/__set_tls.S +++ b/libc/arch-mips64/syscalls/__set_tls.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__set_tls) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__signalfd4.S b/libc/arch-mips64/syscalls/__signalfd4.S index c4fe77b..0200138 100644 --- a/libc/arch-mips64/syscalls/__signalfd4.S +++ b/libc/arch-mips64/syscalls/__signalfd4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__signalfd4) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__socket.S b/libc/arch-mips64/syscalls/__socket.S index d1e0058..ac7586a 100644 --- a/libc/arch-mips64/syscalls/__socket.S +++ b/libc/arch-mips64/syscalls/__socket.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__socket) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__timer_create.S b/libc/arch-mips64/syscalls/__timer_create.S index 5a4daac..518207d 100644 --- a/libc/arch-mips64/syscalls/__timer_create.S +++ b/libc/arch-mips64/syscalls/__timer_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_create) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__timer_delete.S b/libc/arch-mips64/syscalls/__timer_delete.S index 8bbbdb7..4db1c85 100644 --- a/libc/arch-mips64/syscalls/__timer_delete.S +++ b/libc/arch-mips64/syscalls/__timer_delete.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_delete) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__timer_getoverrun.S b/libc/arch-mips64/syscalls/__timer_getoverrun.S index 3bf06cc..c5aa40f 100644 --- a/libc/arch-mips64/syscalls/__timer_getoverrun.S +++ b/libc/arch-mips64/syscalls/__timer_getoverrun.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_getoverrun) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__timer_gettime.S b/libc/arch-mips64/syscalls/__timer_gettime.S index a15ec17..8bebdd8 100644 --- a/libc/arch-mips64/syscalls/__timer_gettime.S +++ b/libc/arch-mips64/syscalls/__timer_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_gettime) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__timer_settime.S b/libc/arch-mips64/syscalls/__timer_settime.S index 10e2ca8..536c816 100644 --- a/libc/arch-mips64/syscalls/__timer_settime.S +++ b/libc/arch-mips64/syscalls/__timer_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_settime) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/__waitid.S b/libc/arch-mips64/syscalls/__waitid.S index 4d971e6..28b99bc 100644 --- a/libc/arch-mips64/syscalls/__waitid.S +++ b/libc/arch-mips64/syscalls/__waitid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__waitid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/_exit.S b/libc/arch-mips64/syscalls/_exit.S index eb84def..370960e 100644 --- a/libc/arch-mips64/syscalls/_exit.S +++ b/libc/arch-mips64/syscalls/_exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(_exit) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/_flush_cache.S b/libc/arch-mips64/syscalls/_flush_cache.S index 132fd4e..997ccec 100644 --- a/libc/arch-mips64/syscalls/_flush_cache.S +++ b/libc/arch-mips64/syscalls/_flush_cache.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(_flush_cache) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/acct.S b/libc/arch-mips64/syscalls/acct.S index 7185877..70bdd3e 100644 --- a/libc/arch-mips64/syscalls/acct.S +++ b/libc/arch-mips64/syscalls/acct.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(acct) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/bind.S b/libc/arch-mips64/syscalls/bind.S index cb28bb4..fab9b42 100644 --- a/libc/arch-mips64/syscalls/bind.S +++ b/libc/arch-mips64/syscalls/bind.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(bind) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/capget.S b/libc/arch-mips64/syscalls/capget.S index 068e076..6c1a13c 100644 --- a/libc/arch-mips64/syscalls/capget.S +++ b/libc/arch-mips64/syscalls/capget.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capget) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/capset.S b/libc/arch-mips64/syscalls/capset.S index f29501b..da8e9e6 100644 --- a/libc/arch-mips64/syscalls/capset.S +++ b/libc/arch-mips64/syscalls/capset.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capset) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/chdir.S b/libc/arch-mips64/syscalls/chdir.S index c2753bd..37f8f69 100644 --- a/libc/arch-mips64/syscalls/chdir.S +++ b/libc/arch-mips64/syscalls/chdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chdir) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/chroot.S b/libc/arch-mips64/syscalls/chroot.S index ca1d4a8..7dced37 100644 --- a/libc/arch-mips64/syscalls/chroot.S +++ b/libc/arch-mips64/syscalls/chroot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chroot) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/clock_getres.S b/libc/arch-mips64/syscalls/clock_getres.S index e7a8dd3..72ad146 100644 --- a/libc/arch-mips64/syscalls/clock_getres.S +++ b/libc/arch-mips64/syscalls/clock_getres.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_getres) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/clock_gettime.S b/libc/arch-mips64/syscalls/clock_gettime.S index 4c92a38..431e667 100644 --- a/libc/arch-mips64/syscalls/clock_gettime.S +++ b/libc/arch-mips64/syscalls/clock_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_gettime) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/clock_nanosleep.S b/libc/arch-mips64/syscalls/clock_nanosleep.S index 2934591..c0db781 100644 --- a/libc/arch-mips64/syscalls/clock_nanosleep.S +++ b/libc/arch-mips64/syscalls/clock_nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_nanosleep) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/clock_settime.S b/libc/arch-mips64/syscalls/clock_settime.S index 1969cb6..c9a4a79 100644 --- a/libc/arch-mips64/syscalls/clock_settime.S +++ b/libc/arch-mips64/syscalls/clock_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_settime) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/close.S b/libc/arch-mips64/syscalls/close.S index f446000..ff093e4 100644 --- a/libc/arch-mips64/syscalls/close.S +++ b/libc/arch-mips64/syscalls/close.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(close) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/delete_module.S b/libc/arch-mips64/syscalls/delete_module.S index d24adf8..86c64d6 100644 --- a/libc/arch-mips64/syscalls/delete_module.S +++ b/libc/arch-mips64/syscalls/delete_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(delete_module) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/dup.S b/libc/arch-mips64/syscalls/dup.S index 5d2d7de..23aa5c0 100644 --- a/libc/arch-mips64/syscalls/dup.S +++ b/libc/arch-mips64/syscalls/dup.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/dup3.S b/libc/arch-mips64/syscalls/dup3.S index 90f0f89..a5392dc 100644 --- a/libc/arch-mips64/syscalls/dup3.S +++ b/libc/arch-mips64/syscalls/dup3.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup3) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/epoll_create1.S b/libc/arch-mips64/syscalls/epoll_create1.S index 312887f..c3219d4 100644 --- a/libc/arch-mips64/syscalls/epoll_create1.S +++ b/libc/arch-mips64/syscalls/epoll_create1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_create1) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/epoll_ctl.S b/libc/arch-mips64/syscalls/epoll_ctl.S index 461ad7b..9b740d0 100644 --- a/libc/arch-mips64/syscalls/epoll_ctl.S +++ b/libc/arch-mips64/syscalls/epoll_ctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_ctl) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/eventfd.S b/libc/arch-mips64/syscalls/eventfd.S index da8866e..ea3a2c6 100644 --- a/libc/arch-mips64/syscalls/eventfd.S +++ b/libc/arch-mips64/syscalls/eventfd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(eventfd) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/execve.S b/libc/arch-mips64/syscalls/execve.S index 3cb49b6..af2c6d0 100644 --- a/libc/arch-mips64/syscalls/execve.S +++ b/libc/arch-mips64/syscalls/execve.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(execve) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/faccessat.S b/libc/arch-mips64/syscalls/faccessat.S index d06f420..c8ee9e5 100644 --- a/libc/arch-mips64/syscalls/faccessat.S +++ b/libc/arch-mips64/syscalls/faccessat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(faccessat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fallocate.S b/libc/arch-mips64/syscalls/fallocate.S index d1e64b5..9e7c89e 100644 --- a/libc/arch-mips64/syscalls/fallocate.S +++ b/libc/arch-mips64/syscalls/fallocate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fallocate) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fchdir.S b/libc/arch-mips64/syscalls/fchdir.S index 0c8ab73..780a8a2 100644 --- a/libc/arch-mips64/syscalls/fchdir.S +++ b/libc/arch-mips64/syscalls/fchdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchdir) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fchmod.S b/libc/arch-mips64/syscalls/fchmod.S index 4ebb796..b9e7cab 100644 --- a/libc/arch-mips64/syscalls/fchmod.S +++ b/libc/arch-mips64/syscalls/fchmod.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmod) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fchmodat.S b/libc/arch-mips64/syscalls/fchmodat.S index 4887324..ff04c8c 100644 --- a/libc/arch-mips64/syscalls/fchmodat.S +++ b/libc/arch-mips64/syscalls/fchmodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmodat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fchown.S b/libc/arch-mips64/syscalls/fchown.S index c21c831..97bd208 100644 --- a/libc/arch-mips64/syscalls/fchown.S +++ b/libc/arch-mips64/syscalls/fchown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchown) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fchownat.S b/libc/arch-mips64/syscalls/fchownat.S index eba230c..0e5635a 100644 --- a/libc/arch-mips64/syscalls/fchownat.S +++ b/libc/arch-mips64/syscalls/fchownat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchownat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fcntl.S b/libc/arch-mips64/syscalls/fcntl.S index 1f54b0e..325d9fd 100644 --- a/libc/arch-mips64/syscalls/fcntl.S +++ b/libc/arch-mips64/syscalls/fcntl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fcntl) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fdatasync.S b/libc/arch-mips64/syscalls/fdatasync.S index ba1eccc..8a714c3 100644 --- a/libc/arch-mips64/syscalls/fdatasync.S +++ b/libc/arch-mips64/syscalls/fdatasync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fdatasync) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fgetxattr.S b/libc/arch-mips64/syscalls/fgetxattr.S index 5b9c8ed..87a21ce 100644 --- a/libc/arch-mips64/syscalls/fgetxattr.S +++ b/libc/arch-mips64/syscalls/fgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fgetxattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/flistxattr.S b/libc/arch-mips64/syscalls/flistxattr.S index c0bf93c..b430931 100644 --- a/libc/arch-mips64/syscalls/flistxattr.S +++ b/libc/arch-mips64/syscalls/flistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flistxattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/flock.S b/libc/arch-mips64/syscalls/flock.S index b63f6fc..bc4c835 100644 --- a/libc/arch-mips64/syscalls/flock.S +++ b/libc/arch-mips64/syscalls/flock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flock) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fremovexattr.S b/libc/arch-mips64/syscalls/fremovexattr.S index be20d00..4121223 100644 --- a/libc/arch-mips64/syscalls/fremovexattr.S +++ b/libc/arch-mips64/syscalls/fremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fremovexattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fsetxattr.S b/libc/arch-mips64/syscalls/fsetxattr.S index 92198ce..4180bd0 100644 --- a/libc/arch-mips64/syscalls/fsetxattr.S +++ b/libc/arch-mips64/syscalls/fsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsetxattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fstat64.S b/libc/arch-mips64/syscalls/fstat64.S index 078e3dd..03cbf69 100644 --- a/libc/arch-mips64/syscalls/fstat64.S +++ b/libc/arch-mips64/syscalls/fstat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstat64) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fstatat64.S b/libc/arch-mips64/syscalls/fstatat64.S index cc38de1..55ae243 100644 --- a/libc/arch-mips64/syscalls/fstatat64.S +++ b/libc/arch-mips64/syscalls/fstatat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstatat64) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fstatfs64.S b/libc/arch-mips64/syscalls/fstatfs64.S index 3474bc2..5fb5d95 100644 --- a/libc/arch-mips64/syscalls/fstatfs64.S +++ b/libc/arch-mips64/syscalls/fstatfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstatfs64) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/fsync.S b/libc/arch-mips64/syscalls/fsync.S index 3543fef..fa5de87 100644 --- a/libc/arch-mips64/syscalls/fsync.S +++ b/libc/arch-mips64/syscalls/fsync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsync) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/ftruncate.S b/libc/arch-mips64/syscalls/ftruncate.S index cd97b87..b605a37 100644 --- a/libc/arch-mips64/syscalls/ftruncate.S +++ b/libc/arch-mips64/syscalls/ftruncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(ftruncate) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getegid.S b/libc/arch-mips64/syscalls/getegid.S index d6b3d7f..7ef8fe3 100644 --- a/libc/arch-mips64/syscalls/getegid.S +++ b/libc/arch-mips64/syscalls/getegid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getegid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/geteuid.S b/libc/arch-mips64/syscalls/geteuid.S index a1d9713..c21f0ef 100644 --- a/libc/arch-mips64/syscalls/geteuid.S +++ b/libc/arch-mips64/syscalls/geteuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(geteuid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getgid.S b/libc/arch-mips64/syscalls/getgid.S index c89d709..bd690dc 100644 --- a/libc/arch-mips64/syscalls/getgid.S +++ b/libc/arch-mips64/syscalls/getgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getgroups.S b/libc/arch-mips64/syscalls/getgroups.S index 8d9cddb..d7aded7 100644 --- a/libc/arch-mips64/syscalls/getgroups.S +++ b/libc/arch-mips64/syscalls/getgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgroups) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getitimer.S b/libc/arch-mips64/syscalls/getitimer.S index 12dad03..a438faa 100644 --- a/libc/arch-mips64/syscalls/getitimer.S +++ b/libc/arch-mips64/syscalls/getitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getitimer) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getpeername.S b/libc/arch-mips64/syscalls/getpeername.S index 278428a..bf40141 100644 --- a/libc/arch-mips64/syscalls/getpeername.S +++ b/libc/arch-mips64/syscalls/getpeername.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpeername) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getpgid.S b/libc/arch-mips64/syscalls/getpgid.S index 56551ef..739a6e2 100644 --- a/libc/arch-mips64/syscalls/getpgid.S +++ b/libc/arch-mips64/syscalls/getpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpgid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getppid.S b/libc/arch-mips64/syscalls/getppid.S index 97066f8..e642a79 100644 --- a/libc/arch-mips64/syscalls/getppid.S +++ b/libc/arch-mips64/syscalls/getppid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getppid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getresgid.S b/libc/arch-mips64/syscalls/getresgid.S index f07fc11..d88516f 100644 --- a/libc/arch-mips64/syscalls/getresgid.S +++ b/libc/arch-mips64/syscalls/getresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresgid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getresuid.S b/libc/arch-mips64/syscalls/getresuid.S index 4f1ba86..b439211 100644 --- a/libc/arch-mips64/syscalls/getresuid.S +++ b/libc/arch-mips64/syscalls/getresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresuid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getrlimit.S b/libc/arch-mips64/syscalls/getrlimit.S index f825db9..423bc0f 100644 --- a/libc/arch-mips64/syscalls/getrlimit.S +++ b/libc/arch-mips64/syscalls/getrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrlimit) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getrusage.S b/libc/arch-mips64/syscalls/getrusage.S index 49f3c42..9f57b84 100644 --- a/libc/arch-mips64/syscalls/getrusage.S +++ b/libc/arch-mips64/syscalls/getrusage.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrusage) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getsid.S b/libc/arch-mips64/syscalls/getsid.S index 6fa362c..125da4e 100644 --- a/libc/arch-mips64/syscalls/getsid.S +++ b/libc/arch-mips64/syscalls/getsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getsockname.S b/libc/arch-mips64/syscalls/getsockname.S index 5e16aff..3481d65 100644 --- a/libc/arch-mips64/syscalls/getsockname.S +++ b/libc/arch-mips64/syscalls/getsockname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockname) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getsockopt.S b/libc/arch-mips64/syscalls/getsockopt.S index fab05b1..2e9b6d7 100644 --- a/libc/arch-mips64/syscalls/getsockopt.S +++ b/libc/arch-mips64/syscalls/getsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockopt) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/gettimeofday.S b/libc/arch-mips64/syscalls/gettimeofday.S index 07407a4..9bbbd28 100644 --- a/libc/arch-mips64/syscalls/gettimeofday.S +++ b/libc/arch-mips64/syscalls/gettimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(gettimeofday) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getuid.S b/libc/arch-mips64/syscalls/getuid.S index 87c16e1..4809a5a 100644 --- a/libc/arch-mips64/syscalls/getuid.S +++ b/libc/arch-mips64/syscalls/getuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getuid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/getxattr.S b/libc/arch-mips64/syscalls/getxattr.S index b42ca1e..7a7a4d4 100644 --- a/libc/arch-mips64/syscalls/getxattr.S +++ b/libc/arch-mips64/syscalls/getxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getxattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/init_module.S b/libc/arch-mips64/syscalls/init_module.S index 90fb6b1..e46dedc 100644 --- a/libc/arch-mips64/syscalls/init_module.S +++ b/libc/arch-mips64/syscalls/init_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(init_module) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/inotify_add_watch.S b/libc/arch-mips64/syscalls/inotify_add_watch.S index 17db414..4a4fe5f 100644 --- a/libc/arch-mips64/syscalls/inotify_add_watch.S +++ b/libc/arch-mips64/syscalls/inotify_add_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_add_watch) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/inotify_init1.S b/libc/arch-mips64/syscalls/inotify_init1.S index 356dd2d..6ef6021 100644 --- a/libc/arch-mips64/syscalls/inotify_init1.S +++ b/libc/arch-mips64/syscalls/inotify_init1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_init1) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/inotify_rm_watch.S b/libc/arch-mips64/syscalls/inotify_rm_watch.S index 4096ca3..10e239a 100644 --- a/libc/arch-mips64/syscalls/inotify_rm_watch.S +++ b/libc/arch-mips64/syscalls/inotify_rm_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_rm_watch) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/kill.S b/libc/arch-mips64/syscalls/kill.S index 2d8b452..f85a3ef 100644 --- a/libc/arch-mips64/syscalls/kill.S +++ b/libc/arch-mips64/syscalls/kill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(kill) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/klogctl.S b/libc/arch-mips64/syscalls/klogctl.S index 2f9ca6a..8e94b62 100644 --- a/libc/arch-mips64/syscalls/klogctl.S +++ b/libc/arch-mips64/syscalls/klogctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(klogctl) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/lgetxattr.S b/libc/arch-mips64/syscalls/lgetxattr.S index f8e57b3..c5990ab 100644 --- a/libc/arch-mips64/syscalls/lgetxattr.S +++ b/libc/arch-mips64/syscalls/lgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lgetxattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/linkat.S b/libc/arch-mips64/syscalls/linkat.S index a866fa6..88db867 100644 --- a/libc/arch-mips64/syscalls/linkat.S +++ b/libc/arch-mips64/syscalls/linkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(linkat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/listen.S b/libc/arch-mips64/syscalls/listen.S index 0768c72..4db8789 100644 --- a/libc/arch-mips64/syscalls/listen.S +++ b/libc/arch-mips64/syscalls/listen.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listen) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/listxattr.S b/libc/arch-mips64/syscalls/listxattr.S index f2c00f6..56b13f6 100644 --- a/libc/arch-mips64/syscalls/listxattr.S +++ b/libc/arch-mips64/syscalls/listxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listxattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/llistxattr.S b/libc/arch-mips64/syscalls/llistxattr.S index f324e2c..d800f7f 100644 --- a/libc/arch-mips64/syscalls/llistxattr.S +++ b/libc/arch-mips64/syscalls/llistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(llistxattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/lremovexattr.S b/libc/arch-mips64/syscalls/lremovexattr.S index e44c9d0..e05733f 100644 --- a/libc/arch-mips64/syscalls/lremovexattr.S +++ b/libc/arch-mips64/syscalls/lremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lremovexattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/lseek.S b/libc/arch-mips64/syscalls/lseek.S index 2858aa8..34533cf 100644 --- a/libc/arch-mips64/syscalls/lseek.S +++ b/libc/arch-mips64/syscalls/lseek.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lseek) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/lsetxattr.S b/libc/arch-mips64/syscalls/lsetxattr.S index ed1b4df..dea6add 100644 --- a/libc/arch-mips64/syscalls/lsetxattr.S +++ b/libc/arch-mips64/syscalls/lsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lsetxattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/madvise.S b/libc/arch-mips64/syscalls/madvise.S index fe6a828..ab174e9 100644 --- a/libc/arch-mips64/syscalls/madvise.S +++ b/libc/arch-mips64/syscalls/madvise.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(madvise) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/mincore.S b/libc/arch-mips64/syscalls/mincore.S index 1e0b544..349d2f6 100644 --- a/libc/arch-mips64/syscalls/mincore.S +++ b/libc/arch-mips64/syscalls/mincore.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mincore) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/mkdirat.S b/libc/arch-mips64/syscalls/mkdirat.S index b1c94e1..b395ba4 100644 --- a/libc/arch-mips64/syscalls/mkdirat.S +++ b/libc/arch-mips64/syscalls/mkdirat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mkdirat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/mknodat.S b/libc/arch-mips64/syscalls/mknodat.S index edbd3b6..c13d979 100644 --- a/libc/arch-mips64/syscalls/mknodat.S +++ b/libc/arch-mips64/syscalls/mknodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mknodat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/mlock.S b/libc/arch-mips64/syscalls/mlock.S index ae599cd..82338f3 100644 --- a/libc/arch-mips64/syscalls/mlock.S +++ b/libc/arch-mips64/syscalls/mlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlock) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/mlockall.S b/libc/arch-mips64/syscalls/mlockall.S index b214758..b34cf81 100644 --- a/libc/arch-mips64/syscalls/mlockall.S +++ b/libc/arch-mips64/syscalls/mlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlockall) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/mmap.S b/libc/arch-mips64/syscalls/mmap.S index ba6d4fa..814b745 100644 --- a/libc/arch-mips64/syscalls/mmap.S +++ b/libc/arch-mips64/syscalls/mmap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mmap) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/mount.S b/libc/arch-mips64/syscalls/mount.S index 71e08a7..3f42df5 100644 --- a/libc/arch-mips64/syscalls/mount.S +++ b/libc/arch-mips64/syscalls/mount.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mount) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/mprotect.S b/libc/arch-mips64/syscalls/mprotect.S index 66ffa1a..adf9a67 100644 --- a/libc/arch-mips64/syscalls/mprotect.S +++ b/libc/arch-mips64/syscalls/mprotect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mprotect) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/mremap.S b/libc/arch-mips64/syscalls/mremap.S index c73320f..70c8a8c 100644 --- a/libc/arch-mips64/syscalls/mremap.S +++ b/libc/arch-mips64/syscalls/mremap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mremap) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/msync.S b/libc/arch-mips64/syscalls/msync.S index a97cba8..dced6e7 100644 --- a/libc/arch-mips64/syscalls/msync.S +++ b/libc/arch-mips64/syscalls/msync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(msync) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/munlock.S b/libc/arch-mips64/syscalls/munlock.S index f5919ae..075c061 100644 --- a/libc/arch-mips64/syscalls/munlock.S +++ b/libc/arch-mips64/syscalls/munlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlock) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/munlockall.S b/libc/arch-mips64/syscalls/munlockall.S index 39e717c..10ff274 100644 --- a/libc/arch-mips64/syscalls/munlockall.S +++ b/libc/arch-mips64/syscalls/munlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlockall) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/munmap.S b/libc/arch-mips64/syscalls/munmap.S index c1c9b01..5d0b0b0 100644 --- a/libc/arch-mips64/syscalls/munmap.S +++ b/libc/arch-mips64/syscalls/munmap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munmap) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/nanosleep.S b/libc/arch-mips64/syscalls/nanosleep.S index 6bfd73e..a0c7d36 100644 --- a/libc/arch-mips64/syscalls/nanosleep.S +++ b/libc/arch-mips64/syscalls/nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(nanosleep) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/personality.S b/libc/arch-mips64/syscalls/personality.S index e234636..326cf24 100644 --- a/libc/arch-mips64/syscalls/personality.S +++ b/libc/arch-mips64/syscalls/personality.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(personality) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/pipe2.S b/libc/arch-mips64/syscalls/pipe2.S index 52d5baa..8e207ac 100644 --- a/libc/arch-mips64/syscalls/pipe2.S +++ b/libc/arch-mips64/syscalls/pipe2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pipe2) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/prctl.S b/libc/arch-mips64/syscalls/prctl.S index 01d422e..9e805f4 100644 --- a/libc/arch-mips64/syscalls/prctl.S +++ b/libc/arch-mips64/syscalls/prctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prctl) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/pread64.S b/libc/arch-mips64/syscalls/pread64.S index 5ab8389..3aa0620 100644 --- a/libc/arch-mips64/syscalls/pread64.S +++ b/libc/arch-mips64/syscalls/pread64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pread64) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/prlimit64.S b/libc/arch-mips64/syscalls/prlimit64.S index e52ca92..f767ac1 100644 --- a/libc/arch-mips64/syscalls/prlimit64.S +++ b/libc/arch-mips64/syscalls/prlimit64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prlimit64) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/pwrite64.S b/libc/arch-mips64/syscalls/pwrite64.S index 8d7a8b5..8b3bcc0 100644 --- a/libc/arch-mips64/syscalls/pwrite64.S +++ b/libc/arch-mips64/syscalls/pwrite64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pwrite64) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/read.S b/libc/arch-mips64/syscalls/read.S index 3f805ca..ab687d1 100644 --- a/libc/arch-mips64/syscalls/read.S +++ b/libc/arch-mips64/syscalls/read.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(read) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/readahead.S b/libc/arch-mips64/syscalls/readahead.S index 8f5c8c6..1d9b15b 100644 --- a/libc/arch-mips64/syscalls/readahead.S +++ b/libc/arch-mips64/syscalls/readahead.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readahead) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/readlinkat.S b/libc/arch-mips64/syscalls/readlinkat.S index 1381c22..24da46b 100644 --- a/libc/arch-mips64/syscalls/readlinkat.S +++ b/libc/arch-mips64/syscalls/readlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readlinkat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/readv.S b/libc/arch-mips64/syscalls/readv.S index 9c7afd5..6aca131 100644 --- a/libc/arch-mips64/syscalls/readv.S +++ b/libc/arch-mips64/syscalls/readv.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readv) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/recvfrom.S b/libc/arch-mips64/syscalls/recvfrom.S index d3911c6..b9fb037 100644 --- a/libc/arch-mips64/syscalls/recvfrom.S +++ b/libc/arch-mips64/syscalls/recvfrom.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvfrom) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/recvmmsg.S b/libc/arch-mips64/syscalls/recvmmsg.S index fa9fbb2..b187cf0 100644 --- a/libc/arch-mips64/syscalls/recvmmsg.S +++ b/libc/arch-mips64/syscalls/recvmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmmsg) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/recvmsg.S b/libc/arch-mips64/syscalls/recvmsg.S index 21ec51d..49dbb48 100644 --- a/libc/arch-mips64/syscalls/recvmsg.S +++ b/libc/arch-mips64/syscalls/recvmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmsg) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/removexattr.S b/libc/arch-mips64/syscalls/removexattr.S index ea31771..61d6da1 100644 --- a/libc/arch-mips64/syscalls/removexattr.S +++ b/libc/arch-mips64/syscalls/removexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(removexattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/renameat.S b/libc/arch-mips64/syscalls/renameat.S index 074a6a4..f012fad 100644 --- a/libc/arch-mips64/syscalls/renameat.S +++ b/libc/arch-mips64/syscalls/renameat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(renameat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sched_get_priority_max.S b/libc/arch-mips64/syscalls/sched_get_priority_max.S index 1b67bbf..264545b 100644 --- a/libc/arch-mips64/syscalls/sched_get_priority_max.S +++ b/libc/arch-mips64/syscalls/sched_get_priority_max.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_max) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sched_get_priority_min.S b/libc/arch-mips64/syscalls/sched_get_priority_min.S index 2d68752..4984abf 100644 --- a/libc/arch-mips64/syscalls/sched_get_priority_min.S +++ b/libc/arch-mips64/syscalls/sched_get_priority_min.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_min) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sched_getparam.S b/libc/arch-mips64/syscalls/sched_getparam.S index d0b2069..2837fc8 100644 --- a/libc/arch-mips64/syscalls/sched_getparam.S +++ b/libc/arch-mips64/syscalls/sched_getparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getparam) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sched_getscheduler.S b/libc/arch-mips64/syscalls/sched_getscheduler.S index f25bde5..3f8dbe3 100644 --- a/libc/arch-mips64/syscalls/sched_getscheduler.S +++ b/libc/arch-mips64/syscalls/sched_getscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getscheduler) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sched_rr_get_interval.S b/libc/arch-mips64/syscalls/sched_rr_get_interval.S index 48233f8..80ea18e 100644 --- a/libc/arch-mips64/syscalls/sched_rr_get_interval.S +++ b/libc/arch-mips64/syscalls/sched_rr_get_interval.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_rr_get_interval) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sched_setaffinity.S b/libc/arch-mips64/syscalls/sched_setaffinity.S index e604863..843e06f 100644 --- a/libc/arch-mips64/syscalls/sched_setaffinity.S +++ b/libc/arch-mips64/syscalls/sched_setaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setaffinity) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sched_setparam.S b/libc/arch-mips64/syscalls/sched_setparam.S index b02439f..78435b1 100644 --- a/libc/arch-mips64/syscalls/sched_setparam.S +++ b/libc/arch-mips64/syscalls/sched_setparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setparam) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sched_setscheduler.S b/libc/arch-mips64/syscalls/sched_setscheduler.S index dda1ce5..7f78cc7 100644 --- a/libc/arch-mips64/syscalls/sched_setscheduler.S +++ b/libc/arch-mips64/syscalls/sched_setscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setscheduler) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sched_yield.S b/libc/arch-mips64/syscalls/sched_yield.S index 509b029..f81b7ef 100644 --- a/libc/arch-mips64/syscalls/sched_yield.S +++ b/libc/arch-mips64/syscalls/sched_yield.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_yield) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sendfile.S b/libc/arch-mips64/syscalls/sendfile.S index 684a83a..c3e80de 100644 --- a/libc/arch-mips64/syscalls/sendfile.S +++ b/libc/arch-mips64/syscalls/sendfile.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendfile) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sendmmsg.S b/libc/arch-mips64/syscalls/sendmmsg.S index e4d8019..40efcb6 100644 --- a/libc/arch-mips64/syscalls/sendmmsg.S +++ b/libc/arch-mips64/syscalls/sendmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmmsg) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sendmsg.S b/libc/arch-mips64/syscalls/sendmsg.S index 6983f9a..9f90717 100644 --- a/libc/arch-mips64/syscalls/sendmsg.S +++ b/libc/arch-mips64/syscalls/sendmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmsg) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sendto.S b/libc/arch-mips64/syscalls/sendto.S index cfe774d..3ebfbae 100644 --- a/libc/arch-mips64/syscalls/sendto.S +++ b/libc/arch-mips64/syscalls/sendto.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendto) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setfsgid.S b/libc/arch-mips64/syscalls/setfsgid.S index 7f75ed9..9b36038 100644 --- a/libc/arch-mips64/syscalls/setfsgid.S +++ b/libc/arch-mips64/syscalls/setfsgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsgid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setfsuid.S b/libc/arch-mips64/syscalls/setfsuid.S index 4cab9d4..e42601f 100644 --- a/libc/arch-mips64/syscalls/setfsuid.S +++ b/libc/arch-mips64/syscalls/setfsuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsuid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setgid.S b/libc/arch-mips64/syscalls/setgid.S index cc8d3ab..7ce8599 100644 --- a/libc/arch-mips64/syscalls/setgid.S +++ b/libc/arch-mips64/syscalls/setgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setgroups.S b/libc/arch-mips64/syscalls/setgroups.S index 63f2329..2724068 100644 --- a/libc/arch-mips64/syscalls/setgroups.S +++ b/libc/arch-mips64/syscalls/setgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgroups) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setitimer.S b/libc/arch-mips64/syscalls/setitimer.S index 9ee02dc..f5dcff0 100644 --- a/libc/arch-mips64/syscalls/setitimer.S +++ b/libc/arch-mips64/syscalls/setitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setitimer) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setns.S b/libc/arch-mips64/syscalls/setns.S index 191a1a0..cbe2e06 100644 --- a/libc/arch-mips64/syscalls/setns.S +++ b/libc/arch-mips64/syscalls/setns.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setns) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setpgid.S b/libc/arch-mips64/syscalls/setpgid.S index 8972160..da44532 100644 --- a/libc/arch-mips64/syscalls/setpgid.S +++ b/libc/arch-mips64/syscalls/setpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpgid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setpriority.S b/libc/arch-mips64/syscalls/setpriority.S index dce3a76..150a5d4 100644 --- a/libc/arch-mips64/syscalls/setpriority.S +++ b/libc/arch-mips64/syscalls/setpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpriority) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setregid.S b/libc/arch-mips64/syscalls/setregid.S index d677b32..b80115c 100644 --- a/libc/arch-mips64/syscalls/setregid.S +++ b/libc/arch-mips64/syscalls/setregid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setregid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setresgid.S b/libc/arch-mips64/syscalls/setresgid.S index 312eb3a..0fbf302 100644 --- a/libc/arch-mips64/syscalls/setresgid.S +++ b/libc/arch-mips64/syscalls/setresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresgid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setresuid.S b/libc/arch-mips64/syscalls/setresuid.S index 4da79d0..89af745 100644 --- a/libc/arch-mips64/syscalls/setresuid.S +++ b/libc/arch-mips64/syscalls/setresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresuid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setreuid.S b/libc/arch-mips64/syscalls/setreuid.S index 33f6fce..797091f 100644 --- a/libc/arch-mips64/syscalls/setreuid.S +++ b/libc/arch-mips64/syscalls/setreuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setreuid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setrlimit.S b/libc/arch-mips64/syscalls/setrlimit.S index 3060298..034f3db 100644 --- a/libc/arch-mips64/syscalls/setrlimit.S +++ b/libc/arch-mips64/syscalls/setrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setrlimit) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setsid.S b/libc/arch-mips64/syscalls/setsid.S index c8d1ad5..ef14eba 100644 --- a/libc/arch-mips64/syscalls/setsid.S +++ b/libc/arch-mips64/syscalls/setsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setsockopt.S b/libc/arch-mips64/syscalls/setsockopt.S index b40aad1..5c263bd 100644 --- a/libc/arch-mips64/syscalls/setsockopt.S +++ b/libc/arch-mips64/syscalls/setsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsockopt) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/settimeofday.S b/libc/arch-mips64/syscalls/settimeofday.S index 2e333f8..a73638f 100644 --- a/libc/arch-mips64/syscalls/settimeofday.S +++ b/libc/arch-mips64/syscalls/settimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(settimeofday) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setuid.S b/libc/arch-mips64/syscalls/setuid.S index fb8125e..4321fae 100644 --- a/libc/arch-mips64/syscalls/setuid.S +++ b/libc/arch-mips64/syscalls/setuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setuid) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/setxattr.S b/libc/arch-mips64/syscalls/setxattr.S index 04e746d..58ccb5f 100644 --- a/libc/arch-mips64/syscalls/setxattr.S +++ b/libc/arch-mips64/syscalls/setxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setxattr) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/shutdown.S b/libc/arch-mips64/syscalls/shutdown.S index 59f437a..cdd6c78 100644 --- a/libc/arch-mips64/syscalls/shutdown.S +++ b/libc/arch-mips64/syscalls/shutdown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(shutdown) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sigaltstack.S b/libc/arch-mips64/syscalls/sigaltstack.S index 0fbd3a1..a2e663c 100644 --- a/libc/arch-mips64/syscalls/sigaltstack.S +++ b/libc/arch-mips64/syscalls/sigaltstack.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sigaltstack) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/socketpair.S b/libc/arch-mips64/syscalls/socketpair.S index fa684d1..7be7814 100644 --- a/libc/arch-mips64/syscalls/socketpair.S +++ b/libc/arch-mips64/syscalls/socketpair.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(socketpair) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/splice.S b/libc/arch-mips64/syscalls/splice.S index d626904..efee6cd 100644 --- a/libc/arch-mips64/syscalls/splice.S +++ b/libc/arch-mips64/syscalls/splice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(splice) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/statfs64.S b/libc/arch-mips64/syscalls/statfs64.S index e835e41..d377522 100644 --- a/libc/arch-mips64/syscalls/statfs64.S +++ b/libc/arch-mips64/syscalls/statfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(statfs64) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/swapoff.S b/libc/arch-mips64/syscalls/swapoff.S index dfaf185..b257b1e 100644 --- a/libc/arch-mips64/syscalls/swapoff.S +++ b/libc/arch-mips64/syscalls/swapoff.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapoff) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/swapon.S b/libc/arch-mips64/syscalls/swapon.S index 8e844c4..e18ff4c 100644 --- a/libc/arch-mips64/syscalls/swapon.S +++ b/libc/arch-mips64/syscalls/swapon.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapon) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/symlinkat.S b/libc/arch-mips64/syscalls/symlinkat.S index e43d597..560bf0d 100644 --- a/libc/arch-mips64/syscalls/symlinkat.S +++ b/libc/arch-mips64/syscalls/symlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(symlinkat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sync.S b/libc/arch-mips64/syscalls/sync.S index ec342a3..240a6d4 100644 --- a/libc/arch-mips64/syscalls/sync.S +++ b/libc/arch-mips64/syscalls/sync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sync) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/sysinfo.S b/libc/arch-mips64/syscalls/sysinfo.S index 16486fd..6b07be3 100644 --- a/libc/arch-mips64/syscalls/sysinfo.S +++ b/libc/arch-mips64/syscalls/sysinfo.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sysinfo) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/tee.S b/libc/arch-mips64/syscalls/tee.S index 429700c..0115f71 100644 --- a/libc/arch-mips64/syscalls/tee.S +++ b/libc/arch-mips64/syscalls/tee.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tee) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/tgkill.S b/libc/arch-mips64/syscalls/tgkill.S index d98d9ae..bf30a8d 100644 --- a/libc/arch-mips64/syscalls/tgkill.S +++ b/libc/arch-mips64/syscalls/tgkill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tgkill) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/timerfd_create.S b/libc/arch-mips64/syscalls/timerfd_create.S index ab8e9e0..e65874f 100644 --- a/libc/arch-mips64/syscalls/timerfd_create.S +++ b/libc/arch-mips64/syscalls/timerfd_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_create) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/timerfd_gettime.S b/libc/arch-mips64/syscalls/timerfd_gettime.S index 2ec7b9c..a843598 100644 --- a/libc/arch-mips64/syscalls/timerfd_gettime.S +++ b/libc/arch-mips64/syscalls/timerfd_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_gettime) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/timerfd_settime.S b/libc/arch-mips64/syscalls/timerfd_settime.S index 0aec09f..8c5994f 100644 --- a/libc/arch-mips64/syscalls/timerfd_settime.S +++ b/libc/arch-mips64/syscalls/timerfd_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_settime) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/times.S b/libc/arch-mips64/syscalls/times.S index 2457e0c..ff504e7 100644 --- a/libc/arch-mips64/syscalls/times.S +++ b/libc/arch-mips64/syscalls/times.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(times) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/truncate.S b/libc/arch-mips64/syscalls/truncate.S index a0cbe51..3fc06a2 100644 --- a/libc/arch-mips64/syscalls/truncate.S +++ b/libc/arch-mips64/syscalls/truncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(truncate) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/umask.S b/libc/arch-mips64/syscalls/umask.S index 33624d2..9e6c910 100644 --- a/libc/arch-mips64/syscalls/umask.S +++ b/libc/arch-mips64/syscalls/umask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umask) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/umount2.S b/libc/arch-mips64/syscalls/umount2.S index 6193459..f8d1996 100644 --- a/libc/arch-mips64/syscalls/umount2.S +++ b/libc/arch-mips64/syscalls/umount2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umount2) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/uname.S b/libc/arch-mips64/syscalls/uname.S index df50f45..ce93f08 100644 --- a/libc/arch-mips64/syscalls/uname.S +++ b/libc/arch-mips64/syscalls/uname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(uname) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/unlinkat.S b/libc/arch-mips64/syscalls/unlinkat.S index 29d4442..870e8d7 100644 --- a/libc/arch-mips64/syscalls/unlinkat.S +++ b/libc/arch-mips64/syscalls/unlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unlinkat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/unshare.S b/libc/arch-mips64/syscalls/unshare.S index 6d8fbf3..231c29a 100644 --- a/libc/arch-mips64/syscalls/unshare.S +++ b/libc/arch-mips64/syscalls/unshare.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unshare) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/utimensat.S b/libc/arch-mips64/syscalls/utimensat.S index 654b8a4..4b4243e 100644 --- a/libc/arch-mips64/syscalls/utimensat.S +++ b/libc/arch-mips64/syscalls/utimensat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(utimensat) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/vmsplice.S b/libc/arch-mips64/syscalls/vmsplice.S index aa03585..f854004 100644 --- a/libc/arch-mips64/syscalls/vmsplice.S +++ b/libc/arch-mips64/syscalls/vmsplice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(vmsplice) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/wait4.S b/libc/arch-mips64/syscalls/wait4.S index e3755b5..2d2b487 100644 --- a/libc/arch-mips64/syscalls/wait4.S +++ b/libc/arch-mips64/syscalls/wait4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(wait4) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/write.S b/libc/arch-mips64/syscalls/write.S index ce7f702..f603fb5 100644 --- a/libc/arch-mips64/syscalls/write.S +++ b/libc/arch-mips64/syscalls/write.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(write) .set push .set noreorder diff --git a/libc/arch-mips64/syscalls/writev.S b/libc/arch-mips64/syscalls/writev.S index e2c7875..032e749 100644 --- a/libc/arch-mips64/syscalls/writev.S +++ b/libc/arch-mips64/syscalls/writev.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(writev) .set push .set noreorder diff --git a/libc/arch-x86/syscalls/__accept4.S b/libc/arch-x86/syscalls/__accept4.S index 2d9cc42..c28f211 100644 --- a/libc/arch-x86/syscalls/__accept4.S +++ b/libc/arch-x86/syscalls/__accept4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__accept4) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__brk.S b/libc/arch-x86/syscalls/__brk.S index 632dfcf..c5702cf 100644 --- a/libc/arch-x86/syscalls/__brk.S +++ b/libc/arch-x86/syscalls/__brk.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__brk) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__connect.S b/libc/arch-x86/syscalls/__connect.S index 5ee4fbf..4f845b7 100644 --- a/libc/arch-x86/syscalls/__connect.S +++ b/libc/arch-x86/syscalls/__connect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__connect) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__epoll_pwait.S b/libc/arch-x86/syscalls/__epoll_pwait.S index 641ca6d..c7acb2b 100644 --- a/libc/arch-x86/syscalls/__epoll_pwait.S +++ b/libc/arch-x86/syscalls/__epoll_pwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__epoll_pwait) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__exit.S b/libc/arch-x86/syscalls/__exit.S index 8578f56..bf76e04 100644 --- a/libc/arch-x86/syscalls/__exit.S +++ b/libc/arch-x86/syscalls/__exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__exit) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__fcntl64.S b/libc/arch-x86/syscalls/__fcntl64.S index ef58d15..7c41c88 100644 --- a/libc/arch-x86/syscalls/__fcntl64.S +++ b/libc/arch-x86/syscalls/__fcntl64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__fcntl64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__fstatfs64.S b/libc/arch-x86/syscalls/__fstatfs64.S index 0ca3360..b182ae3 100644 --- a/libc/arch-x86/syscalls/__fstatfs64.S +++ b/libc/arch-x86/syscalls/__fstatfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__fstatfs64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__getcpu.S b/libc/arch-x86/syscalls/__getcpu.S index b181877..4cdbafa 100644 --- a/libc/arch-x86/syscalls/__getcpu.S +++ b/libc/arch-x86/syscalls/__getcpu.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcpu) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__getcwd.S b/libc/arch-x86/syscalls/__getcwd.S index b71ba0d..f5b9b9c 100644 --- a/libc/arch-x86/syscalls/__getcwd.S +++ b/libc/arch-x86/syscalls/__getcwd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcwd) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__getdents64.S b/libc/arch-x86/syscalls/__getdents64.S index 3fc8719..0ff217d 100644 --- a/libc/arch-x86/syscalls/__getdents64.S +++ b/libc/arch-x86/syscalls/__getdents64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getdents64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__getpid.S b/libc/arch-x86/syscalls/__getpid.S index f138d2f..6a3602e 100644 --- a/libc/arch-x86/syscalls/__getpid.S +++ b/libc/arch-x86/syscalls/__getpid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpid) movl $__NR_getpid, %eax int $0x80 diff --git a/libc/arch-x86/syscalls/__getpriority.S b/libc/arch-x86/syscalls/__getpriority.S index 103431d..6a94f43 100644 --- a/libc/arch-x86/syscalls/__getpriority.S +++ b/libc/arch-x86/syscalls/__getpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpriority) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__ioctl.S b/libc/arch-x86/syscalls/__ioctl.S index 99d2d2c..edb990a 100644 --- a/libc/arch-x86/syscalls/__ioctl.S +++ b/libc/arch-x86/syscalls/__ioctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ioctl) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__llseek.S b/libc/arch-x86/syscalls/__llseek.S index 0cdb98a..db39106 100644 --- a/libc/arch-x86/syscalls/__llseek.S +++ b/libc/arch-x86/syscalls/__llseek.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__llseek) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__mmap2.S b/libc/arch-x86/syscalls/__mmap2.S index 47131ef..5c8f2a3 100644 --- a/libc/arch-x86/syscalls/__mmap2.S +++ b/libc/arch-x86/syscalls/__mmap2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__mmap2) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__openat.S b/libc/arch-x86/syscalls/__openat.S index aec10e5..87687e5 100644 --- a/libc/arch-x86/syscalls/__openat.S +++ b/libc/arch-x86/syscalls/__openat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__openat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__ppoll.S b/libc/arch-x86/syscalls/__ppoll.S index 92197b7..e48f841 100644 --- a/libc/arch-x86/syscalls/__ppoll.S +++ b/libc/arch-x86/syscalls/__ppoll.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ppoll) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__pselect6.S b/libc/arch-x86/syscalls/__pselect6.S index 38402f0..53edb8c 100644 --- a/libc/arch-x86/syscalls/__pselect6.S +++ b/libc/arch-x86/syscalls/__pselect6.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__pselect6) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__ptrace.S b/libc/arch-x86/syscalls/__ptrace.S index cea5847..9d1e460 100644 --- a/libc/arch-x86/syscalls/__ptrace.S +++ b/libc/arch-x86/syscalls/__ptrace.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ptrace) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__reboot.S b/libc/arch-x86/syscalls/__reboot.S index 4546994..3ef78bb 100644 --- a/libc/arch-x86/syscalls/__reboot.S +++ b/libc/arch-x86/syscalls/__reboot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__reboot) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__rt_sigaction.S b/libc/arch-x86/syscalls/__rt_sigaction.S index bfbe5ba..1ce7ef9 100644 --- a/libc/arch-x86/syscalls/__rt_sigaction.S +++ b/libc/arch-x86/syscalls/__rt_sigaction.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigaction) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__rt_sigpending.S b/libc/arch-x86/syscalls/__rt_sigpending.S index dac478a..a4cb3c1 100644 --- a/libc/arch-x86/syscalls/__rt_sigpending.S +++ b/libc/arch-x86/syscalls/__rt_sigpending.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigpending) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__rt_sigprocmask.S b/libc/arch-x86/syscalls/__rt_sigprocmask.S index f112360..9d8e90d 100644 --- a/libc/arch-x86/syscalls/__rt_sigprocmask.S +++ b/libc/arch-x86/syscalls/__rt_sigprocmask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigprocmask) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__rt_sigsuspend.S b/libc/arch-x86/syscalls/__rt_sigsuspend.S index ef505c0..e0d0c3d 100644 --- a/libc/arch-x86/syscalls/__rt_sigsuspend.S +++ b/libc/arch-x86/syscalls/__rt_sigsuspend.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigsuspend) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__rt_sigtimedwait.S b/libc/arch-x86/syscalls/__rt_sigtimedwait.S index d19c7db..091c1a7 100644 --- a/libc/arch-x86/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-x86/syscalls/__rt_sigtimedwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigtimedwait) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__sched_getaffinity.S b/libc/arch-x86/syscalls/__sched_getaffinity.S index e7cb8f1..2c278db 100644 --- a/libc/arch-x86/syscalls/__sched_getaffinity.S +++ b/libc/arch-x86/syscalls/__sched_getaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__sched_getaffinity) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__set_thread_area.S b/libc/arch-x86/syscalls/__set_thread_area.S index dda23a0..29e1238 100644 --- a/libc/arch-x86/syscalls/__set_thread_area.S +++ b/libc/arch-x86/syscalls/__set_thread_area.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__set_thread_area) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__set_tid_address.S b/libc/arch-x86/syscalls/__set_tid_address.S index 1566d9a..3517442 100644 --- a/libc/arch-x86/syscalls/__set_tid_address.S +++ b/libc/arch-x86/syscalls/__set_tid_address.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__set_tid_address) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__sigaction.S b/libc/arch-x86/syscalls/__sigaction.S index f1a51d2..0a3e77e 100644 --- a/libc/arch-x86/syscalls/__sigaction.S +++ b/libc/arch-x86/syscalls/__sigaction.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__sigaction) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__signalfd4.S b/libc/arch-x86/syscalls/__signalfd4.S index 335e206..acfced5 100644 --- a/libc/arch-x86/syscalls/__signalfd4.S +++ b/libc/arch-x86/syscalls/__signalfd4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__signalfd4) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__socket.S b/libc/arch-x86/syscalls/__socket.S index 368680f..59988f3 100644 --- a/libc/arch-x86/syscalls/__socket.S +++ b/libc/arch-x86/syscalls/__socket.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__socket) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__statfs64.S b/libc/arch-x86/syscalls/__statfs64.S index 6bb9d99..63d866e 100644 --- a/libc/arch-x86/syscalls/__statfs64.S +++ b/libc/arch-x86/syscalls/__statfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__statfs64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__timer_create.S b/libc/arch-x86/syscalls/__timer_create.S index 3d28ae9..1265aa6 100644 --- a/libc/arch-x86/syscalls/__timer_create.S +++ b/libc/arch-x86/syscalls/__timer_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_create) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__timer_delete.S b/libc/arch-x86/syscalls/__timer_delete.S index 7d64d6d..bc1fbc5 100644 --- a/libc/arch-x86/syscalls/__timer_delete.S +++ b/libc/arch-x86/syscalls/__timer_delete.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_delete) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__timer_getoverrun.S b/libc/arch-x86/syscalls/__timer_getoverrun.S index cb37765..2a8de1e 100644 --- a/libc/arch-x86/syscalls/__timer_getoverrun.S +++ b/libc/arch-x86/syscalls/__timer_getoverrun.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_getoverrun) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__timer_gettime.S b/libc/arch-x86/syscalls/__timer_gettime.S index 5c43f4a..9edd15a 100644 --- a/libc/arch-x86/syscalls/__timer_gettime.S +++ b/libc/arch-x86/syscalls/__timer_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_gettime) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__timer_settime.S b/libc/arch-x86/syscalls/__timer_settime.S index da7c587..4bb0790 100644 --- a/libc/arch-x86/syscalls/__timer_settime.S +++ b/libc/arch-x86/syscalls/__timer_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_settime) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/__waitid.S b/libc/arch-x86/syscalls/__waitid.S index 7e3ecdd..331baf5 100644 --- a/libc/arch-x86/syscalls/__waitid.S +++ b/libc/arch-x86/syscalls/__waitid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__waitid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/_exit.S b/libc/arch-x86/syscalls/_exit.S index 36e884a..0da6e79 100644 --- a/libc/arch-x86/syscalls/_exit.S +++ b/libc/arch-x86/syscalls/_exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(_exit) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/acct.S b/libc/arch-x86/syscalls/acct.S index a036114..34a23a4 100644 --- a/libc/arch-x86/syscalls/acct.S +++ b/libc/arch-x86/syscalls/acct.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(acct) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/bind.S b/libc/arch-x86/syscalls/bind.S index ab5a29e..1d45319 100644 --- a/libc/arch-x86/syscalls/bind.S +++ b/libc/arch-x86/syscalls/bind.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(bind) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/capget.S b/libc/arch-x86/syscalls/capget.S index 5441e49..82b5b73 100644 --- a/libc/arch-x86/syscalls/capget.S +++ b/libc/arch-x86/syscalls/capget.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capget) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/capset.S b/libc/arch-x86/syscalls/capset.S index d04e411..79e8747 100644 --- a/libc/arch-x86/syscalls/capset.S +++ b/libc/arch-x86/syscalls/capset.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capset) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/chdir.S b/libc/arch-x86/syscalls/chdir.S index d32a0bd..98bdf37 100644 --- a/libc/arch-x86/syscalls/chdir.S +++ b/libc/arch-x86/syscalls/chdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chdir) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/chroot.S b/libc/arch-x86/syscalls/chroot.S index 63d7e00..978eec7 100644 --- a/libc/arch-x86/syscalls/chroot.S +++ b/libc/arch-x86/syscalls/chroot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chroot) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/clock_getres.S b/libc/arch-x86/syscalls/clock_getres.S index 321299c..c93a279 100644 --- a/libc/arch-x86/syscalls/clock_getres.S +++ b/libc/arch-x86/syscalls/clock_getres.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_getres) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/clock_gettime.S b/libc/arch-x86/syscalls/clock_gettime.S index 54f769a..9c5c240 100644 --- a/libc/arch-x86/syscalls/clock_gettime.S +++ b/libc/arch-x86/syscalls/clock_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_gettime) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/clock_nanosleep.S b/libc/arch-x86/syscalls/clock_nanosleep.S index ca961c0..edadec2 100644 --- a/libc/arch-x86/syscalls/clock_nanosleep.S +++ b/libc/arch-x86/syscalls/clock_nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_nanosleep) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/clock_settime.S b/libc/arch-x86/syscalls/clock_settime.S index ab8c43e..41012d0 100644 --- a/libc/arch-x86/syscalls/clock_settime.S +++ b/libc/arch-x86/syscalls/clock_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_settime) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/close.S b/libc/arch-x86/syscalls/close.S index 0b3e73a..b73c4b4 100644 --- a/libc/arch-x86/syscalls/close.S +++ b/libc/arch-x86/syscalls/close.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(close) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/delete_module.S b/libc/arch-x86/syscalls/delete_module.S index 757c8c1..73a5128 100644 --- a/libc/arch-x86/syscalls/delete_module.S +++ b/libc/arch-x86/syscalls/delete_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(delete_module) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/dup.S b/libc/arch-x86/syscalls/dup.S index 64e1538..f8e8772 100644 --- a/libc/arch-x86/syscalls/dup.S +++ b/libc/arch-x86/syscalls/dup.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/dup3.S b/libc/arch-x86/syscalls/dup3.S index a0ecd19..1203e64 100644 --- a/libc/arch-x86/syscalls/dup3.S +++ b/libc/arch-x86/syscalls/dup3.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup3) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/epoll_create1.S b/libc/arch-x86/syscalls/epoll_create1.S index 5b6a1ba..6384b92 100644 --- a/libc/arch-x86/syscalls/epoll_create1.S +++ b/libc/arch-x86/syscalls/epoll_create1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_create1) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/epoll_ctl.S b/libc/arch-x86/syscalls/epoll_ctl.S index 3fd8acd..cdc880e 100644 --- a/libc/arch-x86/syscalls/epoll_ctl.S +++ b/libc/arch-x86/syscalls/epoll_ctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_ctl) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/eventfd.S b/libc/arch-x86/syscalls/eventfd.S index 55c5e6a..fe85967 100644 --- a/libc/arch-x86/syscalls/eventfd.S +++ b/libc/arch-x86/syscalls/eventfd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(eventfd) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/execve.S b/libc/arch-x86/syscalls/execve.S index 7ad54f7..a897c42 100644 --- a/libc/arch-x86/syscalls/execve.S +++ b/libc/arch-x86/syscalls/execve.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(execve) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/faccessat.S b/libc/arch-x86/syscalls/faccessat.S index 115d645..4ac3e2a 100644 --- a/libc/arch-x86/syscalls/faccessat.S +++ b/libc/arch-x86/syscalls/faccessat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(faccessat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fallocate64.S b/libc/arch-x86/syscalls/fallocate64.S index f8bde62..e1dfa08 100644 --- a/libc/arch-x86/syscalls/fallocate64.S +++ b/libc/arch-x86/syscalls/fallocate64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fallocate64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fchdir.S b/libc/arch-x86/syscalls/fchdir.S index 56e496c..af43acb 100644 --- a/libc/arch-x86/syscalls/fchdir.S +++ b/libc/arch-x86/syscalls/fchdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchdir) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fchmod.S b/libc/arch-x86/syscalls/fchmod.S index 4badcea..5c58359 100644 --- a/libc/arch-x86/syscalls/fchmod.S +++ b/libc/arch-x86/syscalls/fchmod.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmod) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fchmodat.S b/libc/arch-x86/syscalls/fchmodat.S index 552e85c..aed8d29 100644 --- a/libc/arch-x86/syscalls/fchmodat.S +++ b/libc/arch-x86/syscalls/fchmodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmodat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fchown.S b/libc/arch-x86/syscalls/fchown.S index 7e82637..da80251 100644 --- a/libc/arch-x86/syscalls/fchown.S +++ b/libc/arch-x86/syscalls/fchown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchown) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fchownat.S b/libc/arch-x86/syscalls/fchownat.S index de039d0..8514243 100644 --- a/libc/arch-x86/syscalls/fchownat.S +++ b/libc/arch-x86/syscalls/fchownat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchownat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fdatasync.S b/libc/arch-x86/syscalls/fdatasync.S index fdb5578..fc2c163 100644 --- a/libc/arch-x86/syscalls/fdatasync.S +++ b/libc/arch-x86/syscalls/fdatasync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fdatasync) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fgetxattr.S b/libc/arch-x86/syscalls/fgetxattr.S index 3ed63d3..767a675 100644 --- a/libc/arch-x86/syscalls/fgetxattr.S +++ b/libc/arch-x86/syscalls/fgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fgetxattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/flistxattr.S b/libc/arch-x86/syscalls/flistxattr.S index 2840114..dbb4977 100644 --- a/libc/arch-x86/syscalls/flistxattr.S +++ b/libc/arch-x86/syscalls/flistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flistxattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/flock.S b/libc/arch-x86/syscalls/flock.S index dc9ef02..b4b748e 100644 --- a/libc/arch-x86/syscalls/flock.S +++ b/libc/arch-x86/syscalls/flock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flock) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fremovexattr.S b/libc/arch-x86/syscalls/fremovexattr.S index 1e77f82..c34cbc4 100644 --- a/libc/arch-x86/syscalls/fremovexattr.S +++ b/libc/arch-x86/syscalls/fremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fremovexattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fsetxattr.S b/libc/arch-x86/syscalls/fsetxattr.S index 703a8d7..5593dca 100644 --- a/libc/arch-x86/syscalls/fsetxattr.S +++ b/libc/arch-x86/syscalls/fsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsetxattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fstat64.S b/libc/arch-x86/syscalls/fstat64.S index 970eeb1..2e29ae5 100644 --- a/libc/arch-x86/syscalls/fstat64.S +++ b/libc/arch-x86/syscalls/fstat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstat64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fstatat64.S b/libc/arch-x86/syscalls/fstatat64.S index 476578d..72922cb 100644 --- a/libc/arch-x86/syscalls/fstatat64.S +++ b/libc/arch-x86/syscalls/fstatat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstatat64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/fsync.S b/libc/arch-x86/syscalls/fsync.S index 9fc84b7..af10e9a 100644 --- a/libc/arch-x86/syscalls/fsync.S +++ b/libc/arch-x86/syscalls/fsync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsync) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/ftruncate.S b/libc/arch-x86/syscalls/ftruncate.S index 6765d98..7343985 100644 --- a/libc/arch-x86/syscalls/ftruncate.S +++ b/libc/arch-x86/syscalls/ftruncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(ftruncate) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/ftruncate64.S b/libc/arch-x86/syscalls/ftruncate64.S index 21e26ce..47b925b 100644 --- a/libc/arch-x86/syscalls/ftruncate64.S +++ b/libc/arch-x86/syscalls/ftruncate64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(ftruncate64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getegid.S b/libc/arch-x86/syscalls/getegid.S index 445cd97..bc21b5a 100644 --- a/libc/arch-x86/syscalls/getegid.S +++ b/libc/arch-x86/syscalls/getegid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getegid) movl $__NR_getegid32, %eax int $0x80 diff --git a/libc/arch-x86/syscalls/geteuid.S b/libc/arch-x86/syscalls/geteuid.S index 8290a93..469f9c9 100644 --- a/libc/arch-x86/syscalls/geteuid.S +++ b/libc/arch-x86/syscalls/geteuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(geteuid) movl $__NR_geteuid32, %eax int $0x80 diff --git a/libc/arch-x86/syscalls/getgid.S b/libc/arch-x86/syscalls/getgid.S index d90767f..6b15674 100644 --- a/libc/arch-x86/syscalls/getgid.S +++ b/libc/arch-x86/syscalls/getgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgid) movl $__NR_getgid32, %eax int $0x80 diff --git a/libc/arch-x86/syscalls/getgroups.S b/libc/arch-x86/syscalls/getgroups.S index d36c09c..a7aa1b2 100644 --- a/libc/arch-x86/syscalls/getgroups.S +++ b/libc/arch-x86/syscalls/getgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgroups) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getitimer.S b/libc/arch-x86/syscalls/getitimer.S index ebf1260..1b424a3 100644 --- a/libc/arch-x86/syscalls/getitimer.S +++ b/libc/arch-x86/syscalls/getitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getitimer) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getpeername.S b/libc/arch-x86/syscalls/getpeername.S index abecd4e..94b43fb 100644 --- a/libc/arch-x86/syscalls/getpeername.S +++ b/libc/arch-x86/syscalls/getpeername.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpeername) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getpgid.S b/libc/arch-x86/syscalls/getpgid.S index e74ed3b..7d7149e 100644 --- a/libc/arch-x86/syscalls/getpgid.S +++ b/libc/arch-x86/syscalls/getpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpgid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getppid.S b/libc/arch-x86/syscalls/getppid.S index 025fa42..3103ed2 100644 --- a/libc/arch-x86/syscalls/getppid.S +++ b/libc/arch-x86/syscalls/getppid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getppid) movl $__NR_getppid, %eax int $0x80 diff --git a/libc/arch-x86/syscalls/getresgid.S b/libc/arch-x86/syscalls/getresgid.S index fe08cdf..2f03a03 100644 --- a/libc/arch-x86/syscalls/getresgid.S +++ b/libc/arch-x86/syscalls/getresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresgid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getresuid.S b/libc/arch-x86/syscalls/getresuid.S index 8e292fc..d6fe915 100644 --- a/libc/arch-x86/syscalls/getresuid.S +++ b/libc/arch-x86/syscalls/getresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresuid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getrlimit.S b/libc/arch-x86/syscalls/getrlimit.S index fdb5a03..4587a2e 100644 --- a/libc/arch-x86/syscalls/getrlimit.S +++ b/libc/arch-x86/syscalls/getrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrlimit) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getrusage.S b/libc/arch-x86/syscalls/getrusage.S index ae5f796..4b2e38b 100644 --- a/libc/arch-x86/syscalls/getrusage.S +++ b/libc/arch-x86/syscalls/getrusage.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrusage) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getsid.S b/libc/arch-x86/syscalls/getsid.S index e1dc87f..eac9f2c 100644 --- a/libc/arch-x86/syscalls/getsid.S +++ b/libc/arch-x86/syscalls/getsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getsockname.S b/libc/arch-x86/syscalls/getsockname.S index 254b755..738fa6d 100644 --- a/libc/arch-x86/syscalls/getsockname.S +++ b/libc/arch-x86/syscalls/getsockname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockname) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getsockopt.S b/libc/arch-x86/syscalls/getsockopt.S index 2ef630c..f8338f5 100644 --- a/libc/arch-x86/syscalls/getsockopt.S +++ b/libc/arch-x86/syscalls/getsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockopt) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/gettimeofday.S b/libc/arch-x86/syscalls/gettimeofday.S index 709a17b..96c1e11 100644 --- a/libc/arch-x86/syscalls/gettimeofday.S +++ b/libc/arch-x86/syscalls/gettimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(gettimeofday) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/getuid.S b/libc/arch-x86/syscalls/getuid.S index c375d30..cde5da8 100644 --- a/libc/arch-x86/syscalls/getuid.S +++ b/libc/arch-x86/syscalls/getuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getuid) movl $__NR_getuid32, %eax int $0x80 diff --git a/libc/arch-x86/syscalls/getxattr.S b/libc/arch-x86/syscalls/getxattr.S index db9c9dd..7679cbf 100644 --- a/libc/arch-x86/syscalls/getxattr.S +++ b/libc/arch-x86/syscalls/getxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getxattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/init_module.S b/libc/arch-x86/syscalls/init_module.S index 543b31e..02e55f0 100644 --- a/libc/arch-x86/syscalls/init_module.S +++ b/libc/arch-x86/syscalls/init_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(init_module) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/inotify_add_watch.S b/libc/arch-x86/syscalls/inotify_add_watch.S index f58c6d1..74a59f3 100644 --- a/libc/arch-x86/syscalls/inotify_add_watch.S +++ b/libc/arch-x86/syscalls/inotify_add_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_add_watch) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/inotify_init1.S b/libc/arch-x86/syscalls/inotify_init1.S index 2c7b100..de714c9 100644 --- a/libc/arch-x86/syscalls/inotify_init1.S +++ b/libc/arch-x86/syscalls/inotify_init1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_init1) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/inotify_rm_watch.S b/libc/arch-x86/syscalls/inotify_rm_watch.S index c453478..3edc152 100644 --- a/libc/arch-x86/syscalls/inotify_rm_watch.S +++ b/libc/arch-x86/syscalls/inotify_rm_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_rm_watch) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/kill.S b/libc/arch-x86/syscalls/kill.S index 0c1e24a..0cf38a9 100644 --- a/libc/arch-x86/syscalls/kill.S +++ b/libc/arch-x86/syscalls/kill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(kill) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/klogctl.S b/libc/arch-x86/syscalls/klogctl.S index 869324a..52b04e1 100644 --- a/libc/arch-x86/syscalls/klogctl.S +++ b/libc/arch-x86/syscalls/klogctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(klogctl) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/lgetxattr.S b/libc/arch-x86/syscalls/lgetxattr.S index 3ed4f11..8c2eb47 100644 --- a/libc/arch-x86/syscalls/lgetxattr.S +++ b/libc/arch-x86/syscalls/lgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lgetxattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/linkat.S b/libc/arch-x86/syscalls/linkat.S index e0c7e5f..56b8368 100644 --- a/libc/arch-x86/syscalls/linkat.S +++ b/libc/arch-x86/syscalls/linkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(linkat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/listen.S b/libc/arch-x86/syscalls/listen.S index c65f970..2c8cc76 100644 --- a/libc/arch-x86/syscalls/listen.S +++ b/libc/arch-x86/syscalls/listen.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listen) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/listxattr.S b/libc/arch-x86/syscalls/listxattr.S index 98a5114..f43ab3c 100644 --- a/libc/arch-x86/syscalls/listxattr.S +++ b/libc/arch-x86/syscalls/listxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listxattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/llistxattr.S b/libc/arch-x86/syscalls/llistxattr.S index a5ab636..d326526 100644 --- a/libc/arch-x86/syscalls/llistxattr.S +++ b/libc/arch-x86/syscalls/llistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(llistxattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/lremovexattr.S b/libc/arch-x86/syscalls/lremovexattr.S index 508abba..b4f4817 100644 --- a/libc/arch-x86/syscalls/lremovexattr.S +++ b/libc/arch-x86/syscalls/lremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lremovexattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/lseek.S b/libc/arch-x86/syscalls/lseek.S index 5f77831..1115be8 100644 --- a/libc/arch-x86/syscalls/lseek.S +++ b/libc/arch-x86/syscalls/lseek.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lseek) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/lsetxattr.S b/libc/arch-x86/syscalls/lsetxattr.S index d878684..fc62cdd 100644 --- a/libc/arch-x86/syscalls/lsetxattr.S +++ b/libc/arch-x86/syscalls/lsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lsetxattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/madvise.S b/libc/arch-x86/syscalls/madvise.S index 3e8c7fd..1de4456 100644 --- a/libc/arch-x86/syscalls/madvise.S +++ b/libc/arch-x86/syscalls/madvise.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(madvise) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/mincore.S b/libc/arch-x86/syscalls/mincore.S index 7096f6c..118063c 100644 --- a/libc/arch-x86/syscalls/mincore.S +++ b/libc/arch-x86/syscalls/mincore.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mincore) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/mkdirat.S b/libc/arch-x86/syscalls/mkdirat.S index 862a18c..6969d2a 100644 --- a/libc/arch-x86/syscalls/mkdirat.S +++ b/libc/arch-x86/syscalls/mkdirat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mkdirat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/mknodat.S b/libc/arch-x86/syscalls/mknodat.S index e03ba42..6c743d2 100644 --- a/libc/arch-x86/syscalls/mknodat.S +++ b/libc/arch-x86/syscalls/mknodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mknodat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/mlock.S b/libc/arch-x86/syscalls/mlock.S index f582f77..5ec799e 100644 --- a/libc/arch-x86/syscalls/mlock.S +++ b/libc/arch-x86/syscalls/mlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlock) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/mlockall.S b/libc/arch-x86/syscalls/mlockall.S index becca81..72a8da5 100644 --- a/libc/arch-x86/syscalls/mlockall.S +++ b/libc/arch-x86/syscalls/mlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlockall) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/mount.S b/libc/arch-x86/syscalls/mount.S index 7be2811..1e06b8e 100644 --- a/libc/arch-x86/syscalls/mount.S +++ b/libc/arch-x86/syscalls/mount.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mount) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/mprotect.S b/libc/arch-x86/syscalls/mprotect.S index 0516c45..11037c3 100644 --- a/libc/arch-x86/syscalls/mprotect.S +++ b/libc/arch-x86/syscalls/mprotect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mprotect) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/mremap.S b/libc/arch-x86/syscalls/mremap.S index 42e75ce..b7f96ff 100644 --- a/libc/arch-x86/syscalls/mremap.S +++ b/libc/arch-x86/syscalls/mremap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mremap) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/msync.S b/libc/arch-x86/syscalls/msync.S index 66722f2..e2549f7 100644 --- a/libc/arch-x86/syscalls/msync.S +++ b/libc/arch-x86/syscalls/msync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(msync) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/munlock.S b/libc/arch-x86/syscalls/munlock.S index 2fc3aa7..6b79e99 100644 --- a/libc/arch-x86/syscalls/munlock.S +++ b/libc/arch-x86/syscalls/munlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlock) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/munlockall.S b/libc/arch-x86/syscalls/munlockall.S index 1bc99ea..96e238b 100644 --- a/libc/arch-x86/syscalls/munlockall.S +++ b/libc/arch-x86/syscalls/munlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlockall) movl $__NR_munlockall, %eax int $0x80 diff --git a/libc/arch-x86/syscalls/munmap.S b/libc/arch-x86/syscalls/munmap.S index 878aae7..a77a777 100644 --- a/libc/arch-x86/syscalls/munmap.S +++ b/libc/arch-x86/syscalls/munmap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munmap) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/nanosleep.S b/libc/arch-x86/syscalls/nanosleep.S index fe8af90..444aa7e 100644 --- a/libc/arch-x86/syscalls/nanosleep.S +++ b/libc/arch-x86/syscalls/nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(nanosleep) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/personality.S b/libc/arch-x86/syscalls/personality.S index 8c8e0ff..5344e1c 100644 --- a/libc/arch-x86/syscalls/personality.S +++ b/libc/arch-x86/syscalls/personality.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(personality) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/pipe2.S b/libc/arch-x86/syscalls/pipe2.S index 99c4e8b..62665a0 100644 --- a/libc/arch-x86/syscalls/pipe2.S +++ b/libc/arch-x86/syscalls/pipe2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pipe2) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/prctl.S b/libc/arch-x86/syscalls/prctl.S index 63ec899..28e84d8 100644 --- a/libc/arch-x86/syscalls/prctl.S +++ b/libc/arch-x86/syscalls/prctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prctl) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/pread64.S b/libc/arch-x86/syscalls/pread64.S index 6b3c8ad..e7502b9 100644 --- a/libc/arch-x86/syscalls/pread64.S +++ b/libc/arch-x86/syscalls/pread64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pread64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/prlimit64.S b/libc/arch-x86/syscalls/prlimit64.S index 6aa875f..2ca8b23 100644 --- a/libc/arch-x86/syscalls/prlimit64.S +++ b/libc/arch-x86/syscalls/prlimit64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prlimit64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/pwrite64.S b/libc/arch-x86/syscalls/pwrite64.S index 7d53095..b798a8e 100644 --- a/libc/arch-x86/syscalls/pwrite64.S +++ b/libc/arch-x86/syscalls/pwrite64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pwrite64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/read.S b/libc/arch-x86/syscalls/read.S index 9814c8f..483c5ef 100644 --- a/libc/arch-x86/syscalls/read.S +++ b/libc/arch-x86/syscalls/read.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(read) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/readahead.S b/libc/arch-x86/syscalls/readahead.S index 49a17d0..b1e0870 100644 --- a/libc/arch-x86/syscalls/readahead.S +++ b/libc/arch-x86/syscalls/readahead.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readahead) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/readlinkat.S b/libc/arch-x86/syscalls/readlinkat.S index 1a161c0..a06ae73 100644 --- a/libc/arch-x86/syscalls/readlinkat.S +++ b/libc/arch-x86/syscalls/readlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readlinkat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/readv.S b/libc/arch-x86/syscalls/readv.S index 8b5ff41..a0b46b8 100644 --- a/libc/arch-x86/syscalls/readv.S +++ b/libc/arch-x86/syscalls/readv.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readv) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/recvfrom.S b/libc/arch-x86/syscalls/recvfrom.S index 53d08f6..86f12c0 100644 --- a/libc/arch-x86/syscalls/recvfrom.S +++ b/libc/arch-x86/syscalls/recvfrom.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvfrom) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/recvmmsg.S b/libc/arch-x86/syscalls/recvmmsg.S index 3ef8740..f77f794 100644 --- a/libc/arch-x86/syscalls/recvmmsg.S +++ b/libc/arch-x86/syscalls/recvmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmmsg) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/recvmsg.S b/libc/arch-x86/syscalls/recvmsg.S index 150672d..5d25d7a 100644 --- a/libc/arch-x86/syscalls/recvmsg.S +++ b/libc/arch-x86/syscalls/recvmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmsg) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/removexattr.S b/libc/arch-x86/syscalls/removexattr.S index e7c55eb..cbbdf4e 100644 --- a/libc/arch-x86/syscalls/removexattr.S +++ b/libc/arch-x86/syscalls/removexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(removexattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/renameat.S b/libc/arch-x86/syscalls/renameat.S index 5dfe65f..e424daf 100644 --- a/libc/arch-x86/syscalls/renameat.S +++ b/libc/arch-x86/syscalls/renameat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(renameat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sched_get_priority_max.S b/libc/arch-x86/syscalls/sched_get_priority_max.S index d8debe2..eee6f92 100644 --- a/libc/arch-x86/syscalls/sched_get_priority_max.S +++ b/libc/arch-x86/syscalls/sched_get_priority_max.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_max) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sched_get_priority_min.S b/libc/arch-x86/syscalls/sched_get_priority_min.S index e9689fa..0edcab1 100644 --- a/libc/arch-x86/syscalls/sched_get_priority_min.S +++ b/libc/arch-x86/syscalls/sched_get_priority_min.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_min) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sched_getparam.S b/libc/arch-x86/syscalls/sched_getparam.S index 6b5e7c8..9a4ebbd 100644 --- a/libc/arch-x86/syscalls/sched_getparam.S +++ b/libc/arch-x86/syscalls/sched_getparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getparam) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sched_getscheduler.S b/libc/arch-x86/syscalls/sched_getscheduler.S index a2c5746..19a925e 100644 --- a/libc/arch-x86/syscalls/sched_getscheduler.S +++ b/libc/arch-x86/syscalls/sched_getscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getscheduler) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sched_rr_get_interval.S b/libc/arch-x86/syscalls/sched_rr_get_interval.S index f8012f3..c2592a9 100644 --- a/libc/arch-x86/syscalls/sched_rr_get_interval.S +++ b/libc/arch-x86/syscalls/sched_rr_get_interval.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_rr_get_interval) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sched_setaffinity.S b/libc/arch-x86/syscalls/sched_setaffinity.S index 76013f9..4a0ac86 100644 --- a/libc/arch-x86/syscalls/sched_setaffinity.S +++ b/libc/arch-x86/syscalls/sched_setaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setaffinity) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sched_setparam.S b/libc/arch-x86/syscalls/sched_setparam.S index aca4bd9..a99c0de 100644 --- a/libc/arch-x86/syscalls/sched_setparam.S +++ b/libc/arch-x86/syscalls/sched_setparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setparam) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sched_setscheduler.S b/libc/arch-x86/syscalls/sched_setscheduler.S index fad72c6..dbfd01e 100644 --- a/libc/arch-x86/syscalls/sched_setscheduler.S +++ b/libc/arch-x86/syscalls/sched_setscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setscheduler) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sched_yield.S b/libc/arch-x86/syscalls/sched_yield.S index 8b4a9be..87ebaf9 100644 --- a/libc/arch-x86/syscalls/sched_yield.S +++ b/libc/arch-x86/syscalls/sched_yield.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_yield) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sendfile.S b/libc/arch-x86/syscalls/sendfile.S index 7bd86d0..58433fb 100644 --- a/libc/arch-x86/syscalls/sendfile.S +++ b/libc/arch-x86/syscalls/sendfile.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendfile) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sendfile64.S b/libc/arch-x86/syscalls/sendfile64.S index bd76043..97c7146 100644 --- a/libc/arch-x86/syscalls/sendfile64.S +++ b/libc/arch-x86/syscalls/sendfile64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendfile64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sendmmsg.S b/libc/arch-x86/syscalls/sendmmsg.S index 4bc3c40..3c359ee 100644 --- a/libc/arch-x86/syscalls/sendmmsg.S +++ b/libc/arch-x86/syscalls/sendmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmmsg) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sendmsg.S b/libc/arch-x86/syscalls/sendmsg.S index eb8fc63..51288cc 100644 --- a/libc/arch-x86/syscalls/sendmsg.S +++ b/libc/arch-x86/syscalls/sendmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmsg) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sendto.S b/libc/arch-x86/syscalls/sendto.S index 8cb72c8..4b77f24 100644 --- a/libc/arch-x86/syscalls/sendto.S +++ b/libc/arch-x86/syscalls/sendto.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendto) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setfsgid.S b/libc/arch-x86/syscalls/setfsgid.S index fa7a5c5..a8160c3 100644 --- a/libc/arch-x86/syscalls/setfsgid.S +++ b/libc/arch-x86/syscalls/setfsgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsgid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setfsuid.S b/libc/arch-x86/syscalls/setfsuid.S index 5856a16..abcf0b3 100644 --- a/libc/arch-x86/syscalls/setfsuid.S +++ b/libc/arch-x86/syscalls/setfsuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsuid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setgid.S b/libc/arch-x86/syscalls/setgid.S index baa1b1a..47c011e 100644 --- a/libc/arch-x86/syscalls/setgid.S +++ b/libc/arch-x86/syscalls/setgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setgroups.S b/libc/arch-x86/syscalls/setgroups.S index 364aaad..7a58910 100644 --- a/libc/arch-x86/syscalls/setgroups.S +++ b/libc/arch-x86/syscalls/setgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgroups) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setitimer.S b/libc/arch-x86/syscalls/setitimer.S index 409c4c6..e87a26e 100644 --- a/libc/arch-x86/syscalls/setitimer.S +++ b/libc/arch-x86/syscalls/setitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setitimer) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setns.S b/libc/arch-x86/syscalls/setns.S index ddbe758..75f23fa 100644 --- a/libc/arch-x86/syscalls/setns.S +++ b/libc/arch-x86/syscalls/setns.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setns) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setpgid.S b/libc/arch-x86/syscalls/setpgid.S index ac1b12d..c20b789 100644 --- a/libc/arch-x86/syscalls/setpgid.S +++ b/libc/arch-x86/syscalls/setpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpgid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setpriority.S b/libc/arch-x86/syscalls/setpriority.S index 93c1e07..4606c23 100644 --- a/libc/arch-x86/syscalls/setpriority.S +++ b/libc/arch-x86/syscalls/setpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpriority) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setregid.S b/libc/arch-x86/syscalls/setregid.S index 0ecfa9a..ff6cf36 100644 --- a/libc/arch-x86/syscalls/setregid.S +++ b/libc/arch-x86/syscalls/setregid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setregid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setresgid.S b/libc/arch-x86/syscalls/setresgid.S index a6914c4..a4846ae 100644 --- a/libc/arch-x86/syscalls/setresgid.S +++ b/libc/arch-x86/syscalls/setresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresgid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setresuid.S b/libc/arch-x86/syscalls/setresuid.S index c33c1ca..6ed0fad 100644 --- a/libc/arch-x86/syscalls/setresuid.S +++ b/libc/arch-x86/syscalls/setresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresuid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setreuid.S b/libc/arch-x86/syscalls/setreuid.S index 4244988..57d7540 100644 --- a/libc/arch-x86/syscalls/setreuid.S +++ b/libc/arch-x86/syscalls/setreuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setreuid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setrlimit.S b/libc/arch-x86/syscalls/setrlimit.S index 3e86504..9ca6134 100644 --- a/libc/arch-x86/syscalls/setrlimit.S +++ b/libc/arch-x86/syscalls/setrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setrlimit) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setsid.S b/libc/arch-x86/syscalls/setsid.S index 398c110..5c933b3 100644 --- a/libc/arch-x86/syscalls/setsid.S +++ b/libc/arch-x86/syscalls/setsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsid) movl $__NR_setsid, %eax int $0x80 diff --git a/libc/arch-x86/syscalls/setsockopt.S b/libc/arch-x86/syscalls/setsockopt.S index 6ef168f..f002344 100644 --- a/libc/arch-x86/syscalls/setsockopt.S +++ b/libc/arch-x86/syscalls/setsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsockopt) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/settimeofday.S b/libc/arch-x86/syscalls/settimeofday.S index 37e11c5..b35791d 100644 --- a/libc/arch-x86/syscalls/settimeofday.S +++ b/libc/arch-x86/syscalls/settimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(settimeofday) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setuid.S b/libc/arch-x86/syscalls/setuid.S index fcea66d..f5b8315 100644 --- a/libc/arch-x86/syscalls/setuid.S +++ b/libc/arch-x86/syscalls/setuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setuid) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/setxattr.S b/libc/arch-x86/syscalls/setxattr.S index d6473cd..24eb2c4 100644 --- a/libc/arch-x86/syscalls/setxattr.S +++ b/libc/arch-x86/syscalls/setxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setxattr) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/shutdown.S b/libc/arch-x86/syscalls/shutdown.S index 32fa17a..e5497e6 100644 --- a/libc/arch-x86/syscalls/shutdown.S +++ b/libc/arch-x86/syscalls/shutdown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(shutdown) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sigaltstack.S b/libc/arch-x86/syscalls/sigaltstack.S index 6882a78..150e398 100644 --- a/libc/arch-x86/syscalls/sigaltstack.S +++ b/libc/arch-x86/syscalls/sigaltstack.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sigaltstack) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/socketpair.S b/libc/arch-x86/syscalls/socketpair.S index 945faa0..f2188e3 100644 --- a/libc/arch-x86/syscalls/socketpair.S +++ b/libc/arch-x86/syscalls/socketpair.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(socketpair) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/splice.S b/libc/arch-x86/syscalls/splice.S index 46e2312..38d9ddf 100644 --- a/libc/arch-x86/syscalls/splice.S +++ b/libc/arch-x86/syscalls/splice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(splice) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/swapoff.S b/libc/arch-x86/syscalls/swapoff.S index 0e21033..a0cbc0e 100644 --- a/libc/arch-x86/syscalls/swapoff.S +++ b/libc/arch-x86/syscalls/swapoff.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapoff) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/swapon.S b/libc/arch-x86/syscalls/swapon.S index a4d5e03..5a2bc94 100644 --- a/libc/arch-x86/syscalls/swapon.S +++ b/libc/arch-x86/syscalls/swapon.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapon) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/symlinkat.S b/libc/arch-x86/syscalls/symlinkat.S index 618f5d8..7d7a9da 100644 --- a/libc/arch-x86/syscalls/symlinkat.S +++ b/libc/arch-x86/syscalls/symlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(symlinkat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sync.S b/libc/arch-x86/syscalls/sync.S index a1f1782..423c01d 100644 --- a/libc/arch-x86/syscalls/sync.S +++ b/libc/arch-x86/syscalls/sync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sync) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/sysinfo.S b/libc/arch-x86/syscalls/sysinfo.S index c3eabb0..0870761 100644 --- a/libc/arch-x86/syscalls/sysinfo.S +++ b/libc/arch-x86/syscalls/sysinfo.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sysinfo) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/tee.S b/libc/arch-x86/syscalls/tee.S index 9422660..85ff3cc 100644 --- a/libc/arch-x86/syscalls/tee.S +++ b/libc/arch-x86/syscalls/tee.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tee) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/tgkill.S b/libc/arch-x86/syscalls/tgkill.S index 385827b..aab80e1 100644 --- a/libc/arch-x86/syscalls/tgkill.S +++ b/libc/arch-x86/syscalls/tgkill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tgkill) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/timerfd_create.S b/libc/arch-x86/syscalls/timerfd_create.S index 343195e..f1bef4c 100644 --- a/libc/arch-x86/syscalls/timerfd_create.S +++ b/libc/arch-x86/syscalls/timerfd_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_create) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/timerfd_gettime.S b/libc/arch-x86/syscalls/timerfd_gettime.S index 9b3a314..d7ec28f 100644 --- a/libc/arch-x86/syscalls/timerfd_gettime.S +++ b/libc/arch-x86/syscalls/timerfd_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_gettime) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/timerfd_settime.S b/libc/arch-x86/syscalls/timerfd_settime.S index 819b723..7e03edb 100644 --- a/libc/arch-x86/syscalls/timerfd_settime.S +++ b/libc/arch-x86/syscalls/timerfd_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_settime) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/times.S b/libc/arch-x86/syscalls/times.S index f5739d3..6a14cff 100644 --- a/libc/arch-x86/syscalls/times.S +++ b/libc/arch-x86/syscalls/times.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(times) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/truncate.S b/libc/arch-x86/syscalls/truncate.S index 427f95f..33ce47f 100644 --- a/libc/arch-x86/syscalls/truncate.S +++ b/libc/arch-x86/syscalls/truncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(truncate) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/truncate64.S b/libc/arch-x86/syscalls/truncate64.S index 2c49751..2168eb4 100644 --- a/libc/arch-x86/syscalls/truncate64.S +++ b/libc/arch-x86/syscalls/truncate64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(truncate64) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/umask.S b/libc/arch-x86/syscalls/umask.S index 3affc8d..03bee20 100644 --- a/libc/arch-x86/syscalls/umask.S +++ b/libc/arch-x86/syscalls/umask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umask) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/umount2.S b/libc/arch-x86/syscalls/umount2.S index d2b3549..9701e03 100644 --- a/libc/arch-x86/syscalls/umount2.S +++ b/libc/arch-x86/syscalls/umount2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umount2) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/uname.S b/libc/arch-x86/syscalls/uname.S index e996805..6de3b41 100644 --- a/libc/arch-x86/syscalls/uname.S +++ b/libc/arch-x86/syscalls/uname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(uname) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/unlinkat.S b/libc/arch-x86/syscalls/unlinkat.S index 6417d2b..93ea201 100644 --- a/libc/arch-x86/syscalls/unlinkat.S +++ b/libc/arch-x86/syscalls/unlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unlinkat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/unshare.S b/libc/arch-x86/syscalls/unshare.S index a289d4d..9d11466 100644 --- a/libc/arch-x86/syscalls/unshare.S +++ b/libc/arch-x86/syscalls/unshare.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unshare) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/utimensat.S b/libc/arch-x86/syscalls/utimensat.S index d8c9080..62e1525 100644 --- a/libc/arch-x86/syscalls/utimensat.S +++ b/libc/arch-x86/syscalls/utimensat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(utimensat) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/vmsplice.S b/libc/arch-x86/syscalls/vmsplice.S index 2afba60..4707635 100644 --- a/libc/arch-x86/syscalls/vmsplice.S +++ b/libc/arch-x86/syscalls/vmsplice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(vmsplice) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/wait4.S b/libc/arch-x86/syscalls/wait4.S index fda75c0..137b721 100644 --- a/libc/arch-x86/syscalls/wait4.S +++ b/libc/arch-x86/syscalls/wait4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(wait4) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/write.S b/libc/arch-x86/syscalls/write.S index 115974e..2f040b2 100644 --- a/libc/arch-x86/syscalls/write.S +++ b/libc/arch-x86/syscalls/write.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(write) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86/syscalls/writev.S b/libc/arch-x86/syscalls/writev.S index 77e5cd1..2840eea 100644 --- a/libc/arch-x86/syscalls/writev.S +++ b/libc/arch-x86/syscalls/writev.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(writev) pushl %ebx .cfi_def_cfa_offset 8 diff --git a/libc/arch-x86_64/syscalls/__accept4.S b/libc/arch-x86_64/syscalls/__accept4.S index 375a78b..774cdd5 100644 --- a/libc/arch-x86_64/syscalls/__accept4.S +++ b/libc/arch-x86_64/syscalls/__accept4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__accept4) movq %rcx, %r10 movl $__NR_accept4, %eax diff --git a/libc/arch-x86_64/syscalls/__arch_prctl.S b/libc/arch-x86_64/syscalls/__arch_prctl.S index 6c72a6c..c0dad45 100644 --- a/libc/arch-x86_64/syscalls/__arch_prctl.S +++ b/libc/arch-x86_64/syscalls/__arch_prctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__arch_prctl) movl $__NR_arch_prctl, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__brk.S b/libc/arch-x86_64/syscalls/__brk.S index 18ebc10..df942a1 100644 --- a/libc/arch-x86_64/syscalls/__brk.S +++ b/libc/arch-x86_64/syscalls/__brk.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__brk) movl $__NR_brk, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__clock_gettime.S b/libc/arch-x86_64/syscalls/__clock_gettime.S index 7e553b8..6c11fb6 100644 --- a/libc/arch-x86_64/syscalls/__clock_gettime.S +++ b/libc/arch-x86_64/syscalls/__clock_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__clock_gettime) movl $__NR_clock_gettime, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__connect.S b/libc/arch-x86_64/syscalls/__connect.S index a7d2e93..05a8202 100644 --- a/libc/arch-x86_64/syscalls/__connect.S +++ b/libc/arch-x86_64/syscalls/__connect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__connect) movl $__NR_connect, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__epoll_pwait.S b/libc/arch-x86_64/syscalls/__epoll_pwait.S index 4271b53..b0aee80 100644 --- a/libc/arch-x86_64/syscalls/__epoll_pwait.S +++ b/libc/arch-x86_64/syscalls/__epoll_pwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__epoll_pwait) movq %rcx, %r10 movl $__NR_epoll_pwait, %eax diff --git a/libc/arch-x86_64/syscalls/__exit.S b/libc/arch-x86_64/syscalls/__exit.S index bcbaffc..e552f04 100644 --- a/libc/arch-x86_64/syscalls/__exit.S +++ b/libc/arch-x86_64/syscalls/__exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__exit) movl $__NR_exit, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__getcpu.S b/libc/arch-x86_64/syscalls/__getcpu.S index c25f294..c415fd7 100644 --- a/libc/arch-x86_64/syscalls/__getcpu.S +++ b/libc/arch-x86_64/syscalls/__getcpu.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcpu) movl $__NR_getcpu, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__getcwd.S b/libc/arch-x86_64/syscalls/__getcwd.S index 1743838..1ea5651 100644 --- a/libc/arch-x86_64/syscalls/__getcwd.S +++ b/libc/arch-x86_64/syscalls/__getcwd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getcwd) movl $__NR_getcwd, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__getdents64.S b/libc/arch-x86_64/syscalls/__getdents64.S index 64f82fd..42c130c 100644 --- a/libc/arch-x86_64/syscalls/__getdents64.S +++ b/libc/arch-x86_64/syscalls/__getdents64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getdents64) movl $__NR_getdents64, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__getpid.S b/libc/arch-x86_64/syscalls/__getpid.S index bd1bf1e..ae6bb49 100644 --- a/libc/arch-x86_64/syscalls/__getpid.S +++ b/libc/arch-x86_64/syscalls/__getpid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpid) movl $__NR_getpid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__getpriority.S b/libc/arch-x86_64/syscalls/__getpriority.S index 349f574..c82b008 100644 --- a/libc/arch-x86_64/syscalls/__getpriority.S +++ b/libc/arch-x86_64/syscalls/__getpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__getpriority) movl $__NR_getpriority, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__gettimeofday.S b/libc/arch-x86_64/syscalls/__gettimeofday.S index a38eb64..e4b2409 100644 --- a/libc/arch-x86_64/syscalls/__gettimeofday.S +++ b/libc/arch-x86_64/syscalls/__gettimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__gettimeofday) movl $__NR_gettimeofday, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__ioctl.S b/libc/arch-x86_64/syscalls/__ioctl.S index 2775911..aa2f538 100644 --- a/libc/arch-x86_64/syscalls/__ioctl.S +++ b/libc/arch-x86_64/syscalls/__ioctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ioctl) movl $__NR_ioctl, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__openat.S b/libc/arch-x86_64/syscalls/__openat.S index dce4c7c..e7f5dc4 100644 --- a/libc/arch-x86_64/syscalls/__openat.S +++ b/libc/arch-x86_64/syscalls/__openat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__openat) movq %rcx, %r10 movl $__NR_openat, %eax diff --git a/libc/arch-x86_64/syscalls/__ppoll.S b/libc/arch-x86_64/syscalls/__ppoll.S index 31ba7e9..eb741ce 100644 --- a/libc/arch-x86_64/syscalls/__ppoll.S +++ b/libc/arch-x86_64/syscalls/__ppoll.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ppoll) movq %rcx, %r10 movl $__NR_ppoll, %eax diff --git a/libc/arch-x86_64/syscalls/__pselect6.S b/libc/arch-x86_64/syscalls/__pselect6.S index a212c4e..75ea416 100644 --- a/libc/arch-x86_64/syscalls/__pselect6.S +++ b/libc/arch-x86_64/syscalls/__pselect6.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__pselect6) movq %rcx, %r10 movl $__NR_pselect6, %eax diff --git a/libc/arch-x86_64/syscalls/__ptrace.S b/libc/arch-x86_64/syscalls/__ptrace.S index 0a64fee..45724e4 100644 --- a/libc/arch-x86_64/syscalls/__ptrace.S +++ b/libc/arch-x86_64/syscalls/__ptrace.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__ptrace) movq %rcx, %r10 movl $__NR_ptrace, %eax diff --git a/libc/arch-x86_64/syscalls/__reboot.S b/libc/arch-x86_64/syscalls/__reboot.S index 398d078..bbff3f2 100644 --- a/libc/arch-x86_64/syscalls/__reboot.S +++ b/libc/arch-x86_64/syscalls/__reboot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__reboot) movq %rcx, %r10 movl $__NR_reboot, %eax diff --git a/libc/arch-x86_64/syscalls/__rt_sigaction.S b/libc/arch-x86_64/syscalls/__rt_sigaction.S index f146b02..7ce3d8c 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigaction.S +++ b/libc/arch-x86_64/syscalls/__rt_sigaction.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigaction) movq %rcx, %r10 movl $__NR_rt_sigaction, %eax diff --git a/libc/arch-x86_64/syscalls/__rt_sigpending.S b/libc/arch-x86_64/syscalls/__rt_sigpending.S index 9d1698b..78c10ed 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigpending.S +++ b/libc/arch-x86_64/syscalls/__rt_sigpending.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigpending) movl $__NR_rt_sigpending, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__rt_sigprocmask.S b/libc/arch-x86_64/syscalls/__rt_sigprocmask.S index 1ac9b81..bf2841c 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigprocmask.S +++ b/libc/arch-x86_64/syscalls/__rt_sigprocmask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigprocmask) movq %rcx, %r10 movl $__NR_rt_sigprocmask, %eax diff --git a/libc/arch-x86_64/syscalls/__rt_sigsuspend.S b/libc/arch-x86_64/syscalls/__rt_sigsuspend.S index 1059f0b..a82b052 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigsuspend.S +++ b/libc/arch-x86_64/syscalls/__rt_sigsuspend.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigsuspend) movl $__NR_rt_sigsuspend, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S b/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S index de2e4cb..aceacb2 100644 --- a/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S +++ b/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__rt_sigtimedwait) movq %rcx, %r10 movl $__NR_rt_sigtimedwait, %eax diff --git a/libc/arch-x86_64/syscalls/__sched_getaffinity.S b/libc/arch-x86_64/syscalls/__sched_getaffinity.S index 410954c..fd1f607 100644 --- a/libc/arch-x86_64/syscalls/__sched_getaffinity.S +++ b/libc/arch-x86_64/syscalls/__sched_getaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__sched_getaffinity) movl $__NR_sched_getaffinity, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__set_tid_address.S b/libc/arch-x86_64/syscalls/__set_tid_address.S index c59c8b8..7e5226d 100644 --- a/libc/arch-x86_64/syscalls/__set_tid_address.S +++ b/libc/arch-x86_64/syscalls/__set_tid_address.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__set_tid_address) movl $__NR_set_tid_address, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__signalfd4.S b/libc/arch-x86_64/syscalls/__signalfd4.S index 6ddcf5a..d27f63c 100644 --- a/libc/arch-x86_64/syscalls/__signalfd4.S +++ b/libc/arch-x86_64/syscalls/__signalfd4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__signalfd4) movq %rcx, %r10 movl $__NR_signalfd4, %eax diff --git a/libc/arch-x86_64/syscalls/__socket.S b/libc/arch-x86_64/syscalls/__socket.S index 209e329..3b573e8 100644 --- a/libc/arch-x86_64/syscalls/__socket.S +++ b/libc/arch-x86_64/syscalls/__socket.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__socket) movl $__NR_socket, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__timer_create.S b/libc/arch-x86_64/syscalls/__timer_create.S index 3450d2b..920c935 100644 --- a/libc/arch-x86_64/syscalls/__timer_create.S +++ b/libc/arch-x86_64/syscalls/__timer_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_create) movl $__NR_timer_create, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__timer_delete.S b/libc/arch-x86_64/syscalls/__timer_delete.S index fd60a16..c76830e 100644 --- a/libc/arch-x86_64/syscalls/__timer_delete.S +++ b/libc/arch-x86_64/syscalls/__timer_delete.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_delete) movl $__NR_timer_delete, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__timer_getoverrun.S b/libc/arch-x86_64/syscalls/__timer_getoverrun.S index f5309a3..e35ee93 100644 --- a/libc/arch-x86_64/syscalls/__timer_getoverrun.S +++ b/libc/arch-x86_64/syscalls/__timer_getoverrun.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_getoverrun) movl $__NR_timer_getoverrun, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__timer_gettime.S b/libc/arch-x86_64/syscalls/__timer_gettime.S index 7e2bc92..8bb41d9 100644 --- a/libc/arch-x86_64/syscalls/__timer_gettime.S +++ b/libc/arch-x86_64/syscalls/__timer_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_gettime) movl $__NR_timer_gettime, %eax syscall diff --git a/libc/arch-x86_64/syscalls/__timer_settime.S b/libc/arch-x86_64/syscalls/__timer_settime.S index f5401a0..0eace4b 100644 --- a/libc/arch-x86_64/syscalls/__timer_settime.S +++ b/libc/arch-x86_64/syscalls/__timer_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__timer_settime) movq %rcx, %r10 movl $__NR_timer_settime, %eax diff --git a/libc/arch-x86_64/syscalls/__waitid.S b/libc/arch-x86_64/syscalls/__waitid.S index 229f20c..47bf7b3 100644 --- a/libc/arch-x86_64/syscalls/__waitid.S +++ b/libc/arch-x86_64/syscalls/__waitid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(__waitid) movq %rcx, %r10 movl $__NR_waitid, %eax diff --git a/libc/arch-x86_64/syscalls/_exit.S b/libc/arch-x86_64/syscalls/_exit.S index 9c80f00..06465c4 100644 --- a/libc/arch-x86_64/syscalls/_exit.S +++ b/libc/arch-x86_64/syscalls/_exit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(_exit) movl $__NR_exit_group, %eax syscall diff --git a/libc/arch-x86_64/syscalls/acct.S b/libc/arch-x86_64/syscalls/acct.S index 91ecf5b..6bf59e3 100644 --- a/libc/arch-x86_64/syscalls/acct.S +++ b/libc/arch-x86_64/syscalls/acct.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(acct) movl $__NR_acct, %eax syscall diff --git a/libc/arch-x86_64/syscalls/bind.S b/libc/arch-x86_64/syscalls/bind.S index 5d426cb..4300c00 100644 --- a/libc/arch-x86_64/syscalls/bind.S +++ b/libc/arch-x86_64/syscalls/bind.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(bind) movl $__NR_bind, %eax syscall diff --git a/libc/arch-x86_64/syscalls/capget.S b/libc/arch-x86_64/syscalls/capget.S index d3d151e..8ce1846 100644 --- a/libc/arch-x86_64/syscalls/capget.S +++ b/libc/arch-x86_64/syscalls/capget.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capget) movl $__NR_capget, %eax syscall diff --git a/libc/arch-x86_64/syscalls/capset.S b/libc/arch-x86_64/syscalls/capset.S index 421f156..3aff07c 100644 --- a/libc/arch-x86_64/syscalls/capset.S +++ b/libc/arch-x86_64/syscalls/capset.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(capset) movl $__NR_capset, %eax syscall diff --git a/libc/arch-x86_64/syscalls/chdir.S b/libc/arch-x86_64/syscalls/chdir.S index 7a6f651..f22b40d 100644 --- a/libc/arch-x86_64/syscalls/chdir.S +++ b/libc/arch-x86_64/syscalls/chdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chdir) movl $__NR_chdir, %eax syscall diff --git a/libc/arch-x86_64/syscalls/chroot.S b/libc/arch-x86_64/syscalls/chroot.S index 0f53fd9..eb8a463 100644 --- a/libc/arch-x86_64/syscalls/chroot.S +++ b/libc/arch-x86_64/syscalls/chroot.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(chroot) movl $__NR_chroot, %eax syscall diff --git a/libc/arch-x86_64/syscalls/clock_getres.S b/libc/arch-x86_64/syscalls/clock_getres.S index bad0d78..00b4ed6 100644 --- a/libc/arch-x86_64/syscalls/clock_getres.S +++ b/libc/arch-x86_64/syscalls/clock_getres.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_getres) movl $__NR_clock_getres, %eax syscall diff --git a/libc/arch-x86_64/syscalls/clock_nanosleep.S b/libc/arch-x86_64/syscalls/clock_nanosleep.S index 2ef0d05..8bc87ae 100644 --- a/libc/arch-x86_64/syscalls/clock_nanosleep.S +++ b/libc/arch-x86_64/syscalls/clock_nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_nanosleep) movq %rcx, %r10 movl $__NR_clock_nanosleep, %eax diff --git a/libc/arch-x86_64/syscalls/clock_settime.S b/libc/arch-x86_64/syscalls/clock_settime.S index 6a3b75b..5225770 100644 --- a/libc/arch-x86_64/syscalls/clock_settime.S +++ b/libc/arch-x86_64/syscalls/clock_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(clock_settime) movl $__NR_clock_settime, %eax syscall diff --git a/libc/arch-x86_64/syscalls/close.S b/libc/arch-x86_64/syscalls/close.S index 41c8403..029d09a 100644 --- a/libc/arch-x86_64/syscalls/close.S +++ b/libc/arch-x86_64/syscalls/close.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(close) movl $__NR_close, %eax syscall diff --git a/libc/arch-x86_64/syscalls/delete_module.S b/libc/arch-x86_64/syscalls/delete_module.S index d3f3862..fc146bb 100644 --- a/libc/arch-x86_64/syscalls/delete_module.S +++ b/libc/arch-x86_64/syscalls/delete_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(delete_module) movl $__NR_delete_module, %eax syscall diff --git a/libc/arch-x86_64/syscalls/dup.S b/libc/arch-x86_64/syscalls/dup.S index bf2ca51..53f06b0 100644 --- a/libc/arch-x86_64/syscalls/dup.S +++ b/libc/arch-x86_64/syscalls/dup.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup) movl $__NR_dup, %eax syscall diff --git a/libc/arch-x86_64/syscalls/dup3.S b/libc/arch-x86_64/syscalls/dup3.S index f5c929c..fb99941 100644 --- a/libc/arch-x86_64/syscalls/dup3.S +++ b/libc/arch-x86_64/syscalls/dup3.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(dup3) movl $__NR_dup3, %eax syscall diff --git a/libc/arch-x86_64/syscalls/epoll_create1.S b/libc/arch-x86_64/syscalls/epoll_create1.S index 196a3c7..6aa1915 100644 --- a/libc/arch-x86_64/syscalls/epoll_create1.S +++ b/libc/arch-x86_64/syscalls/epoll_create1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_create1) movl $__NR_epoll_create1, %eax syscall diff --git a/libc/arch-x86_64/syscalls/epoll_ctl.S b/libc/arch-x86_64/syscalls/epoll_ctl.S index 2a3517c..c9dda01 100644 --- a/libc/arch-x86_64/syscalls/epoll_ctl.S +++ b/libc/arch-x86_64/syscalls/epoll_ctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(epoll_ctl) movq %rcx, %r10 movl $__NR_epoll_ctl, %eax diff --git a/libc/arch-x86_64/syscalls/eventfd.S b/libc/arch-x86_64/syscalls/eventfd.S index 3ed4baf..ac7537f 100644 --- a/libc/arch-x86_64/syscalls/eventfd.S +++ b/libc/arch-x86_64/syscalls/eventfd.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(eventfd) movl $__NR_eventfd2, %eax syscall diff --git a/libc/arch-x86_64/syscalls/execve.S b/libc/arch-x86_64/syscalls/execve.S index 1fe29c7..a699303 100644 --- a/libc/arch-x86_64/syscalls/execve.S +++ b/libc/arch-x86_64/syscalls/execve.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(execve) movl $__NR_execve, %eax syscall diff --git a/libc/arch-x86_64/syscalls/faccessat.S b/libc/arch-x86_64/syscalls/faccessat.S index 3ea905c..9426dd5 100644 --- a/libc/arch-x86_64/syscalls/faccessat.S +++ b/libc/arch-x86_64/syscalls/faccessat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(faccessat) movq %rcx, %r10 movl $__NR_faccessat, %eax diff --git a/libc/arch-x86_64/syscalls/fallocate.S b/libc/arch-x86_64/syscalls/fallocate.S index abaa303..91a2e65 100644 --- a/libc/arch-x86_64/syscalls/fallocate.S +++ b/libc/arch-x86_64/syscalls/fallocate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fallocate) movq %rcx, %r10 movl $__NR_fallocate, %eax diff --git a/libc/arch-x86_64/syscalls/fchdir.S b/libc/arch-x86_64/syscalls/fchdir.S index b01bb57..01c5030 100644 --- a/libc/arch-x86_64/syscalls/fchdir.S +++ b/libc/arch-x86_64/syscalls/fchdir.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchdir) movl $__NR_fchdir, %eax syscall diff --git a/libc/arch-x86_64/syscalls/fchmod.S b/libc/arch-x86_64/syscalls/fchmod.S index 868638f..1f4d02b 100644 --- a/libc/arch-x86_64/syscalls/fchmod.S +++ b/libc/arch-x86_64/syscalls/fchmod.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmod) movl $__NR_fchmod, %eax syscall diff --git a/libc/arch-x86_64/syscalls/fchmodat.S b/libc/arch-x86_64/syscalls/fchmodat.S index e045a13..cee05e3 100644 --- a/libc/arch-x86_64/syscalls/fchmodat.S +++ b/libc/arch-x86_64/syscalls/fchmodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchmodat) movq %rcx, %r10 movl $__NR_fchmodat, %eax diff --git a/libc/arch-x86_64/syscalls/fchown.S b/libc/arch-x86_64/syscalls/fchown.S index 9ba775b..1c43991 100644 --- a/libc/arch-x86_64/syscalls/fchown.S +++ b/libc/arch-x86_64/syscalls/fchown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchown) movl $__NR_fchown, %eax syscall diff --git a/libc/arch-x86_64/syscalls/fchownat.S b/libc/arch-x86_64/syscalls/fchownat.S index 7789d2d..8f77888 100644 --- a/libc/arch-x86_64/syscalls/fchownat.S +++ b/libc/arch-x86_64/syscalls/fchownat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fchownat) movq %rcx, %r10 movl $__NR_fchownat, %eax diff --git a/libc/arch-x86_64/syscalls/fcntl.S b/libc/arch-x86_64/syscalls/fcntl.S index a20d938..d415467 100644 --- a/libc/arch-x86_64/syscalls/fcntl.S +++ b/libc/arch-x86_64/syscalls/fcntl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fcntl) movl $__NR_fcntl, %eax syscall diff --git a/libc/arch-x86_64/syscalls/fdatasync.S b/libc/arch-x86_64/syscalls/fdatasync.S index 5ea8ebd..8ec4193 100644 --- a/libc/arch-x86_64/syscalls/fdatasync.S +++ b/libc/arch-x86_64/syscalls/fdatasync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fdatasync) movl $__NR_fdatasync, %eax syscall diff --git a/libc/arch-x86_64/syscalls/fgetxattr.S b/libc/arch-x86_64/syscalls/fgetxattr.S index 096c30f..9aacdbd 100644 --- a/libc/arch-x86_64/syscalls/fgetxattr.S +++ b/libc/arch-x86_64/syscalls/fgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fgetxattr) movq %rcx, %r10 movl $__NR_fgetxattr, %eax diff --git a/libc/arch-x86_64/syscalls/flistxattr.S b/libc/arch-x86_64/syscalls/flistxattr.S index e0e5b8b..53c58d0 100644 --- a/libc/arch-x86_64/syscalls/flistxattr.S +++ b/libc/arch-x86_64/syscalls/flistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flistxattr) movl $__NR_flistxattr, %eax syscall diff --git a/libc/arch-x86_64/syscalls/flock.S b/libc/arch-x86_64/syscalls/flock.S index 981d86e..fe57b47 100644 --- a/libc/arch-x86_64/syscalls/flock.S +++ b/libc/arch-x86_64/syscalls/flock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(flock) movl $__NR_flock, %eax syscall diff --git a/libc/arch-x86_64/syscalls/fremovexattr.S b/libc/arch-x86_64/syscalls/fremovexattr.S index 655bdef..c37cc93 100644 --- a/libc/arch-x86_64/syscalls/fremovexattr.S +++ b/libc/arch-x86_64/syscalls/fremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fremovexattr) movl $__NR_fremovexattr, %eax syscall diff --git a/libc/arch-x86_64/syscalls/fsetxattr.S b/libc/arch-x86_64/syscalls/fsetxattr.S index fa2bddc..cc3d7b7 100644 --- a/libc/arch-x86_64/syscalls/fsetxattr.S +++ b/libc/arch-x86_64/syscalls/fsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsetxattr) movq %rcx, %r10 movl $__NR_fsetxattr, %eax diff --git a/libc/arch-x86_64/syscalls/fstat64.S b/libc/arch-x86_64/syscalls/fstat64.S index 9e7aa2d..dbc6760 100644 --- a/libc/arch-x86_64/syscalls/fstat64.S +++ b/libc/arch-x86_64/syscalls/fstat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstat64) movl $__NR_fstat, %eax syscall diff --git a/libc/arch-x86_64/syscalls/fstatat64.S b/libc/arch-x86_64/syscalls/fstatat64.S index 5418cd0..28b91fa 100644 --- a/libc/arch-x86_64/syscalls/fstatat64.S +++ b/libc/arch-x86_64/syscalls/fstatat64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstatat64) movq %rcx, %r10 movl $__NR_newfstatat, %eax diff --git a/libc/arch-x86_64/syscalls/fstatfs64.S b/libc/arch-x86_64/syscalls/fstatfs64.S index ee2daa2..4b12afb 100644 --- a/libc/arch-x86_64/syscalls/fstatfs64.S +++ b/libc/arch-x86_64/syscalls/fstatfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fstatfs64) movl $__NR_fstatfs, %eax syscall diff --git a/libc/arch-x86_64/syscalls/fsync.S b/libc/arch-x86_64/syscalls/fsync.S index 12eabd3..820502e 100644 --- a/libc/arch-x86_64/syscalls/fsync.S +++ b/libc/arch-x86_64/syscalls/fsync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(fsync) movl $__NR_fsync, %eax syscall diff --git a/libc/arch-x86_64/syscalls/ftruncate.S b/libc/arch-x86_64/syscalls/ftruncate.S index 11161a7..0b14403 100644 --- a/libc/arch-x86_64/syscalls/ftruncate.S +++ b/libc/arch-x86_64/syscalls/ftruncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(ftruncate) movl $__NR_ftruncate, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getegid.S b/libc/arch-x86_64/syscalls/getegid.S index 6f9c2a8..155d37b 100644 --- a/libc/arch-x86_64/syscalls/getegid.S +++ b/libc/arch-x86_64/syscalls/getegid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getegid) movl $__NR_getegid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/geteuid.S b/libc/arch-x86_64/syscalls/geteuid.S index 88000ef..9ffa3cd 100644 --- a/libc/arch-x86_64/syscalls/geteuid.S +++ b/libc/arch-x86_64/syscalls/geteuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(geteuid) movl $__NR_geteuid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getgid.S b/libc/arch-x86_64/syscalls/getgid.S index 8f8eaa6..d9c9da9 100644 --- a/libc/arch-x86_64/syscalls/getgid.S +++ b/libc/arch-x86_64/syscalls/getgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgid) movl $__NR_getgid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getgroups.S b/libc/arch-x86_64/syscalls/getgroups.S index 5358a3e..9f0701a 100644 --- a/libc/arch-x86_64/syscalls/getgroups.S +++ b/libc/arch-x86_64/syscalls/getgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getgroups) movl $__NR_getgroups, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getitimer.S b/libc/arch-x86_64/syscalls/getitimer.S index b6a6e8e..2d76430 100644 --- a/libc/arch-x86_64/syscalls/getitimer.S +++ b/libc/arch-x86_64/syscalls/getitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getitimer) movl $__NR_getitimer, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getpeername.S b/libc/arch-x86_64/syscalls/getpeername.S index 98e06fb..b6de183 100644 --- a/libc/arch-x86_64/syscalls/getpeername.S +++ b/libc/arch-x86_64/syscalls/getpeername.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpeername) movl $__NR_getpeername, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getpgid.S b/libc/arch-x86_64/syscalls/getpgid.S index 158f14d..e321b66 100644 --- a/libc/arch-x86_64/syscalls/getpgid.S +++ b/libc/arch-x86_64/syscalls/getpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getpgid) movl $__NR_getpgid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getppid.S b/libc/arch-x86_64/syscalls/getppid.S index e4853e0..4a238ad 100644 --- a/libc/arch-x86_64/syscalls/getppid.S +++ b/libc/arch-x86_64/syscalls/getppid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getppid) movl $__NR_getppid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getresgid.S b/libc/arch-x86_64/syscalls/getresgid.S index d65fb13..4727d29 100644 --- a/libc/arch-x86_64/syscalls/getresgid.S +++ b/libc/arch-x86_64/syscalls/getresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresgid) movl $__NR_getresgid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getresuid.S b/libc/arch-x86_64/syscalls/getresuid.S index 80d85c6..1098d56 100644 --- a/libc/arch-x86_64/syscalls/getresuid.S +++ b/libc/arch-x86_64/syscalls/getresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getresuid) movl $__NR_getresuid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getrlimit.S b/libc/arch-x86_64/syscalls/getrlimit.S index ea0ca7d..60e5881 100644 --- a/libc/arch-x86_64/syscalls/getrlimit.S +++ b/libc/arch-x86_64/syscalls/getrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrlimit) movl $__NR_getrlimit, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getrusage.S b/libc/arch-x86_64/syscalls/getrusage.S index 7a60738..0eb0176 100644 --- a/libc/arch-x86_64/syscalls/getrusage.S +++ b/libc/arch-x86_64/syscalls/getrusage.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getrusage) movl $__NR_getrusage, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getsid.S b/libc/arch-x86_64/syscalls/getsid.S index 75e3fad..2543b10 100644 --- a/libc/arch-x86_64/syscalls/getsid.S +++ b/libc/arch-x86_64/syscalls/getsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsid) movl $__NR_getsid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getsockname.S b/libc/arch-x86_64/syscalls/getsockname.S index 3c7c2f8..17cd5ea 100644 --- a/libc/arch-x86_64/syscalls/getsockname.S +++ b/libc/arch-x86_64/syscalls/getsockname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockname) movl $__NR_getsockname, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getsockopt.S b/libc/arch-x86_64/syscalls/getsockopt.S index 725757c..988a2cb 100644 --- a/libc/arch-x86_64/syscalls/getsockopt.S +++ b/libc/arch-x86_64/syscalls/getsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getsockopt) movq %rcx, %r10 movl $__NR_getsockopt, %eax diff --git a/libc/arch-x86_64/syscalls/getuid.S b/libc/arch-x86_64/syscalls/getuid.S index d7306e1..9b7a1d9 100644 --- a/libc/arch-x86_64/syscalls/getuid.S +++ b/libc/arch-x86_64/syscalls/getuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getuid) movl $__NR_getuid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/getxattr.S b/libc/arch-x86_64/syscalls/getxattr.S index 7c66b0e..4d6aecf 100644 --- a/libc/arch-x86_64/syscalls/getxattr.S +++ b/libc/arch-x86_64/syscalls/getxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(getxattr) movq %rcx, %r10 movl $__NR_getxattr, %eax diff --git a/libc/arch-x86_64/syscalls/init_module.S b/libc/arch-x86_64/syscalls/init_module.S index 187f5a2..2c51414 100644 --- a/libc/arch-x86_64/syscalls/init_module.S +++ b/libc/arch-x86_64/syscalls/init_module.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(init_module) movl $__NR_init_module, %eax syscall diff --git a/libc/arch-x86_64/syscalls/inotify_add_watch.S b/libc/arch-x86_64/syscalls/inotify_add_watch.S index 47e15ab..da5aa36 100644 --- a/libc/arch-x86_64/syscalls/inotify_add_watch.S +++ b/libc/arch-x86_64/syscalls/inotify_add_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_add_watch) movl $__NR_inotify_add_watch, %eax syscall diff --git a/libc/arch-x86_64/syscalls/inotify_init1.S b/libc/arch-x86_64/syscalls/inotify_init1.S index 160b0d5..46e5014 100644 --- a/libc/arch-x86_64/syscalls/inotify_init1.S +++ b/libc/arch-x86_64/syscalls/inotify_init1.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_init1) movl $__NR_inotify_init1, %eax syscall diff --git a/libc/arch-x86_64/syscalls/inotify_rm_watch.S b/libc/arch-x86_64/syscalls/inotify_rm_watch.S index 4c5874e..5920c9d 100644 --- a/libc/arch-x86_64/syscalls/inotify_rm_watch.S +++ b/libc/arch-x86_64/syscalls/inotify_rm_watch.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(inotify_rm_watch) movl $__NR_inotify_rm_watch, %eax syscall diff --git a/libc/arch-x86_64/syscalls/kill.S b/libc/arch-x86_64/syscalls/kill.S index f234585..dff2da6 100644 --- a/libc/arch-x86_64/syscalls/kill.S +++ b/libc/arch-x86_64/syscalls/kill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(kill) movl $__NR_kill, %eax syscall diff --git a/libc/arch-x86_64/syscalls/klogctl.S b/libc/arch-x86_64/syscalls/klogctl.S index 057b066..8560d28 100644 --- a/libc/arch-x86_64/syscalls/klogctl.S +++ b/libc/arch-x86_64/syscalls/klogctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(klogctl) movl $__NR_syslog, %eax syscall diff --git a/libc/arch-x86_64/syscalls/lgetxattr.S b/libc/arch-x86_64/syscalls/lgetxattr.S index 525ee3b..b4bc204 100644 --- a/libc/arch-x86_64/syscalls/lgetxattr.S +++ b/libc/arch-x86_64/syscalls/lgetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lgetxattr) movq %rcx, %r10 movl $__NR_lgetxattr, %eax diff --git a/libc/arch-x86_64/syscalls/linkat.S b/libc/arch-x86_64/syscalls/linkat.S index 815af86..509b579 100644 --- a/libc/arch-x86_64/syscalls/linkat.S +++ b/libc/arch-x86_64/syscalls/linkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(linkat) movq %rcx, %r10 movl $__NR_linkat, %eax diff --git a/libc/arch-x86_64/syscalls/listen.S b/libc/arch-x86_64/syscalls/listen.S index d3d7103..6bd46a5 100644 --- a/libc/arch-x86_64/syscalls/listen.S +++ b/libc/arch-x86_64/syscalls/listen.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listen) movl $__NR_listen, %eax syscall diff --git a/libc/arch-x86_64/syscalls/listxattr.S b/libc/arch-x86_64/syscalls/listxattr.S index 89fd63c..102518f 100644 --- a/libc/arch-x86_64/syscalls/listxattr.S +++ b/libc/arch-x86_64/syscalls/listxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(listxattr) movl $__NR_listxattr, %eax syscall diff --git a/libc/arch-x86_64/syscalls/llistxattr.S b/libc/arch-x86_64/syscalls/llistxattr.S index cfff2e7..74d58a8 100644 --- a/libc/arch-x86_64/syscalls/llistxattr.S +++ b/libc/arch-x86_64/syscalls/llistxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(llistxattr) movl $__NR_llistxattr, %eax syscall diff --git a/libc/arch-x86_64/syscalls/lremovexattr.S b/libc/arch-x86_64/syscalls/lremovexattr.S index 0b6994a..2566e33 100644 --- a/libc/arch-x86_64/syscalls/lremovexattr.S +++ b/libc/arch-x86_64/syscalls/lremovexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lremovexattr) movl $__NR_lremovexattr, %eax syscall diff --git a/libc/arch-x86_64/syscalls/lseek.S b/libc/arch-x86_64/syscalls/lseek.S index b2e8c16..93e5f0c 100644 --- a/libc/arch-x86_64/syscalls/lseek.S +++ b/libc/arch-x86_64/syscalls/lseek.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lseek) movl $__NR_lseek, %eax syscall diff --git a/libc/arch-x86_64/syscalls/lsetxattr.S b/libc/arch-x86_64/syscalls/lsetxattr.S index fdaf98a..905bd3b 100644 --- a/libc/arch-x86_64/syscalls/lsetxattr.S +++ b/libc/arch-x86_64/syscalls/lsetxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(lsetxattr) movq %rcx, %r10 movl $__NR_lsetxattr, %eax diff --git a/libc/arch-x86_64/syscalls/madvise.S b/libc/arch-x86_64/syscalls/madvise.S index 3f567fd..c565ca3 100644 --- a/libc/arch-x86_64/syscalls/madvise.S +++ b/libc/arch-x86_64/syscalls/madvise.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(madvise) movl $__NR_madvise, %eax syscall diff --git a/libc/arch-x86_64/syscalls/mincore.S b/libc/arch-x86_64/syscalls/mincore.S index e6b2521..f8acdeb 100644 --- a/libc/arch-x86_64/syscalls/mincore.S +++ b/libc/arch-x86_64/syscalls/mincore.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mincore) movl $__NR_mincore, %eax syscall diff --git a/libc/arch-x86_64/syscalls/mkdirat.S b/libc/arch-x86_64/syscalls/mkdirat.S index abba2d5..b554d12 100644 --- a/libc/arch-x86_64/syscalls/mkdirat.S +++ b/libc/arch-x86_64/syscalls/mkdirat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mkdirat) movl $__NR_mkdirat, %eax syscall diff --git a/libc/arch-x86_64/syscalls/mknodat.S b/libc/arch-x86_64/syscalls/mknodat.S index d3d78c9..dd6496a 100644 --- a/libc/arch-x86_64/syscalls/mknodat.S +++ b/libc/arch-x86_64/syscalls/mknodat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mknodat) movq %rcx, %r10 movl $__NR_mknodat, %eax diff --git a/libc/arch-x86_64/syscalls/mlock.S b/libc/arch-x86_64/syscalls/mlock.S index 0c69eb7..78389e2 100644 --- a/libc/arch-x86_64/syscalls/mlock.S +++ b/libc/arch-x86_64/syscalls/mlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlock) movl $__NR_mlock, %eax syscall diff --git a/libc/arch-x86_64/syscalls/mlockall.S b/libc/arch-x86_64/syscalls/mlockall.S index 89ba9b6..3ac878a 100644 --- a/libc/arch-x86_64/syscalls/mlockall.S +++ b/libc/arch-x86_64/syscalls/mlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mlockall) movl $__NR_mlockall, %eax syscall diff --git a/libc/arch-x86_64/syscalls/mmap.S b/libc/arch-x86_64/syscalls/mmap.S index 7b9f6e0..44189a9 100644 --- a/libc/arch-x86_64/syscalls/mmap.S +++ b/libc/arch-x86_64/syscalls/mmap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mmap) movq %rcx, %r10 movl $__NR_mmap, %eax diff --git a/libc/arch-x86_64/syscalls/mount.S b/libc/arch-x86_64/syscalls/mount.S index 04534c9..369e8df 100644 --- a/libc/arch-x86_64/syscalls/mount.S +++ b/libc/arch-x86_64/syscalls/mount.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mount) movq %rcx, %r10 movl $__NR_mount, %eax diff --git a/libc/arch-x86_64/syscalls/mprotect.S b/libc/arch-x86_64/syscalls/mprotect.S index d849bb1..44888da 100644 --- a/libc/arch-x86_64/syscalls/mprotect.S +++ b/libc/arch-x86_64/syscalls/mprotect.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mprotect) movl $__NR_mprotect, %eax syscall diff --git a/libc/arch-x86_64/syscalls/mremap.S b/libc/arch-x86_64/syscalls/mremap.S index 8af367e..74a05e2 100644 --- a/libc/arch-x86_64/syscalls/mremap.S +++ b/libc/arch-x86_64/syscalls/mremap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(mremap) movq %rcx, %r10 movl $__NR_mremap, %eax diff --git a/libc/arch-x86_64/syscalls/msync.S b/libc/arch-x86_64/syscalls/msync.S index c0ff0f9..1d0e785 100644 --- a/libc/arch-x86_64/syscalls/msync.S +++ b/libc/arch-x86_64/syscalls/msync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(msync) movl $__NR_msync, %eax syscall diff --git a/libc/arch-x86_64/syscalls/munlock.S b/libc/arch-x86_64/syscalls/munlock.S index d669f54..17e368b 100644 --- a/libc/arch-x86_64/syscalls/munlock.S +++ b/libc/arch-x86_64/syscalls/munlock.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlock) movl $__NR_munlock, %eax syscall diff --git a/libc/arch-x86_64/syscalls/munlockall.S b/libc/arch-x86_64/syscalls/munlockall.S index b7a9abc..6bb7aa6 100644 --- a/libc/arch-x86_64/syscalls/munlockall.S +++ b/libc/arch-x86_64/syscalls/munlockall.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munlockall) movl $__NR_munlockall, %eax syscall diff --git a/libc/arch-x86_64/syscalls/munmap.S b/libc/arch-x86_64/syscalls/munmap.S index 4360bd0..f423a66 100644 --- a/libc/arch-x86_64/syscalls/munmap.S +++ b/libc/arch-x86_64/syscalls/munmap.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(munmap) movl $__NR_munmap, %eax syscall diff --git a/libc/arch-x86_64/syscalls/nanosleep.S b/libc/arch-x86_64/syscalls/nanosleep.S index 2eced5b..caa1ae6 100644 --- a/libc/arch-x86_64/syscalls/nanosleep.S +++ b/libc/arch-x86_64/syscalls/nanosleep.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(nanosleep) movl $__NR_nanosleep, %eax syscall diff --git a/libc/arch-x86_64/syscalls/personality.S b/libc/arch-x86_64/syscalls/personality.S index 17ad7ee..a742dbf 100644 --- a/libc/arch-x86_64/syscalls/personality.S +++ b/libc/arch-x86_64/syscalls/personality.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(personality) movl $__NR_personality, %eax syscall diff --git a/libc/arch-x86_64/syscalls/pipe2.S b/libc/arch-x86_64/syscalls/pipe2.S index 83eb0a6..e34ca69 100644 --- a/libc/arch-x86_64/syscalls/pipe2.S +++ b/libc/arch-x86_64/syscalls/pipe2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pipe2) movl $__NR_pipe2, %eax syscall diff --git a/libc/arch-x86_64/syscalls/prctl.S b/libc/arch-x86_64/syscalls/prctl.S index c79220d..b4cdaa5 100644 --- a/libc/arch-x86_64/syscalls/prctl.S +++ b/libc/arch-x86_64/syscalls/prctl.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prctl) movq %rcx, %r10 movl $__NR_prctl, %eax diff --git a/libc/arch-x86_64/syscalls/pread64.S b/libc/arch-x86_64/syscalls/pread64.S index 1c4dc68..1d042ef 100644 --- a/libc/arch-x86_64/syscalls/pread64.S +++ b/libc/arch-x86_64/syscalls/pread64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pread64) movq %rcx, %r10 movl $__NR_pread64, %eax diff --git a/libc/arch-x86_64/syscalls/prlimit64.S b/libc/arch-x86_64/syscalls/prlimit64.S index 823feba..52151a8 100644 --- a/libc/arch-x86_64/syscalls/prlimit64.S +++ b/libc/arch-x86_64/syscalls/prlimit64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(prlimit64) movq %rcx, %r10 movl $__NR_prlimit64, %eax diff --git a/libc/arch-x86_64/syscalls/pwrite64.S b/libc/arch-x86_64/syscalls/pwrite64.S index 13bcb58..2fb0f16 100644 --- a/libc/arch-x86_64/syscalls/pwrite64.S +++ b/libc/arch-x86_64/syscalls/pwrite64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(pwrite64) movq %rcx, %r10 movl $__NR_pwrite64, %eax diff --git a/libc/arch-x86_64/syscalls/read.S b/libc/arch-x86_64/syscalls/read.S index 400c87a..3f2862e 100644 --- a/libc/arch-x86_64/syscalls/read.S +++ b/libc/arch-x86_64/syscalls/read.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(read) movl $__NR_read, %eax syscall diff --git a/libc/arch-x86_64/syscalls/readahead.S b/libc/arch-x86_64/syscalls/readahead.S index 2a2978b..df3aba1 100644 --- a/libc/arch-x86_64/syscalls/readahead.S +++ b/libc/arch-x86_64/syscalls/readahead.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readahead) movl $__NR_readahead, %eax syscall diff --git a/libc/arch-x86_64/syscalls/readlinkat.S b/libc/arch-x86_64/syscalls/readlinkat.S index 51d1f0c..554b8b6 100644 --- a/libc/arch-x86_64/syscalls/readlinkat.S +++ b/libc/arch-x86_64/syscalls/readlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readlinkat) movq %rcx, %r10 movl $__NR_readlinkat, %eax diff --git a/libc/arch-x86_64/syscalls/readv.S b/libc/arch-x86_64/syscalls/readv.S index 4199751..75d04e9 100644 --- a/libc/arch-x86_64/syscalls/readv.S +++ b/libc/arch-x86_64/syscalls/readv.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(readv) movl $__NR_readv, %eax syscall diff --git a/libc/arch-x86_64/syscalls/recvfrom.S b/libc/arch-x86_64/syscalls/recvfrom.S index 61ca1b2..4ee5631 100644 --- a/libc/arch-x86_64/syscalls/recvfrom.S +++ b/libc/arch-x86_64/syscalls/recvfrom.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvfrom) movq %rcx, %r10 movl $__NR_recvfrom, %eax diff --git a/libc/arch-x86_64/syscalls/recvmmsg.S b/libc/arch-x86_64/syscalls/recvmmsg.S index ce14ba5..3279325 100644 --- a/libc/arch-x86_64/syscalls/recvmmsg.S +++ b/libc/arch-x86_64/syscalls/recvmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmmsg) movq %rcx, %r10 movl $__NR_recvmmsg, %eax diff --git a/libc/arch-x86_64/syscalls/recvmsg.S b/libc/arch-x86_64/syscalls/recvmsg.S index 8655d07..7c186fd 100644 --- a/libc/arch-x86_64/syscalls/recvmsg.S +++ b/libc/arch-x86_64/syscalls/recvmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(recvmsg) movl $__NR_recvmsg, %eax syscall diff --git a/libc/arch-x86_64/syscalls/removexattr.S b/libc/arch-x86_64/syscalls/removexattr.S index 9736463..9091647 100644 --- a/libc/arch-x86_64/syscalls/removexattr.S +++ b/libc/arch-x86_64/syscalls/removexattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(removexattr) movl $__NR_removexattr, %eax syscall diff --git a/libc/arch-x86_64/syscalls/renameat.S b/libc/arch-x86_64/syscalls/renameat.S index 0be2ef9..7258712 100644 --- a/libc/arch-x86_64/syscalls/renameat.S +++ b/libc/arch-x86_64/syscalls/renameat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(renameat) movq %rcx, %r10 movl $__NR_renameat, %eax diff --git a/libc/arch-x86_64/syscalls/sched_get_priority_max.S b/libc/arch-x86_64/syscalls/sched_get_priority_max.S index 0f92739..604d6c8 100644 --- a/libc/arch-x86_64/syscalls/sched_get_priority_max.S +++ b/libc/arch-x86_64/syscalls/sched_get_priority_max.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_max) movl $__NR_sched_get_priority_max, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sched_get_priority_min.S b/libc/arch-x86_64/syscalls/sched_get_priority_min.S index 8450e9d..eaeb765 100644 --- a/libc/arch-x86_64/syscalls/sched_get_priority_min.S +++ b/libc/arch-x86_64/syscalls/sched_get_priority_min.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_get_priority_min) movl $__NR_sched_get_priority_min, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sched_getparam.S b/libc/arch-x86_64/syscalls/sched_getparam.S index a784640..e269c7d 100644 --- a/libc/arch-x86_64/syscalls/sched_getparam.S +++ b/libc/arch-x86_64/syscalls/sched_getparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getparam) movl $__NR_sched_getparam, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sched_getscheduler.S b/libc/arch-x86_64/syscalls/sched_getscheduler.S index 090b322..0cf3b54 100644 --- a/libc/arch-x86_64/syscalls/sched_getscheduler.S +++ b/libc/arch-x86_64/syscalls/sched_getscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_getscheduler) movl $__NR_sched_getscheduler, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sched_rr_get_interval.S b/libc/arch-x86_64/syscalls/sched_rr_get_interval.S index 0977f2e..662a28c 100644 --- a/libc/arch-x86_64/syscalls/sched_rr_get_interval.S +++ b/libc/arch-x86_64/syscalls/sched_rr_get_interval.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_rr_get_interval) movl $__NR_sched_rr_get_interval, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sched_setaffinity.S b/libc/arch-x86_64/syscalls/sched_setaffinity.S index af8e7a2..79b43fd 100644 --- a/libc/arch-x86_64/syscalls/sched_setaffinity.S +++ b/libc/arch-x86_64/syscalls/sched_setaffinity.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setaffinity) movl $__NR_sched_setaffinity, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sched_setparam.S b/libc/arch-x86_64/syscalls/sched_setparam.S index 2964607..871b492 100644 --- a/libc/arch-x86_64/syscalls/sched_setparam.S +++ b/libc/arch-x86_64/syscalls/sched_setparam.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setparam) movl $__NR_sched_setparam, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sched_setscheduler.S b/libc/arch-x86_64/syscalls/sched_setscheduler.S index 333d1b8..0dcb47d 100644 --- a/libc/arch-x86_64/syscalls/sched_setscheduler.S +++ b/libc/arch-x86_64/syscalls/sched_setscheduler.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_setscheduler) movl $__NR_sched_setscheduler, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sched_yield.S b/libc/arch-x86_64/syscalls/sched_yield.S index a972154..12de511 100644 --- a/libc/arch-x86_64/syscalls/sched_yield.S +++ b/libc/arch-x86_64/syscalls/sched_yield.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sched_yield) movl $__NR_sched_yield, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sendfile.S b/libc/arch-x86_64/syscalls/sendfile.S index c1b6497..0255bf2 100644 --- a/libc/arch-x86_64/syscalls/sendfile.S +++ b/libc/arch-x86_64/syscalls/sendfile.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendfile) movq %rcx, %r10 movl $__NR_sendfile, %eax diff --git a/libc/arch-x86_64/syscalls/sendmmsg.S b/libc/arch-x86_64/syscalls/sendmmsg.S index 940c0b6..47b2e3a 100644 --- a/libc/arch-x86_64/syscalls/sendmmsg.S +++ b/libc/arch-x86_64/syscalls/sendmmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmmsg) movq %rcx, %r10 movl $__NR_sendmmsg, %eax diff --git a/libc/arch-x86_64/syscalls/sendmsg.S b/libc/arch-x86_64/syscalls/sendmsg.S index 6d94bb6..e9eecf6 100644 --- a/libc/arch-x86_64/syscalls/sendmsg.S +++ b/libc/arch-x86_64/syscalls/sendmsg.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendmsg) movl $__NR_sendmsg, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sendto.S b/libc/arch-x86_64/syscalls/sendto.S index bfe4636..f8cc149 100644 --- a/libc/arch-x86_64/syscalls/sendto.S +++ b/libc/arch-x86_64/syscalls/sendto.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sendto) movq %rcx, %r10 movl $__NR_sendto, %eax diff --git a/libc/arch-x86_64/syscalls/setfsgid.S b/libc/arch-x86_64/syscalls/setfsgid.S index e9f50b8..bfc9c5d 100644 --- a/libc/arch-x86_64/syscalls/setfsgid.S +++ b/libc/arch-x86_64/syscalls/setfsgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsgid) movl $__NR_setfsgid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setfsuid.S b/libc/arch-x86_64/syscalls/setfsuid.S index cfdb86c..2540a36 100644 --- a/libc/arch-x86_64/syscalls/setfsuid.S +++ b/libc/arch-x86_64/syscalls/setfsuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setfsuid) movl $__NR_setfsuid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setgid.S b/libc/arch-x86_64/syscalls/setgid.S index ef4fb31..8f9ce53 100644 --- a/libc/arch-x86_64/syscalls/setgid.S +++ b/libc/arch-x86_64/syscalls/setgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgid) movl $__NR_setgid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setgroups.S b/libc/arch-x86_64/syscalls/setgroups.S index 65e6180..81023ab 100644 --- a/libc/arch-x86_64/syscalls/setgroups.S +++ b/libc/arch-x86_64/syscalls/setgroups.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setgroups) movl $__NR_setgroups, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setitimer.S b/libc/arch-x86_64/syscalls/setitimer.S index bee4996..6882564 100644 --- a/libc/arch-x86_64/syscalls/setitimer.S +++ b/libc/arch-x86_64/syscalls/setitimer.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setitimer) movl $__NR_setitimer, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setns.S b/libc/arch-x86_64/syscalls/setns.S index 521769b..15dc51c 100644 --- a/libc/arch-x86_64/syscalls/setns.S +++ b/libc/arch-x86_64/syscalls/setns.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setns) movl $__NR_setns, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setpgid.S b/libc/arch-x86_64/syscalls/setpgid.S index 348612b..0cbb9a3 100644 --- a/libc/arch-x86_64/syscalls/setpgid.S +++ b/libc/arch-x86_64/syscalls/setpgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpgid) movl $__NR_setpgid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setpriority.S b/libc/arch-x86_64/syscalls/setpriority.S index 0940368..e2ee775 100644 --- a/libc/arch-x86_64/syscalls/setpriority.S +++ b/libc/arch-x86_64/syscalls/setpriority.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setpriority) movl $__NR_setpriority, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setregid.S b/libc/arch-x86_64/syscalls/setregid.S index 0338ecf..1d53e4c 100644 --- a/libc/arch-x86_64/syscalls/setregid.S +++ b/libc/arch-x86_64/syscalls/setregid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setregid) movl $__NR_setregid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setresgid.S b/libc/arch-x86_64/syscalls/setresgid.S index 10e1244..7663cc6 100644 --- a/libc/arch-x86_64/syscalls/setresgid.S +++ b/libc/arch-x86_64/syscalls/setresgid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresgid) movl $__NR_setresgid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setresuid.S b/libc/arch-x86_64/syscalls/setresuid.S index 229b11b..96e691f 100644 --- a/libc/arch-x86_64/syscalls/setresuid.S +++ b/libc/arch-x86_64/syscalls/setresuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setresuid) movl $__NR_setresuid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setreuid.S b/libc/arch-x86_64/syscalls/setreuid.S index e96e2d3..9ee7208 100644 --- a/libc/arch-x86_64/syscalls/setreuid.S +++ b/libc/arch-x86_64/syscalls/setreuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setreuid) movl $__NR_setreuid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setrlimit.S b/libc/arch-x86_64/syscalls/setrlimit.S index 662587d..393a5c1 100644 --- a/libc/arch-x86_64/syscalls/setrlimit.S +++ b/libc/arch-x86_64/syscalls/setrlimit.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setrlimit) movl $__NR_setrlimit, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setsid.S b/libc/arch-x86_64/syscalls/setsid.S index 293ecf5..bed06c9 100644 --- a/libc/arch-x86_64/syscalls/setsid.S +++ b/libc/arch-x86_64/syscalls/setsid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsid) movl $__NR_setsid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setsockopt.S b/libc/arch-x86_64/syscalls/setsockopt.S index aee6613..3c12cd6 100644 --- a/libc/arch-x86_64/syscalls/setsockopt.S +++ b/libc/arch-x86_64/syscalls/setsockopt.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setsockopt) movq %rcx, %r10 movl $__NR_setsockopt, %eax diff --git a/libc/arch-x86_64/syscalls/settimeofday.S b/libc/arch-x86_64/syscalls/settimeofday.S index 0d00c89..317946a 100644 --- a/libc/arch-x86_64/syscalls/settimeofday.S +++ b/libc/arch-x86_64/syscalls/settimeofday.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(settimeofday) movl $__NR_settimeofday, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setuid.S b/libc/arch-x86_64/syscalls/setuid.S index 19e2a10..8da7d86 100644 --- a/libc/arch-x86_64/syscalls/setuid.S +++ b/libc/arch-x86_64/syscalls/setuid.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setuid) movl $__NR_setuid, %eax syscall diff --git a/libc/arch-x86_64/syscalls/setxattr.S b/libc/arch-x86_64/syscalls/setxattr.S index 3e4d50b..2abaa76 100644 --- a/libc/arch-x86_64/syscalls/setxattr.S +++ b/libc/arch-x86_64/syscalls/setxattr.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(setxattr) movq %rcx, %r10 movl $__NR_setxattr, %eax diff --git a/libc/arch-x86_64/syscalls/shutdown.S b/libc/arch-x86_64/syscalls/shutdown.S index 346be33..b5840d7 100644 --- a/libc/arch-x86_64/syscalls/shutdown.S +++ b/libc/arch-x86_64/syscalls/shutdown.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(shutdown) movl $__NR_shutdown, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sigaltstack.S b/libc/arch-x86_64/syscalls/sigaltstack.S index 271fafc..2dd6aa4 100644 --- a/libc/arch-x86_64/syscalls/sigaltstack.S +++ b/libc/arch-x86_64/syscalls/sigaltstack.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sigaltstack) movl $__NR_sigaltstack, %eax syscall diff --git a/libc/arch-x86_64/syscalls/socketpair.S b/libc/arch-x86_64/syscalls/socketpair.S index 5466dc9..cb32a8a 100644 --- a/libc/arch-x86_64/syscalls/socketpair.S +++ b/libc/arch-x86_64/syscalls/socketpair.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(socketpair) movq %rcx, %r10 movl $__NR_socketpair, %eax diff --git a/libc/arch-x86_64/syscalls/splice.S b/libc/arch-x86_64/syscalls/splice.S index 3c245a5..351e1c7 100644 --- a/libc/arch-x86_64/syscalls/splice.S +++ b/libc/arch-x86_64/syscalls/splice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(splice) movq %rcx, %r10 movl $__NR_splice, %eax diff --git a/libc/arch-x86_64/syscalls/statfs64.S b/libc/arch-x86_64/syscalls/statfs64.S index 6a2637c..26c3d53 100644 --- a/libc/arch-x86_64/syscalls/statfs64.S +++ b/libc/arch-x86_64/syscalls/statfs64.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(statfs64) movl $__NR_statfs, %eax syscall diff --git a/libc/arch-x86_64/syscalls/swapoff.S b/libc/arch-x86_64/syscalls/swapoff.S index 7e55758..1bf331c 100644 --- a/libc/arch-x86_64/syscalls/swapoff.S +++ b/libc/arch-x86_64/syscalls/swapoff.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapoff) movl $__NR_swapoff, %eax syscall diff --git a/libc/arch-x86_64/syscalls/swapon.S b/libc/arch-x86_64/syscalls/swapon.S index d2f5f66..7405ccb 100644 --- a/libc/arch-x86_64/syscalls/swapon.S +++ b/libc/arch-x86_64/syscalls/swapon.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(swapon) movl $__NR_swapon, %eax syscall diff --git a/libc/arch-x86_64/syscalls/symlinkat.S b/libc/arch-x86_64/syscalls/symlinkat.S index 5bbf1cb..bea2da8 100644 --- a/libc/arch-x86_64/syscalls/symlinkat.S +++ b/libc/arch-x86_64/syscalls/symlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(symlinkat) movl $__NR_symlinkat, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sync.S b/libc/arch-x86_64/syscalls/sync.S index 9911715..97aa427 100644 --- a/libc/arch-x86_64/syscalls/sync.S +++ b/libc/arch-x86_64/syscalls/sync.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sync) movl $__NR_sync, %eax syscall diff --git a/libc/arch-x86_64/syscalls/sysinfo.S b/libc/arch-x86_64/syscalls/sysinfo.S index 104bb2c..de8fb8f 100644 --- a/libc/arch-x86_64/syscalls/sysinfo.S +++ b/libc/arch-x86_64/syscalls/sysinfo.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(sysinfo) movl $__NR_sysinfo, %eax syscall diff --git a/libc/arch-x86_64/syscalls/tee.S b/libc/arch-x86_64/syscalls/tee.S index ad5698c..41e2370 100644 --- a/libc/arch-x86_64/syscalls/tee.S +++ b/libc/arch-x86_64/syscalls/tee.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tee) movq %rcx, %r10 movl $__NR_tee, %eax diff --git a/libc/arch-x86_64/syscalls/tgkill.S b/libc/arch-x86_64/syscalls/tgkill.S index e3b9972..00b2b42 100644 --- a/libc/arch-x86_64/syscalls/tgkill.S +++ b/libc/arch-x86_64/syscalls/tgkill.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(tgkill) movl $__NR_tgkill, %eax syscall diff --git a/libc/arch-x86_64/syscalls/timerfd_create.S b/libc/arch-x86_64/syscalls/timerfd_create.S index 3f1b23a..eef3208 100644 --- a/libc/arch-x86_64/syscalls/timerfd_create.S +++ b/libc/arch-x86_64/syscalls/timerfd_create.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_create) movl $__NR_timerfd_create, %eax syscall diff --git a/libc/arch-x86_64/syscalls/timerfd_gettime.S b/libc/arch-x86_64/syscalls/timerfd_gettime.S index b1017ad..9f11c5a 100644 --- a/libc/arch-x86_64/syscalls/timerfd_gettime.S +++ b/libc/arch-x86_64/syscalls/timerfd_gettime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_gettime) movl $__NR_timerfd_gettime, %eax syscall diff --git a/libc/arch-x86_64/syscalls/timerfd_settime.S b/libc/arch-x86_64/syscalls/timerfd_settime.S index 8610a1d..65a17e1 100644 --- a/libc/arch-x86_64/syscalls/timerfd_settime.S +++ b/libc/arch-x86_64/syscalls/timerfd_settime.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(timerfd_settime) movq %rcx, %r10 movl $__NR_timerfd_settime, %eax diff --git a/libc/arch-x86_64/syscalls/times.S b/libc/arch-x86_64/syscalls/times.S index 07590b9..5ee21be 100644 --- a/libc/arch-x86_64/syscalls/times.S +++ b/libc/arch-x86_64/syscalls/times.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(times) movl $__NR_times, %eax syscall diff --git a/libc/arch-x86_64/syscalls/truncate.S b/libc/arch-x86_64/syscalls/truncate.S index db2121f..2dc1793 100644 --- a/libc/arch-x86_64/syscalls/truncate.S +++ b/libc/arch-x86_64/syscalls/truncate.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(truncate) movl $__NR_truncate, %eax syscall diff --git a/libc/arch-x86_64/syscalls/umask.S b/libc/arch-x86_64/syscalls/umask.S index badea76..ad102bd 100644 --- a/libc/arch-x86_64/syscalls/umask.S +++ b/libc/arch-x86_64/syscalls/umask.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umask) movl $__NR_umask, %eax syscall diff --git a/libc/arch-x86_64/syscalls/umount2.S b/libc/arch-x86_64/syscalls/umount2.S index 93e6fa0..31588de 100644 --- a/libc/arch-x86_64/syscalls/umount2.S +++ b/libc/arch-x86_64/syscalls/umount2.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(umount2) movl $__NR_umount2, %eax syscall diff --git a/libc/arch-x86_64/syscalls/uname.S b/libc/arch-x86_64/syscalls/uname.S index 4b0d1c5..ad2d8f4 100644 --- a/libc/arch-x86_64/syscalls/uname.S +++ b/libc/arch-x86_64/syscalls/uname.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(uname) movl $__NR_uname, %eax syscall diff --git a/libc/arch-x86_64/syscalls/unlinkat.S b/libc/arch-x86_64/syscalls/unlinkat.S index f322f7d..e6aac2e 100644 --- a/libc/arch-x86_64/syscalls/unlinkat.S +++ b/libc/arch-x86_64/syscalls/unlinkat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unlinkat) movl $__NR_unlinkat, %eax syscall diff --git a/libc/arch-x86_64/syscalls/unshare.S b/libc/arch-x86_64/syscalls/unshare.S index b5395c1..6594df0 100644 --- a/libc/arch-x86_64/syscalls/unshare.S +++ b/libc/arch-x86_64/syscalls/unshare.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(unshare) movl $__NR_unshare, %eax syscall diff --git a/libc/arch-x86_64/syscalls/utimensat.S b/libc/arch-x86_64/syscalls/utimensat.S index f90caf2..5eaac1b 100644 --- a/libc/arch-x86_64/syscalls/utimensat.S +++ b/libc/arch-x86_64/syscalls/utimensat.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(utimensat) movq %rcx, %r10 movl $__NR_utimensat, %eax diff --git a/libc/arch-x86_64/syscalls/vmsplice.S b/libc/arch-x86_64/syscalls/vmsplice.S index cc94cc6..6f9e5d1 100644 --- a/libc/arch-x86_64/syscalls/vmsplice.S +++ b/libc/arch-x86_64/syscalls/vmsplice.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(vmsplice) movq %rcx, %r10 movl $__NR_vmsplice, %eax diff --git a/libc/arch-x86_64/syscalls/wait4.S b/libc/arch-x86_64/syscalls/wait4.S index 7948331..141fe19 100644 --- a/libc/arch-x86_64/syscalls/wait4.S +++ b/libc/arch-x86_64/syscalls/wait4.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(wait4) movq %rcx, %r10 movl $__NR_wait4, %eax diff --git a/libc/arch-x86_64/syscalls/write.S b/libc/arch-x86_64/syscalls/write.S index 7e3a563..498fca7 100644 --- a/libc/arch-x86_64/syscalls/write.S +++ b/libc/arch-x86_64/syscalls/write.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(write) movl $__NR_write, %eax syscall diff --git a/libc/arch-x86_64/syscalls/writev.S b/libc/arch-x86_64/syscalls/writev.S index 5fc040a..ef80eb8 100644 --- a/libc/arch-x86_64/syscalls/writev.S +++ b/libc/arch-x86_64/syscalls/writev.S @@ -2,6 +2,8 @@ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(writev) movl $__NR_writev, %eax syscall diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py index 96583d6..316e05b 100755 --- a/libc/tools/gensyscalls.py +++ b/libc/tools/gensyscalls.py @@ -43,6 +43,8 @@ syscall_stub_header = "/* " + warning + " */\n" + \ """ #include <private/bionic_asm.h> + .hidden __set_errno + ENTRY(%(func)s) """ |