diff options
author | Dan Albert <danalbert@google.com> | 2014-08-08 15:19:20 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-08-08 15:37:50 -0700 |
commit | e35fd48a832cddbedcf84773fd1922f735ae7829 (patch) | |
tree | 1108e3669ca0923022f395f79a823bd5e845bc6a /libc/arch-x86 | |
parent | 43227c0b400a33dc9722269beda26313c391fb1e (diff) | |
download | bionic-e35fd48a832cddbedcf84773fd1922f735ae7829.zip bionic-e35fd48a832cddbedcf84773fd1922f735ae7829.tar.gz bionic-e35fd48a832cddbedcf84773fd1922f735ae7829.tar.bz2 |
Make __set_errno hidden in asm.
This fixes the build after the -Bsymbolic change.
Bug: 16853291
Change-Id: I989c9fec3c32e0289ea257a3bd2b7fd2709b6ce2
(cherry picked from commit bc9f9f25bf1247a6a638a2a2df8441bdd9fabad7)
Diffstat (limited to 'libc/arch-x86')
195 files changed, 390 insertions, 0 deletions
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 |