summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libc/arch-arm/bionic/__bionic_clone.S2
-rw-r--r--libc/arch-arm/bionic/syscall.S2
-rw-r--r--libc/arch-arm/syscalls/__accept4.S4
-rw-r--r--libc/arch-arm/syscalls/__brk.S4
-rw-r--r--libc/arch-arm/syscalls/__connect.S4
-rw-r--r--libc/arch-arm/syscalls/__epoll_pwait.S4
-rw-r--r--libc/arch-arm/syscalls/__exit.S4
-rw-r--r--libc/arch-arm/syscalls/__fcntl64.S4
-rw-r--r--libc/arch-arm/syscalls/__fstatfs64.S4
-rw-r--r--libc/arch-arm/syscalls/__getcpu.S4
-rw-r--r--libc/arch-arm/syscalls/__getcwd.S4
-rw-r--r--libc/arch-arm/syscalls/__getdents64.S4
-rw-r--r--libc/arch-arm/syscalls/__getpid.S4
-rw-r--r--libc/arch-arm/syscalls/__getpriority.S4
-rw-r--r--libc/arch-arm/syscalls/__ioctl.S4
-rw-r--r--libc/arch-arm/syscalls/__llseek.S4
-rw-r--r--libc/arch-arm/syscalls/__mmap2.S4
-rw-r--r--libc/arch-arm/syscalls/__openat.S4
-rw-r--r--libc/arch-arm/syscalls/__ppoll.S4
-rw-r--r--libc/arch-arm/syscalls/__pselect6.S4
-rw-r--r--libc/arch-arm/syscalls/__ptrace.S4
-rw-r--r--libc/arch-arm/syscalls/__reboot.S4
-rw-r--r--libc/arch-arm/syscalls/__rt_sigaction.S4
-rw-r--r--libc/arch-arm/syscalls/__rt_sigpending.S4
-rw-r--r--libc/arch-arm/syscalls/__rt_sigprocmask.S4
-rw-r--r--libc/arch-arm/syscalls/__rt_sigsuspend.S4
-rw-r--r--libc/arch-arm/syscalls/__rt_sigtimedwait.S4
-rw-r--r--libc/arch-arm/syscalls/__sched_getaffinity.S4
-rw-r--r--libc/arch-arm/syscalls/__set_tid_address.S4
-rw-r--r--libc/arch-arm/syscalls/__set_tls.S4
-rw-r--r--libc/arch-arm/syscalls/__sigaction.S4
-rw-r--r--libc/arch-arm/syscalls/__signalfd4.S4
-rw-r--r--libc/arch-arm/syscalls/__socket.S4
-rw-r--r--libc/arch-arm/syscalls/__statfs64.S4
-rw-r--r--libc/arch-arm/syscalls/__timer_create.S4
-rw-r--r--libc/arch-arm/syscalls/__timer_delete.S4
-rw-r--r--libc/arch-arm/syscalls/__timer_getoverrun.S4
-rw-r--r--libc/arch-arm/syscalls/__timer_gettime.S4
-rw-r--r--libc/arch-arm/syscalls/__timer_settime.S4
-rw-r--r--libc/arch-arm/syscalls/__waitid.S4
-rw-r--r--libc/arch-arm/syscalls/_exit.S4
-rw-r--r--libc/arch-arm/syscalls/acct.S4
-rw-r--r--libc/arch-arm/syscalls/bind.S4
-rw-r--r--libc/arch-arm/syscalls/cacheflush.S4
-rw-r--r--libc/arch-arm/syscalls/capget.S4
-rw-r--r--libc/arch-arm/syscalls/capset.S4
-rw-r--r--libc/arch-arm/syscalls/chdir.S4
-rw-r--r--libc/arch-arm/syscalls/chroot.S4
-rw-r--r--libc/arch-arm/syscalls/clock_getres.S4
-rw-r--r--libc/arch-arm/syscalls/clock_gettime.S4
-rw-r--r--libc/arch-arm/syscalls/clock_nanosleep.S4
-rw-r--r--libc/arch-arm/syscalls/clock_settime.S4
-rw-r--r--libc/arch-arm/syscalls/close.S4
-rw-r--r--libc/arch-arm/syscalls/delete_module.S4
-rw-r--r--libc/arch-arm/syscalls/dup.S4
-rw-r--r--libc/arch-arm/syscalls/dup3.S4
-rw-r--r--libc/arch-arm/syscalls/epoll_create1.S4
-rw-r--r--libc/arch-arm/syscalls/epoll_ctl.S4
-rw-r--r--libc/arch-arm/syscalls/eventfd.S4
-rw-r--r--libc/arch-arm/syscalls/execve.S4
-rw-r--r--libc/arch-arm/syscalls/faccessat.S4
-rw-r--r--libc/arch-arm/syscalls/fallocate64.S4
-rw-r--r--libc/arch-arm/syscalls/fchdir.S4
-rw-r--r--libc/arch-arm/syscalls/fchmod.S4
-rw-r--r--libc/arch-arm/syscalls/fchmodat.S4
-rw-r--r--libc/arch-arm/syscalls/fchown.S4
-rw-r--r--libc/arch-arm/syscalls/fchownat.S4
-rw-r--r--libc/arch-arm/syscalls/fdatasync.S4
-rw-r--r--libc/arch-arm/syscalls/fgetxattr.S4
-rw-r--r--libc/arch-arm/syscalls/flistxattr.S4
-rw-r--r--libc/arch-arm/syscalls/flock.S4
-rw-r--r--libc/arch-arm/syscalls/fremovexattr.S4
-rw-r--r--libc/arch-arm/syscalls/fsetxattr.S4
-rw-r--r--libc/arch-arm/syscalls/fstat64.S4
-rw-r--r--libc/arch-arm/syscalls/fstatat64.S4
-rw-r--r--libc/arch-arm/syscalls/fsync.S4
-rw-r--r--libc/arch-arm/syscalls/ftruncate.S4
-rw-r--r--libc/arch-arm/syscalls/ftruncate64.S4
-rw-r--r--libc/arch-arm/syscalls/getegid.S4
-rw-r--r--libc/arch-arm/syscalls/geteuid.S4
-rw-r--r--libc/arch-arm/syscalls/getgid.S4
-rw-r--r--libc/arch-arm/syscalls/getgroups.S4
-rw-r--r--libc/arch-arm/syscalls/getitimer.S4
-rw-r--r--libc/arch-arm/syscalls/getpeername.S4
-rw-r--r--libc/arch-arm/syscalls/getpgid.S4
-rw-r--r--libc/arch-arm/syscalls/getppid.S4
-rw-r--r--libc/arch-arm/syscalls/getresgid.S4
-rw-r--r--libc/arch-arm/syscalls/getresuid.S4
-rw-r--r--libc/arch-arm/syscalls/getrlimit.S4
-rw-r--r--libc/arch-arm/syscalls/getrusage.S4
-rw-r--r--libc/arch-arm/syscalls/getsid.S4
-rw-r--r--libc/arch-arm/syscalls/getsockname.S4
-rw-r--r--libc/arch-arm/syscalls/getsockopt.S4
-rw-r--r--libc/arch-arm/syscalls/gettimeofday.S4
-rw-r--r--libc/arch-arm/syscalls/getuid.S4
-rw-r--r--libc/arch-arm/syscalls/getxattr.S4
-rw-r--r--libc/arch-arm/syscalls/init_module.S4
-rw-r--r--libc/arch-arm/syscalls/inotify_add_watch.S4
-rw-r--r--libc/arch-arm/syscalls/inotify_init1.S4
-rw-r--r--libc/arch-arm/syscalls/inotify_rm_watch.S4
-rw-r--r--libc/arch-arm/syscalls/kill.S4
-rw-r--r--libc/arch-arm/syscalls/klogctl.S4
-rw-r--r--libc/arch-arm/syscalls/lgetxattr.S4
-rw-r--r--libc/arch-arm/syscalls/linkat.S4
-rw-r--r--libc/arch-arm/syscalls/listen.S4
-rw-r--r--libc/arch-arm/syscalls/listxattr.S4
-rw-r--r--libc/arch-arm/syscalls/llistxattr.S4
-rw-r--r--libc/arch-arm/syscalls/lremovexattr.S4
-rw-r--r--libc/arch-arm/syscalls/lseek.S4
-rw-r--r--libc/arch-arm/syscalls/lsetxattr.S4
-rw-r--r--libc/arch-arm/syscalls/madvise.S4
-rw-r--r--libc/arch-arm/syscalls/mincore.S4
-rw-r--r--libc/arch-arm/syscalls/mkdirat.S4
-rw-r--r--libc/arch-arm/syscalls/mknodat.S4
-rw-r--r--libc/arch-arm/syscalls/mlock.S4
-rw-r--r--libc/arch-arm/syscalls/mlockall.S4
-rw-r--r--libc/arch-arm/syscalls/mount.S4
-rw-r--r--libc/arch-arm/syscalls/mprotect.S4
-rw-r--r--libc/arch-arm/syscalls/mremap.S4
-rw-r--r--libc/arch-arm/syscalls/msync.S4
-rw-r--r--libc/arch-arm/syscalls/munlock.S4
-rw-r--r--libc/arch-arm/syscalls/munlockall.S4
-rw-r--r--libc/arch-arm/syscalls/munmap.S4
-rw-r--r--libc/arch-arm/syscalls/nanosleep.S4
-rw-r--r--libc/arch-arm/syscalls/personality.S4
-rw-r--r--libc/arch-arm/syscalls/pipe2.S4
-rw-r--r--libc/arch-arm/syscalls/prctl.S4
-rw-r--r--libc/arch-arm/syscalls/pread64.S4
-rw-r--r--libc/arch-arm/syscalls/prlimit64.S4
-rw-r--r--libc/arch-arm/syscalls/pwrite64.S4
-rw-r--r--libc/arch-arm/syscalls/read.S4
-rw-r--r--libc/arch-arm/syscalls/readahead.S4
-rw-r--r--libc/arch-arm/syscalls/readlinkat.S4
-rw-r--r--libc/arch-arm/syscalls/readv.S4
-rw-r--r--libc/arch-arm/syscalls/recvfrom.S4
-rw-r--r--libc/arch-arm/syscalls/recvmmsg.S4
-rw-r--r--libc/arch-arm/syscalls/recvmsg.S4
-rw-r--r--libc/arch-arm/syscalls/removexattr.S4
-rw-r--r--libc/arch-arm/syscalls/renameat.S4
-rw-r--r--libc/arch-arm/syscalls/sched_get_priority_max.S4
-rw-r--r--libc/arch-arm/syscalls/sched_get_priority_min.S4
-rw-r--r--libc/arch-arm/syscalls/sched_getparam.S4
-rw-r--r--libc/arch-arm/syscalls/sched_getscheduler.S4
-rw-r--r--libc/arch-arm/syscalls/sched_rr_get_interval.S4
-rw-r--r--libc/arch-arm/syscalls/sched_setaffinity.S4
-rw-r--r--libc/arch-arm/syscalls/sched_setparam.S4
-rw-r--r--libc/arch-arm/syscalls/sched_setscheduler.S4
-rw-r--r--libc/arch-arm/syscalls/sched_yield.S4
-rw-r--r--libc/arch-arm/syscalls/sendfile.S4
-rw-r--r--libc/arch-arm/syscalls/sendfile64.S4
-rw-r--r--libc/arch-arm/syscalls/sendmmsg.S4
-rw-r--r--libc/arch-arm/syscalls/sendmsg.S4
-rw-r--r--libc/arch-arm/syscalls/sendto.S4
-rw-r--r--libc/arch-arm/syscalls/setfsgid.S4
-rw-r--r--libc/arch-arm/syscalls/setfsuid.S4
-rw-r--r--libc/arch-arm/syscalls/setgid.S4
-rw-r--r--libc/arch-arm/syscalls/setgroups.S4
-rw-r--r--libc/arch-arm/syscalls/setitimer.S4
-rw-r--r--libc/arch-arm/syscalls/setns.S4
-rw-r--r--libc/arch-arm/syscalls/setpgid.S4
-rw-r--r--libc/arch-arm/syscalls/setpriority.S4
-rw-r--r--libc/arch-arm/syscalls/setregid.S4
-rw-r--r--libc/arch-arm/syscalls/setresgid.S4
-rw-r--r--libc/arch-arm/syscalls/setresuid.S4
-rw-r--r--libc/arch-arm/syscalls/setreuid.S4
-rw-r--r--libc/arch-arm/syscalls/setrlimit.S4
-rw-r--r--libc/arch-arm/syscalls/setsid.S4
-rw-r--r--libc/arch-arm/syscalls/setsockopt.S4
-rw-r--r--libc/arch-arm/syscalls/settimeofday.S4
-rw-r--r--libc/arch-arm/syscalls/setuid.S4
-rw-r--r--libc/arch-arm/syscalls/setxattr.S4
-rw-r--r--libc/arch-arm/syscalls/shutdown.S4
-rw-r--r--libc/arch-arm/syscalls/sigaltstack.S4
-rw-r--r--libc/arch-arm/syscalls/socketpair.S4
-rw-r--r--libc/arch-arm/syscalls/splice.S4
-rw-r--r--libc/arch-arm/syscalls/swapoff.S4
-rw-r--r--libc/arch-arm/syscalls/swapon.S4
-rw-r--r--libc/arch-arm/syscalls/symlinkat.S4
-rw-r--r--libc/arch-arm/syscalls/sync.S4
-rw-r--r--libc/arch-arm/syscalls/sysinfo.S4
-rw-r--r--libc/arch-arm/syscalls/tee.S4
-rw-r--r--libc/arch-arm/syscalls/tgkill.S4
-rw-r--r--libc/arch-arm/syscalls/timerfd_create.S4
-rw-r--r--libc/arch-arm/syscalls/timerfd_gettime.S4
-rw-r--r--libc/arch-arm/syscalls/timerfd_settime.S4
-rw-r--r--libc/arch-arm/syscalls/times.S4
-rw-r--r--libc/arch-arm/syscalls/truncate.S4
-rw-r--r--libc/arch-arm/syscalls/truncate64.S4
-rw-r--r--libc/arch-arm/syscalls/umask.S4
-rw-r--r--libc/arch-arm/syscalls/umount2.S4
-rw-r--r--libc/arch-arm/syscalls/uname.S4
-rw-r--r--libc/arch-arm/syscalls/unlinkat.S4
-rw-r--r--libc/arch-arm/syscalls/unshare.S4
-rw-r--r--libc/arch-arm/syscalls/utimensat.S4
-rw-r--r--libc/arch-arm/syscalls/vfork.S4
-rw-r--r--libc/arch-arm/syscalls/vmsplice.S4
-rw-r--r--libc/arch-arm/syscalls/wait4.S4
-rw-r--r--libc/arch-arm/syscalls/write.S4
-rw-r--r--libc/arch-arm/syscalls/writev.S4
-rw-r--r--libc/arch-arm64/bionic/__bionic_clone.S2
-rw-r--r--libc/arch-arm64/bionic/syscall.S2
-rw-r--r--libc/arch-arm64/bionic/vfork.S2
-rw-r--r--libc/arch-arm64/syscalls/__accept4.S4
-rw-r--r--libc/arch-arm64/syscalls/__brk.S4
-rw-r--r--libc/arch-arm64/syscalls/__clock_gettime.S4
-rw-r--r--libc/arch-arm64/syscalls/__connect.S4
-rw-r--r--libc/arch-arm64/syscalls/__epoll_pwait.S4
-rw-r--r--libc/arch-arm64/syscalls/__exit.S4
-rw-r--r--libc/arch-arm64/syscalls/__getcpu.S4
-rw-r--r--libc/arch-arm64/syscalls/__getcwd.S4
-rw-r--r--libc/arch-arm64/syscalls/__getdents64.S4
-rw-r--r--libc/arch-arm64/syscalls/__getpid.S4
-rw-r--r--libc/arch-arm64/syscalls/__getpriority.S4
-rw-r--r--libc/arch-arm64/syscalls/__gettimeofday.S4
-rw-r--r--libc/arch-arm64/syscalls/__ioctl.S4
-rw-r--r--libc/arch-arm64/syscalls/__openat.S4
-rw-r--r--libc/arch-arm64/syscalls/__ppoll.S4
-rw-r--r--libc/arch-arm64/syscalls/__pselect6.S4
-rw-r--r--libc/arch-arm64/syscalls/__ptrace.S4
-rw-r--r--libc/arch-arm64/syscalls/__reboot.S4
-rw-r--r--libc/arch-arm64/syscalls/__rt_sigaction.S4
-rw-r--r--libc/arch-arm64/syscalls/__rt_sigpending.S4
-rw-r--r--libc/arch-arm64/syscalls/__rt_sigprocmask.S4
-rw-r--r--libc/arch-arm64/syscalls/__rt_sigsuspend.S4
-rw-r--r--libc/arch-arm64/syscalls/__rt_sigtimedwait.S4
-rw-r--r--libc/arch-arm64/syscalls/__sched_getaffinity.S4
-rw-r--r--libc/arch-arm64/syscalls/__set_tid_address.S4
-rw-r--r--libc/arch-arm64/syscalls/__signalfd4.S4
-rw-r--r--libc/arch-arm64/syscalls/__socket.S4
-rw-r--r--libc/arch-arm64/syscalls/__timer_create.S4
-rw-r--r--libc/arch-arm64/syscalls/__timer_delete.S4
-rw-r--r--libc/arch-arm64/syscalls/__timer_getoverrun.S4
-rw-r--r--libc/arch-arm64/syscalls/__timer_gettime.S4
-rw-r--r--libc/arch-arm64/syscalls/__timer_settime.S4
-rw-r--r--libc/arch-arm64/syscalls/__waitid.S4
-rw-r--r--libc/arch-arm64/syscalls/_exit.S4
-rw-r--r--libc/arch-arm64/syscalls/acct.S4
-rw-r--r--libc/arch-arm64/syscalls/bind.S4
-rw-r--r--libc/arch-arm64/syscalls/capget.S4
-rw-r--r--libc/arch-arm64/syscalls/capset.S4
-rw-r--r--libc/arch-arm64/syscalls/chdir.S4
-rw-r--r--libc/arch-arm64/syscalls/chroot.S4
-rw-r--r--libc/arch-arm64/syscalls/clock_getres.S4
-rw-r--r--libc/arch-arm64/syscalls/clock_nanosleep.S4
-rw-r--r--libc/arch-arm64/syscalls/clock_settime.S4
-rw-r--r--libc/arch-arm64/syscalls/close.S4
-rw-r--r--libc/arch-arm64/syscalls/delete_module.S4
-rw-r--r--libc/arch-arm64/syscalls/dup.S4
-rw-r--r--libc/arch-arm64/syscalls/dup3.S4
-rw-r--r--libc/arch-arm64/syscalls/epoll_create1.S4
-rw-r--r--libc/arch-arm64/syscalls/epoll_ctl.S4
-rw-r--r--libc/arch-arm64/syscalls/eventfd.S4
-rw-r--r--libc/arch-arm64/syscalls/execve.S4
-rw-r--r--libc/arch-arm64/syscalls/faccessat.S4
-rw-r--r--libc/arch-arm64/syscalls/fallocate.S4
-rw-r--r--libc/arch-arm64/syscalls/fchdir.S4
-rw-r--r--libc/arch-arm64/syscalls/fchmod.S4
-rw-r--r--libc/arch-arm64/syscalls/fchmodat.S4
-rw-r--r--libc/arch-arm64/syscalls/fchown.S4
-rw-r--r--libc/arch-arm64/syscalls/fchownat.S4
-rw-r--r--libc/arch-arm64/syscalls/fcntl.S4
-rw-r--r--libc/arch-arm64/syscalls/fdatasync.S4
-rw-r--r--libc/arch-arm64/syscalls/fgetxattr.S4
-rw-r--r--libc/arch-arm64/syscalls/flistxattr.S4
-rw-r--r--libc/arch-arm64/syscalls/flock.S4
-rw-r--r--libc/arch-arm64/syscalls/fremovexattr.S4
-rw-r--r--libc/arch-arm64/syscalls/fsetxattr.S4
-rw-r--r--libc/arch-arm64/syscalls/fstat64.S4
-rw-r--r--libc/arch-arm64/syscalls/fstatat64.S4
-rw-r--r--libc/arch-arm64/syscalls/fstatfs64.S4
-rw-r--r--libc/arch-arm64/syscalls/fsync.S4
-rw-r--r--libc/arch-arm64/syscalls/ftruncate.S4
-rw-r--r--libc/arch-arm64/syscalls/getegid.S4
-rw-r--r--libc/arch-arm64/syscalls/geteuid.S4
-rw-r--r--libc/arch-arm64/syscalls/getgid.S4
-rw-r--r--libc/arch-arm64/syscalls/getgroups.S4
-rw-r--r--libc/arch-arm64/syscalls/getitimer.S4
-rw-r--r--libc/arch-arm64/syscalls/getpeername.S4
-rw-r--r--libc/arch-arm64/syscalls/getpgid.S4
-rw-r--r--libc/arch-arm64/syscalls/getppid.S4
-rw-r--r--libc/arch-arm64/syscalls/getresgid.S4
-rw-r--r--libc/arch-arm64/syscalls/getresuid.S4
-rw-r--r--libc/arch-arm64/syscalls/getrlimit.S4
-rw-r--r--libc/arch-arm64/syscalls/getrusage.S4
-rw-r--r--libc/arch-arm64/syscalls/getsid.S4
-rw-r--r--libc/arch-arm64/syscalls/getsockname.S4
-rw-r--r--libc/arch-arm64/syscalls/getsockopt.S4
-rw-r--r--libc/arch-arm64/syscalls/getuid.S4
-rw-r--r--libc/arch-arm64/syscalls/getxattr.S4
-rw-r--r--libc/arch-arm64/syscalls/init_module.S4
-rw-r--r--libc/arch-arm64/syscalls/inotify_add_watch.S4
-rw-r--r--libc/arch-arm64/syscalls/inotify_init1.S4
-rw-r--r--libc/arch-arm64/syscalls/inotify_rm_watch.S4
-rw-r--r--libc/arch-arm64/syscalls/kill.S4
-rw-r--r--libc/arch-arm64/syscalls/klogctl.S4
-rw-r--r--libc/arch-arm64/syscalls/lgetxattr.S4
-rw-r--r--libc/arch-arm64/syscalls/linkat.S4
-rw-r--r--libc/arch-arm64/syscalls/listen.S4
-rw-r--r--libc/arch-arm64/syscalls/listxattr.S4
-rw-r--r--libc/arch-arm64/syscalls/llistxattr.S4
-rw-r--r--libc/arch-arm64/syscalls/lremovexattr.S4
-rw-r--r--libc/arch-arm64/syscalls/lseek.S4
-rw-r--r--libc/arch-arm64/syscalls/lsetxattr.S4
-rw-r--r--libc/arch-arm64/syscalls/madvise.S4
-rw-r--r--libc/arch-arm64/syscalls/mincore.S4
-rw-r--r--libc/arch-arm64/syscalls/mkdirat.S4
-rw-r--r--libc/arch-arm64/syscalls/mknodat.S4
-rw-r--r--libc/arch-arm64/syscalls/mlock.S4
-rw-r--r--libc/arch-arm64/syscalls/mlockall.S4
-rw-r--r--libc/arch-arm64/syscalls/mmap.S4
-rw-r--r--libc/arch-arm64/syscalls/mount.S4
-rw-r--r--libc/arch-arm64/syscalls/mprotect.S4
-rw-r--r--libc/arch-arm64/syscalls/mremap.S4
-rw-r--r--libc/arch-arm64/syscalls/msync.S4
-rw-r--r--libc/arch-arm64/syscalls/munlock.S4
-rw-r--r--libc/arch-arm64/syscalls/munlockall.S4
-rw-r--r--libc/arch-arm64/syscalls/munmap.S4
-rw-r--r--libc/arch-arm64/syscalls/nanosleep.S4
-rw-r--r--libc/arch-arm64/syscalls/personality.S4
-rw-r--r--libc/arch-arm64/syscalls/pipe2.S4
-rw-r--r--libc/arch-arm64/syscalls/prctl.S4
-rw-r--r--libc/arch-arm64/syscalls/pread64.S4
-rw-r--r--libc/arch-arm64/syscalls/prlimit64.S4
-rw-r--r--libc/arch-arm64/syscalls/pwrite64.S4
-rw-r--r--libc/arch-arm64/syscalls/read.S4
-rw-r--r--libc/arch-arm64/syscalls/readahead.S4
-rw-r--r--libc/arch-arm64/syscalls/readlinkat.S4
-rw-r--r--libc/arch-arm64/syscalls/readv.S4
-rw-r--r--libc/arch-arm64/syscalls/recvfrom.S4
-rw-r--r--libc/arch-arm64/syscalls/recvmmsg.S4
-rw-r--r--libc/arch-arm64/syscalls/recvmsg.S4
-rw-r--r--libc/arch-arm64/syscalls/removexattr.S4
-rw-r--r--libc/arch-arm64/syscalls/renameat.S4
-rw-r--r--libc/arch-arm64/syscalls/sched_get_priority_max.S4
-rw-r--r--libc/arch-arm64/syscalls/sched_get_priority_min.S4
-rw-r--r--libc/arch-arm64/syscalls/sched_getparam.S4
-rw-r--r--libc/arch-arm64/syscalls/sched_getscheduler.S4
-rw-r--r--libc/arch-arm64/syscalls/sched_rr_get_interval.S4
-rw-r--r--libc/arch-arm64/syscalls/sched_setaffinity.S4
-rw-r--r--libc/arch-arm64/syscalls/sched_setparam.S4
-rw-r--r--libc/arch-arm64/syscalls/sched_setscheduler.S4
-rw-r--r--libc/arch-arm64/syscalls/sched_yield.S4
-rw-r--r--libc/arch-arm64/syscalls/sendfile.S4
-rw-r--r--libc/arch-arm64/syscalls/sendmmsg.S4
-rw-r--r--libc/arch-arm64/syscalls/sendmsg.S4
-rw-r--r--libc/arch-arm64/syscalls/sendto.S4
-rw-r--r--libc/arch-arm64/syscalls/setfsgid.S4
-rw-r--r--libc/arch-arm64/syscalls/setfsuid.S4
-rw-r--r--libc/arch-arm64/syscalls/setgid.S4
-rw-r--r--libc/arch-arm64/syscalls/setgroups.S4
-rw-r--r--libc/arch-arm64/syscalls/setitimer.S4
-rw-r--r--libc/arch-arm64/syscalls/setns.S4
-rw-r--r--libc/arch-arm64/syscalls/setpgid.S4
-rw-r--r--libc/arch-arm64/syscalls/setpriority.S4
-rw-r--r--libc/arch-arm64/syscalls/setregid.S4
-rw-r--r--libc/arch-arm64/syscalls/setresgid.S4
-rw-r--r--libc/arch-arm64/syscalls/setresuid.S4
-rw-r--r--libc/arch-arm64/syscalls/setreuid.S4
-rw-r--r--libc/arch-arm64/syscalls/setrlimit.S4
-rw-r--r--libc/arch-arm64/syscalls/setsid.S4
-rw-r--r--libc/arch-arm64/syscalls/setsockopt.S4
-rw-r--r--libc/arch-arm64/syscalls/settimeofday.S4
-rw-r--r--libc/arch-arm64/syscalls/setuid.S4
-rw-r--r--libc/arch-arm64/syscalls/setxattr.S4
-rw-r--r--libc/arch-arm64/syscalls/shutdown.S4
-rw-r--r--libc/arch-arm64/syscalls/sigaltstack.S4
-rw-r--r--libc/arch-arm64/syscalls/socketpair.S4
-rw-r--r--libc/arch-arm64/syscalls/splice.S4
-rw-r--r--libc/arch-arm64/syscalls/statfs64.S4
-rw-r--r--libc/arch-arm64/syscalls/swapoff.S4
-rw-r--r--libc/arch-arm64/syscalls/swapon.S4
-rw-r--r--libc/arch-arm64/syscalls/symlinkat.S4
-rw-r--r--libc/arch-arm64/syscalls/sync.S4
-rw-r--r--libc/arch-arm64/syscalls/sysinfo.S4
-rw-r--r--libc/arch-arm64/syscalls/tee.S4
-rw-r--r--libc/arch-arm64/syscalls/tgkill.S4
-rw-r--r--libc/arch-arm64/syscalls/timerfd_create.S4
-rw-r--r--libc/arch-arm64/syscalls/timerfd_gettime.S4
-rw-r--r--libc/arch-arm64/syscalls/timerfd_settime.S4
-rw-r--r--libc/arch-arm64/syscalls/times.S4
-rw-r--r--libc/arch-arm64/syscalls/truncate.S4
-rw-r--r--libc/arch-arm64/syscalls/umask.S4
-rw-r--r--libc/arch-arm64/syscalls/umount2.S4
-rw-r--r--libc/arch-arm64/syscalls/uname.S4
-rw-r--r--libc/arch-arm64/syscalls/unlinkat.S4
-rw-r--r--libc/arch-arm64/syscalls/unshare.S4
-rw-r--r--libc/arch-arm64/syscalls/utimensat.S4
-rw-r--r--libc/arch-arm64/syscalls/vmsplice.S4
-rw-r--r--libc/arch-arm64/syscalls/wait4.S4
-rw-r--r--libc/arch-arm64/syscalls/write.S4
-rw-r--r--libc/arch-arm64/syscalls/writev.S4
-rw-r--r--libc/arch-mips/bionic/__bionic_clone.S2
-rw-r--r--libc/arch-mips/bionic/syscall.S2
-rw-r--r--libc/arch-mips/bionic/vfork.S2
-rw-r--r--libc/arch-mips/syscalls/__accept4.S4
-rw-r--r--libc/arch-mips/syscalls/__brk.S4
-rw-r--r--libc/arch-mips/syscalls/__connect.S4
-rw-r--r--libc/arch-mips/syscalls/__epoll_pwait.S4
-rw-r--r--libc/arch-mips/syscalls/__exit.S4
-rw-r--r--libc/arch-mips/syscalls/__fcntl64.S4
-rw-r--r--libc/arch-mips/syscalls/__fstatfs64.S4
-rw-r--r--libc/arch-mips/syscalls/__getcpu.S4
-rw-r--r--libc/arch-mips/syscalls/__getcwd.S4
-rw-r--r--libc/arch-mips/syscalls/__getdents64.S4
-rw-r--r--libc/arch-mips/syscalls/__getpid.S4
-rw-r--r--libc/arch-mips/syscalls/__getpriority.S4
-rw-r--r--libc/arch-mips/syscalls/__ioctl.S4
-rw-r--r--libc/arch-mips/syscalls/__llseek.S4
-rw-r--r--libc/arch-mips/syscalls/__mmap2.S4
-rw-r--r--libc/arch-mips/syscalls/__openat.S4
-rw-r--r--libc/arch-mips/syscalls/__ppoll.S4
-rw-r--r--libc/arch-mips/syscalls/__pselect6.S4
-rw-r--r--libc/arch-mips/syscalls/__ptrace.S4
-rw-r--r--libc/arch-mips/syscalls/__reboot.S4
-rw-r--r--libc/arch-mips/syscalls/__rt_sigaction.S4
-rw-r--r--libc/arch-mips/syscalls/__rt_sigpending.S4
-rw-r--r--libc/arch-mips/syscalls/__rt_sigprocmask.S4
-rw-r--r--libc/arch-mips/syscalls/__rt_sigsuspend.S4
-rw-r--r--libc/arch-mips/syscalls/__rt_sigtimedwait.S4
-rw-r--r--libc/arch-mips/syscalls/__sched_getaffinity.S4
-rw-r--r--libc/arch-mips/syscalls/__set_tid_address.S4
-rw-r--r--libc/arch-mips/syscalls/__set_tls.S4
-rw-r--r--libc/arch-mips/syscalls/__sigaction.S4
-rw-r--r--libc/arch-mips/syscalls/__signalfd4.S4
-rw-r--r--libc/arch-mips/syscalls/__socket.S4
-rw-r--r--libc/arch-mips/syscalls/__statfs64.S4
-rw-r--r--libc/arch-mips/syscalls/__timer_create.S4
-rw-r--r--libc/arch-mips/syscalls/__timer_delete.S4
-rw-r--r--libc/arch-mips/syscalls/__timer_getoverrun.S4
-rw-r--r--libc/arch-mips/syscalls/__timer_gettime.S4
-rw-r--r--libc/arch-mips/syscalls/__timer_settime.S4
-rw-r--r--libc/arch-mips/syscalls/__waitid.S4
-rw-r--r--libc/arch-mips/syscalls/_exit.S4
-rw-r--r--libc/arch-mips/syscalls/_flush_cache.S4
-rw-r--r--libc/arch-mips/syscalls/acct.S4
-rw-r--r--libc/arch-mips/syscalls/bind.S4
-rw-r--r--libc/arch-mips/syscalls/capget.S4
-rw-r--r--libc/arch-mips/syscalls/capset.S4
-rw-r--r--libc/arch-mips/syscalls/chdir.S4
-rw-r--r--libc/arch-mips/syscalls/chroot.S4
-rw-r--r--libc/arch-mips/syscalls/clock_getres.S4
-rw-r--r--libc/arch-mips/syscalls/clock_gettime.S4
-rw-r--r--libc/arch-mips/syscalls/clock_nanosleep.S4
-rw-r--r--libc/arch-mips/syscalls/clock_settime.S4
-rw-r--r--libc/arch-mips/syscalls/close.S4
-rw-r--r--libc/arch-mips/syscalls/delete_module.S4
-rw-r--r--libc/arch-mips/syscalls/dup.S4
-rw-r--r--libc/arch-mips/syscalls/dup3.S4
-rw-r--r--libc/arch-mips/syscalls/epoll_create1.S4
-rw-r--r--libc/arch-mips/syscalls/epoll_ctl.S4
-rw-r--r--libc/arch-mips/syscalls/eventfd.S4
-rw-r--r--libc/arch-mips/syscalls/execve.S4
-rw-r--r--libc/arch-mips/syscalls/faccessat.S4
-rw-r--r--libc/arch-mips/syscalls/fallocate64.S4
-rw-r--r--libc/arch-mips/syscalls/fchdir.S4
-rw-r--r--libc/arch-mips/syscalls/fchmod.S4
-rw-r--r--libc/arch-mips/syscalls/fchmodat.S4
-rw-r--r--libc/arch-mips/syscalls/fchown.S4
-rw-r--r--libc/arch-mips/syscalls/fchownat.S4
-rw-r--r--libc/arch-mips/syscalls/fdatasync.S4
-rw-r--r--libc/arch-mips/syscalls/fgetxattr.S4
-rw-r--r--libc/arch-mips/syscalls/flistxattr.S4
-rw-r--r--libc/arch-mips/syscalls/flock.S4
-rw-r--r--libc/arch-mips/syscalls/fremovexattr.S4
-rw-r--r--libc/arch-mips/syscalls/fsetxattr.S4
-rw-r--r--libc/arch-mips/syscalls/fstat64.S4
-rw-r--r--libc/arch-mips/syscalls/fstatat64.S4
-rw-r--r--libc/arch-mips/syscalls/fsync.S4
-rw-r--r--libc/arch-mips/syscalls/ftruncate.S4
-rw-r--r--libc/arch-mips/syscalls/ftruncate64.S4
-rw-r--r--libc/arch-mips/syscalls/getegid.S4
-rw-r--r--libc/arch-mips/syscalls/geteuid.S4
-rw-r--r--libc/arch-mips/syscalls/getgid.S4
-rw-r--r--libc/arch-mips/syscalls/getgroups.S4
-rw-r--r--libc/arch-mips/syscalls/getitimer.S4
-rw-r--r--libc/arch-mips/syscalls/getpeername.S4
-rw-r--r--libc/arch-mips/syscalls/getpgid.S4
-rw-r--r--libc/arch-mips/syscalls/getppid.S4
-rw-r--r--libc/arch-mips/syscalls/getresgid.S4
-rw-r--r--libc/arch-mips/syscalls/getresuid.S4
-rw-r--r--libc/arch-mips/syscalls/getrlimit.S4
-rw-r--r--libc/arch-mips/syscalls/getrusage.S4
-rw-r--r--libc/arch-mips/syscalls/getsid.S4
-rw-r--r--libc/arch-mips/syscalls/getsockname.S4
-rw-r--r--libc/arch-mips/syscalls/getsockopt.S4
-rw-r--r--libc/arch-mips/syscalls/gettimeofday.S4
-rw-r--r--libc/arch-mips/syscalls/getuid.S4
-rw-r--r--libc/arch-mips/syscalls/getxattr.S4
-rw-r--r--libc/arch-mips/syscalls/init_module.S4
-rw-r--r--libc/arch-mips/syscalls/inotify_add_watch.S4
-rw-r--r--libc/arch-mips/syscalls/inotify_init1.S4
-rw-r--r--libc/arch-mips/syscalls/inotify_rm_watch.S4
-rw-r--r--libc/arch-mips/syscalls/kill.S4
-rw-r--r--libc/arch-mips/syscalls/klogctl.S4
-rw-r--r--libc/arch-mips/syscalls/lgetxattr.S4
-rw-r--r--libc/arch-mips/syscalls/linkat.S4
-rw-r--r--libc/arch-mips/syscalls/listen.S4
-rw-r--r--libc/arch-mips/syscalls/listxattr.S4
-rw-r--r--libc/arch-mips/syscalls/llistxattr.S4
-rw-r--r--libc/arch-mips/syscalls/lremovexattr.S4
-rw-r--r--libc/arch-mips/syscalls/lseek.S4
-rw-r--r--libc/arch-mips/syscalls/lsetxattr.S4
-rw-r--r--libc/arch-mips/syscalls/madvise.S4
-rw-r--r--libc/arch-mips/syscalls/mincore.S4
-rw-r--r--libc/arch-mips/syscalls/mkdirat.S4
-rw-r--r--libc/arch-mips/syscalls/mknodat.S4
-rw-r--r--libc/arch-mips/syscalls/mlock.S4
-rw-r--r--libc/arch-mips/syscalls/mlockall.S4
-rw-r--r--libc/arch-mips/syscalls/mount.S4
-rw-r--r--libc/arch-mips/syscalls/mprotect.S4
-rw-r--r--libc/arch-mips/syscalls/mremap.S4
-rw-r--r--libc/arch-mips/syscalls/msync.S4
-rw-r--r--libc/arch-mips/syscalls/munlock.S4
-rw-r--r--libc/arch-mips/syscalls/munlockall.S4
-rw-r--r--libc/arch-mips/syscalls/munmap.S4
-rw-r--r--libc/arch-mips/syscalls/nanosleep.S4
-rw-r--r--libc/arch-mips/syscalls/personality.S4
-rw-r--r--libc/arch-mips/syscalls/pipe2.S4
-rw-r--r--libc/arch-mips/syscalls/prctl.S4
-rw-r--r--libc/arch-mips/syscalls/pread64.S4
-rw-r--r--libc/arch-mips/syscalls/prlimit64.S4
-rw-r--r--libc/arch-mips/syscalls/pwrite64.S4
-rw-r--r--libc/arch-mips/syscalls/read.S4
-rw-r--r--libc/arch-mips/syscalls/readahead.S4
-rw-r--r--libc/arch-mips/syscalls/readlinkat.S4
-rw-r--r--libc/arch-mips/syscalls/readv.S4
-rw-r--r--libc/arch-mips/syscalls/recvfrom.S4
-rw-r--r--libc/arch-mips/syscalls/recvmmsg.S4
-rw-r--r--libc/arch-mips/syscalls/recvmsg.S4
-rw-r--r--libc/arch-mips/syscalls/removexattr.S4
-rw-r--r--libc/arch-mips/syscalls/renameat.S4
-rw-r--r--libc/arch-mips/syscalls/sched_get_priority_max.S4
-rw-r--r--libc/arch-mips/syscalls/sched_get_priority_min.S4
-rw-r--r--libc/arch-mips/syscalls/sched_getparam.S4
-rw-r--r--libc/arch-mips/syscalls/sched_getscheduler.S4
-rw-r--r--libc/arch-mips/syscalls/sched_rr_get_interval.S4
-rw-r--r--libc/arch-mips/syscalls/sched_setaffinity.S4
-rw-r--r--libc/arch-mips/syscalls/sched_setparam.S4
-rw-r--r--libc/arch-mips/syscalls/sched_setscheduler.S4
-rw-r--r--libc/arch-mips/syscalls/sched_yield.S4
-rw-r--r--libc/arch-mips/syscalls/sendfile.S4
-rw-r--r--libc/arch-mips/syscalls/sendfile64.S4
-rw-r--r--libc/arch-mips/syscalls/sendmmsg.S4
-rw-r--r--libc/arch-mips/syscalls/sendmsg.S4
-rw-r--r--libc/arch-mips/syscalls/sendto.S4
-rw-r--r--libc/arch-mips/syscalls/setfsgid.S4
-rw-r--r--libc/arch-mips/syscalls/setfsuid.S4
-rw-r--r--libc/arch-mips/syscalls/setgid.S4
-rw-r--r--libc/arch-mips/syscalls/setgroups.S4
-rw-r--r--libc/arch-mips/syscalls/setitimer.S4
-rw-r--r--libc/arch-mips/syscalls/setns.S4
-rw-r--r--libc/arch-mips/syscalls/setpgid.S4
-rw-r--r--libc/arch-mips/syscalls/setpriority.S4
-rw-r--r--libc/arch-mips/syscalls/setregid.S4
-rw-r--r--libc/arch-mips/syscalls/setresgid.S4
-rw-r--r--libc/arch-mips/syscalls/setresuid.S4
-rw-r--r--libc/arch-mips/syscalls/setreuid.S4
-rw-r--r--libc/arch-mips/syscalls/setrlimit.S4
-rw-r--r--libc/arch-mips/syscalls/setsid.S4
-rw-r--r--libc/arch-mips/syscalls/setsockopt.S4
-rw-r--r--libc/arch-mips/syscalls/settimeofday.S4
-rw-r--r--libc/arch-mips/syscalls/setuid.S4
-rw-r--r--libc/arch-mips/syscalls/setxattr.S4
-rw-r--r--libc/arch-mips/syscalls/shutdown.S4
-rw-r--r--libc/arch-mips/syscalls/sigaltstack.S4
-rw-r--r--libc/arch-mips/syscalls/socketpair.S4
-rw-r--r--libc/arch-mips/syscalls/splice.S4
-rw-r--r--libc/arch-mips/syscalls/swapoff.S4
-rw-r--r--libc/arch-mips/syscalls/swapon.S4
-rw-r--r--libc/arch-mips/syscalls/symlinkat.S4
-rw-r--r--libc/arch-mips/syscalls/sync.S4
-rw-r--r--libc/arch-mips/syscalls/sysinfo.S4
-rw-r--r--libc/arch-mips/syscalls/tee.S4
-rw-r--r--libc/arch-mips/syscalls/tgkill.S4
-rw-r--r--libc/arch-mips/syscalls/timerfd_create.S4
-rw-r--r--libc/arch-mips/syscalls/timerfd_gettime.S4
-rw-r--r--libc/arch-mips/syscalls/timerfd_settime.S4
-rw-r--r--libc/arch-mips/syscalls/times.S4
-rw-r--r--libc/arch-mips/syscalls/truncate.S4
-rw-r--r--libc/arch-mips/syscalls/truncate64.S4
-rw-r--r--libc/arch-mips/syscalls/umask.S4
-rw-r--r--libc/arch-mips/syscalls/umount2.S4
-rw-r--r--libc/arch-mips/syscalls/uname.S4
-rw-r--r--libc/arch-mips/syscalls/unlinkat.S4
-rw-r--r--libc/arch-mips/syscalls/unshare.S4
-rw-r--r--libc/arch-mips/syscalls/utimensat.S4
-rw-r--r--libc/arch-mips/syscalls/vmsplice.S4
-rw-r--r--libc/arch-mips/syscalls/wait4.S4
-rw-r--r--libc/arch-mips/syscalls/write.S4
-rw-r--r--libc/arch-mips/syscalls/writev.S4
-rw-r--r--libc/arch-mips64/bionic/__bionic_clone.S2
-rw-r--r--libc/arch-mips64/bionic/syscall.S2
-rw-r--r--libc/arch-mips64/bionic/vfork.S2
-rw-r--r--libc/arch-mips64/syscalls/__accept4.S4
-rw-r--r--libc/arch-mips64/syscalls/__brk.S4
-rw-r--r--libc/arch-mips64/syscalls/__connect.S4
-rw-r--r--libc/arch-mips64/syscalls/__epoll_pwait.S4
-rw-r--r--libc/arch-mips64/syscalls/__exit.S4
-rw-r--r--libc/arch-mips64/syscalls/__getcpu.S4
-rw-r--r--libc/arch-mips64/syscalls/__getcwd.S4
-rw-r--r--libc/arch-mips64/syscalls/__getdents64.S4
-rw-r--r--libc/arch-mips64/syscalls/__getpid.S4
-rw-r--r--libc/arch-mips64/syscalls/__getpriority.S4
-rw-r--r--libc/arch-mips64/syscalls/__ioctl.S4
-rw-r--r--libc/arch-mips64/syscalls/__openat.S4
-rw-r--r--libc/arch-mips64/syscalls/__ppoll.S4
-rw-r--r--libc/arch-mips64/syscalls/__pselect6.S4
-rw-r--r--libc/arch-mips64/syscalls/__ptrace.S4
-rw-r--r--libc/arch-mips64/syscalls/__reboot.S4
-rw-r--r--libc/arch-mips64/syscalls/__rt_sigaction.S4
-rw-r--r--libc/arch-mips64/syscalls/__rt_sigpending.S4
-rw-r--r--libc/arch-mips64/syscalls/__rt_sigprocmask.S4
-rw-r--r--libc/arch-mips64/syscalls/__rt_sigsuspend.S4
-rw-r--r--libc/arch-mips64/syscalls/__rt_sigtimedwait.S4
-rw-r--r--libc/arch-mips64/syscalls/__sched_getaffinity.S4
-rw-r--r--libc/arch-mips64/syscalls/__set_tid_address.S4
-rw-r--r--libc/arch-mips64/syscalls/__set_tls.S4
-rw-r--r--libc/arch-mips64/syscalls/__signalfd4.S4
-rw-r--r--libc/arch-mips64/syscalls/__socket.S4
-rw-r--r--libc/arch-mips64/syscalls/__timer_create.S4
-rw-r--r--libc/arch-mips64/syscalls/__timer_delete.S4
-rw-r--r--libc/arch-mips64/syscalls/__timer_getoverrun.S4
-rw-r--r--libc/arch-mips64/syscalls/__timer_gettime.S4
-rw-r--r--libc/arch-mips64/syscalls/__timer_settime.S4
-rw-r--r--libc/arch-mips64/syscalls/__waitid.S4
-rw-r--r--libc/arch-mips64/syscalls/_exit.S4
-rw-r--r--libc/arch-mips64/syscalls/acct.S4
-rw-r--r--libc/arch-mips64/syscalls/bind.S4
-rw-r--r--libc/arch-mips64/syscalls/capget.S4
-rw-r--r--libc/arch-mips64/syscalls/capset.S4
-rw-r--r--libc/arch-mips64/syscalls/chdir.S4
-rw-r--r--libc/arch-mips64/syscalls/chroot.S4
-rw-r--r--libc/arch-mips64/syscalls/clock_getres.S4
-rw-r--r--libc/arch-mips64/syscalls/clock_gettime.S4
-rw-r--r--libc/arch-mips64/syscalls/clock_nanosleep.S4
-rw-r--r--libc/arch-mips64/syscalls/clock_settime.S4
-rw-r--r--libc/arch-mips64/syscalls/close.S4
-rw-r--r--libc/arch-mips64/syscalls/delete_module.S4
-rw-r--r--libc/arch-mips64/syscalls/dup.S4
-rw-r--r--libc/arch-mips64/syscalls/dup3.S4
-rw-r--r--libc/arch-mips64/syscalls/epoll_create1.S4
-rw-r--r--libc/arch-mips64/syscalls/epoll_ctl.S4
-rw-r--r--libc/arch-mips64/syscalls/eventfd.S4
-rw-r--r--libc/arch-mips64/syscalls/execve.S4
-rw-r--r--libc/arch-mips64/syscalls/faccessat.S4
-rw-r--r--libc/arch-mips64/syscalls/fallocate.S4
-rw-r--r--libc/arch-mips64/syscalls/fchdir.S4
-rw-r--r--libc/arch-mips64/syscalls/fchmod.S4
-rw-r--r--libc/arch-mips64/syscalls/fchmodat.S4
-rw-r--r--libc/arch-mips64/syscalls/fchown.S4
-rw-r--r--libc/arch-mips64/syscalls/fchownat.S4
-rw-r--r--libc/arch-mips64/syscalls/fcntl.S4
-rw-r--r--libc/arch-mips64/syscalls/fdatasync.S4
-rw-r--r--libc/arch-mips64/syscalls/fgetxattr.S4
-rw-r--r--libc/arch-mips64/syscalls/flistxattr.S4
-rw-r--r--libc/arch-mips64/syscalls/flock.S4
-rw-r--r--libc/arch-mips64/syscalls/fremovexattr.S4
-rw-r--r--libc/arch-mips64/syscalls/fsetxattr.S4
-rw-r--r--libc/arch-mips64/syscalls/fstat64.S4
-rw-r--r--libc/arch-mips64/syscalls/fstatat64.S4
-rw-r--r--libc/arch-mips64/syscalls/fstatfs64.S4
-rw-r--r--libc/arch-mips64/syscalls/fsync.S4
-rw-r--r--libc/arch-mips64/syscalls/ftruncate.S4
-rw-r--r--libc/arch-mips64/syscalls/getegid.S4
-rw-r--r--libc/arch-mips64/syscalls/geteuid.S4
-rw-r--r--libc/arch-mips64/syscalls/getgid.S4
-rw-r--r--libc/arch-mips64/syscalls/getgroups.S4
-rw-r--r--libc/arch-mips64/syscalls/getitimer.S4
-rw-r--r--libc/arch-mips64/syscalls/getpeername.S4
-rw-r--r--libc/arch-mips64/syscalls/getpgid.S4
-rw-r--r--libc/arch-mips64/syscalls/getppid.S4
-rw-r--r--libc/arch-mips64/syscalls/getresgid.S4
-rw-r--r--libc/arch-mips64/syscalls/getresuid.S4
-rw-r--r--libc/arch-mips64/syscalls/getrlimit.S4
-rw-r--r--libc/arch-mips64/syscalls/getrusage.S4
-rw-r--r--libc/arch-mips64/syscalls/getsid.S4
-rw-r--r--libc/arch-mips64/syscalls/getsockname.S4
-rw-r--r--libc/arch-mips64/syscalls/getsockopt.S4
-rw-r--r--libc/arch-mips64/syscalls/gettimeofday.S4
-rw-r--r--libc/arch-mips64/syscalls/getuid.S4
-rw-r--r--libc/arch-mips64/syscalls/getxattr.S4
-rw-r--r--libc/arch-mips64/syscalls/init_module.S4
-rw-r--r--libc/arch-mips64/syscalls/inotify_add_watch.S4
-rw-r--r--libc/arch-mips64/syscalls/inotify_init1.S4
-rw-r--r--libc/arch-mips64/syscalls/inotify_rm_watch.S4
-rw-r--r--libc/arch-mips64/syscalls/kill.S4
-rw-r--r--libc/arch-mips64/syscalls/klogctl.S4
-rw-r--r--libc/arch-mips64/syscalls/lgetxattr.S4
-rw-r--r--libc/arch-mips64/syscalls/linkat.S4
-rw-r--r--libc/arch-mips64/syscalls/listen.S4
-rw-r--r--libc/arch-mips64/syscalls/listxattr.S4
-rw-r--r--libc/arch-mips64/syscalls/llistxattr.S4
-rw-r--r--libc/arch-mips64/syscalls/lremovexattr.S4
-rw-r--r--libc/arch-mips64/syscalls/lseek.S4
-rw-r--r--libc/arch-mips64/syscalls/lsetxattr.S4
-rw-r--r--libc/arch-mips64/syscalls/madvise.S4
-rw-r--r--libc/arch-mips64/syscalls/mincore.S4
-rw-r--r--libc/arch-mips64/syscalls/mkdirat.S4
-rw-r--r--libc/arch-mips64/syscalls/mknodat.S4
-rw-r--r--libc/arch-mips64/syscalls/mlock.S4
-rw-r--r--libc/arch-mips64/syscalls/mlockall.S4
-rw-r--r--libc/arch-mips64/syscalls/mmap.S4
-rw-r--r--libc/arch-mips64/syscalls/mount.S4
-rw-r--r--libc/arch-mips64/syscalls/mprotect.S4
-rw-r--r--libc/arch-mips64/syscalls/mremap.S4
-rw-r--r--libc/arch-mips64/syscalls/msync.S4
-rw-r--r--libc/arch-mips64/syscalls/munlock.S4
-rw-r--r--libc/arch-mips64/syscalls/munlockall.S4
-rw-r--r--libc/arch-mips64/syscalls/munmap.S4
-rw-r--r--libc/arch-mips64/syscalls/nanosleep.S4
-rw-r--r--libc/arch-mips64/syscalls/personality.S4
-rw-r--r--libc/arch-mips64/syscalls/pipe2.S4
-rw-r--r--libc/arch-mips64/syscalls/prctl.S4
-rw-r--r--libc/arch-mips64/syscalls/pread64.S4
-rw-r--r--libc/arch-mips64/syscalls/prlimit64.S4
-rw-r--r--libc/arch-mips64/syscalls/pwrite64.S4
-rw-r--r--libc/arch-mips64/syscalls/read.S4
-rw-r--r--libc/arch-mips64/syscalls/readahead.S4
-rw-r--r--libc/arch-mips64/syscalls/readlinkat.S4
-rw-r--r--libc/arch-mips64/syscalls/readv.S4
-rw-r--r--libc/arch-mips64/syscalls/recvfrom.S4
-rw-r--r--libc/arch-mips64/syscalls/recvmmsg.S4
-rw-r--r--libc/arch-mips64/syscalls/recvmsg.S4
-rw-r--r--libc/arch-mips64/syscalls/removexattr.S4
-rw-r--r--libc/arch-mips64/syscalls/renameat.S4
-rw-r--r--libc/arch-mips64/syscalls/sched_get_priority_max.S4
-rw-r--r--libc/arch-mips64/syscalls/sched_get_priority_min.S4
-rw-r--r--libc/arch-mips64/syscalls/sched_getparam.S4
-rw-r--r--libc/arch-mips64/syscalls/sched_getscheduler.S4
-rw-r--r--libc/arch-mips64/syscalls/sched_rr_get_interval.S4
-rw-r--r--libc/arch-mips64/syscalls/sched_setaffinity.S4
-rw-r--r--libc/arch-mips64/syscalls/sched_setparam.S4
-rw-r--r--libc/arch-mips64/syscalls/sched_setscheduler.S4
-rw-r--r--libc/arch-mips64/syscalls/sched_yield.S4
-rw-r--r--libc/arch-mips64/syscalls/sendfile.S4
-rw-r--r--libc/arch-mips64/syscalls/sendmmsg.S4
-rw-r--r--libc/arch-mips64/syscalls/sendmsg.S4
-rw-r--r--libc/arch-mips64/syscalls/sendto.S4
-rw-r--r--libc/arch-mips64/syscalls/setfsgid.S4
-rw-r--r--libc/arch-mips64/syscalls/setfsuid.S4
-rw-r--r--libc/arch-mips64/syscalls/setgid.S4
-rw-r--r--libc/arch-mips64/syscalls/setgroups.S4
-rw-r--r--libc/arch-mips64/syscalls/setitimer.S4
-rw-r--r--libc/arch-mips64/syscalls/setns.S4
-rw-r--r--libc/arch-mips64/syscalls/setpgid.S4
-rw-r--r--libc/arch-mips64/syscalls/setpriority.S4
-rw-r--r--libc/arch-mips64/syscalls/setregid.S4
-rw-r--r--libc/arch-mips64/syscalls/setresgid.S4
-rw-r--r--libc/arch-mips64/syscalls/setresuid.S4
-rw-r--r--libc/arch-mips64/syscalls/setreuid.S4
-rw-r--r--libc/arch-mips64/syscalls/setrlimit.S4
-rw-r--r--libc/arch-mips64/syscalls/setsid.S4
-rw-r--r--libc/arch-mips64/syscalls/setsockopt.S4
-rw-r--r--libc/arch-mips64/syscalls/settimeofday.S4
-rw-r--r--libc/arch-mips64/syscalls/setuid.S4
-rw-r--r--libc/arch-mips64/syscalls/setxattr.S4
-rw-r--r--libc/arch-mips64/syscalls/shutdown.S4
-rw-r--r--libc/arch-mips64/syscalls/sigaltstack.S4
-rw-r--r--libc/arch-mips64/syscalls/socketpair.S4
-rw-r--r--libc/arch-mips64/syscalls/splice.S4
-rw-r--r--libc/arch-mips64/syscalls/statfs64.S4
-rw-r--r--libc/arch-mips64/syscalls/swapoff.S4
-rw-r--r--libc/arch-mips64/syscalls/swapon.S4
-rw-r--r--libc/arch-mips64/syscalls/symlinkat.S4
-rw-r--r--libc/arch-mips64/syscalls/sync.S4
-rw-r--r--libc/arch-mips64/syscalls/sysinfo.S4
-rw-r--r--libc/arch-mips64/syscalls/tee.S4
-rw-r--r--libc/arch-mips64/syscalls/tgkill.S4
-rw-r--r--libc/arch-mips64/syscalls/timerfd_create.S4
-rw-r--r--libc/arch-mips64/syscalls/timerfd_gettime.S4
-rw-r--r--libc/arch-mips64/syscalls/timerfd_settime.S4
-rw-r--r--libc/arch-mips64/syscalls/times.S4
-rw-r--r--libc/arch-mips64/syscalls/truncate.S4
-rw-r--r--libc/arch-mips64/syscalls/umask.S4
-rw-r--r--libc/arch-mips64/syscalls/umount2.S4
-rw-r--r--libc/arch-mips64/syscalls/uname.S4
-rw-r--r--libc/arch-mips64/syscalls/unlinkat.S4
-rw-r--r--libc/arch-mips64/syscalls/unshare.S4
-rw-r--r--libc/arch-mips64/syscalls/utimensat.S4
-rw-r--r--libc/arch-mips64/syscalls/vmsplice.S4
-rw-r--r--libc/arch-mips64/syscalls/wait4.S4
-rw-r--r--libc/arch-mips64/syscalls/write.S4
-rw-r--r--libc/arch-mips64/syscalls/writev.S4
-rw-r--r--libc/arch-x86/bionic/__bionic_clone.S2
-rw-r--r--libc/arch-x86/bionic/syscall.S2
-rw-r--r--libc/arch-x86/bionic/vfork.S2
-rw-r--r--libc/arch-x86/syscalls/__accept4.S4
-rw-r--r--libc/arch-x86/syscalls/__brk.S4
-rw-r--r--libc/arch-x86/syscalls/__connect.S4
-rw-r--r--libc/arch-x86/syscalls/__epoll_pwait.S4
-rw-r--r--libc/arch-x86/syscalls/__exit.S4
-rw-r--r--libc/arch-x86/syscalls/__fcntl64.S4
-rw-r--r--libc/arch-x86/syscalls/__fstatfs64.S4
-rw-r--r--libc/arch-x86/syscalls/__getcpu.S4
-rw-r--r--libc/arch-x86/syscalls/__getcwd.S4
-rw-r--r--libc/arch-x86/syscalls/__getdents64.S4
-rw-r--r--libc/arch-x86/syscalls/__getpid.S4
-rw-r--r--libc/arch-x86/syscalls/__getpriority.S4
-rw-r--r--libc/arch-x86/syscalls/__ioctl.S4
-rw-r--r--libc/arch-x86/syscalls/__llseek.S4
-rw-r--r--libc/arch-x86/syscalls/__mmap2.S4
-rw-r--r--libc/arch-x86/syscalls/__openat.S4
-rw-r--r--libc/arch-x86/syscalls/__ppoll.S4
-rw-r--r--libc/arch-x86/syscalls/__pselect6.S4
-rw-r--r--libc/arch-x86/syscalls/__ptrace.S4
-rw-r--r--libc/arch-x86/syscalls/__reboot.S4
-rw-r--r--libc/arch-x86/syscalls/__rt_sigaction.S4
-rw-r--r--libc/arch-x86/syscalls/__rt_sigpending.S4
-rw-r--r--libc/arch-x86/syscalls/__rt_sigprocmask.S4
-rw-r--r--libc/arch-x86/syscalls/__rt_sigsuspend.S4
-rw-r--r--libc/arch-x86/syscalls/__rt_sigtimedwait.S4
-rw-r--r--libc/arch-x86/syscalls/__sched_getaffinity.S4
-rw-r--r--libc/arch-x86/syscalls/__set_thread_area.S4
-rw-r--r--libc/arch-x86/syscalls/__set_tid_address.S4
-rw-r--r--libc/arch-x86/syscalls/__sigaction.S4
-rw-r--r--libc/arch-x86/syscalls/__signalfd4.S4
-rw-r--r--libc/arch-x86/syscalls/__socket.S4
-rw-r--r--libc/arch-x86/syscalls/__statfs64.S4
-rw-r--r--libc/arch-x86/syscalls/__timer_create.S4
-rw-r--r--libc/arch-x86/syscalls/__timer_delete.S4
-rw-r--r--libc/arch-x86/syscalls/__timer_getoverrun.S4
-rw-r--r--libc/arch-x86/syscalls/__timer_gettime.S4
-rw-r--r--libc/arch-x86/syscalls/__timer_settime.S4
-rw-r--r--libc/arch-x86/syscalls/__waitid.S4
-rw-r--r--libc/arch-x86/syscalls/_exit.S4
-rw-r--r--libc/arch-x86/syscalls/acct.S4
-rw-r--r--libc/arch-x86/syscalls/bind.S4
-rw-r--r--libc/arch-x86/syscalls/capget.S4
-rw-r--r--libc/arch-x86/syscalls/capset.S4
-rw-r--r--libc/arch-x86/syscalls/chdir.S4
-rw-r--r--libc/arch-x86/syscalls/chroot.S4
-rw-r--r--libc/arch-x86/syscalls/clock_getres.S4
-rw-r--r--libc/arch-x86/syscalls/clock_gettime.S4
-rw-r--r--libc/arch-x86/syscalls/clock_nanosleep.S4
-rw-r--r--libc/arch-x86/syscalls/clock_settime.S4
-rw-r--r--libc/arch-x86/syscalls/close.S4
-rw-r--r--libc/arch-x86/syscalls/delete_module.S4
-rw-r--r--libc/arch-x86/syscalls/dup.S4
-rw-r--r--libc/arch-x86/syscalls/dup3.S4
-rw-r--r--libc/arch-x86/syscalls/epoll_create1.S4
-rw-r--r--libc/arch-x86/syscalls/epoll_ctl.S4
-rw-r--r--libc/arch-x86/syscalls/eventfd.S4
-rw-r--r--libc/arch-x86/syscalls/execve.S4
-rw-r--r--libc/arch-x86/syscalls/faccessat.S4
-rw-r--r--libc/arch-x86/syscalls/fallocate64.S4
-rw-r--r--libc/arch-x86/syscalls/fchdir.S4
-rw-r--r--libc/arch-x86/syscalls/fchmod.S4
-rw-r--r--libc/arch-x86/syscalls/fchmodat.S4
-rw-r--r--libc/arch-x86/syscalls/fchown.S4
-rw-r--r--libc/arch-x86/syscalls/fchownat.S4
-rw-r--r--libc/arch-x86/syscalls/fdatasync.S4
-rw-r--r--libc/arch-x86/syscalls/fgetxattr.S4
-rw-r--r--libc/arch-x86/syscalls/flistxattr.S4
-rw-r--r--libc/arch-x86/syscalls/flock.S4
-rw-r--r--libc/arch-x86/syscalls/fremovexattr.S4
-rw-r--r--libc/arch-x86/syscalls/fsetxattr.S4
-rw-r--r--libc/arch-x86/syscalls/fstat64.S4
-rw-r--r--libc/arch-x86/syscalls/fstatat64.S4
-rw-r--r--libc/arch-x86/syscalls/fsync.S4
-rw-r--r--libc/arch-x86/syscalls/ftruncate.S4
-rw-r--r--libc/arch-x86/syscalls/ftruncate64.S4
-rw-r--r--libc/arch-x86/syscalls/getegid.S4
-rw-r--r--libc/arch-x86/syscalls/geteuid.S4
-rw-r--r--libc/arch-x86/syscalls/getgid.S4
-rw-r--r--libc/arch-x86/syscalls/getgroups.S4
-rw-r--r--libc/arch-x86/syscalls/getitimer.S4
-rw-r--r--libc/arch-x86/syscalls/getpeername.S4
-rw-r--r--libc/arch-x86/syscalls/getpgid.S4
-rw-r--r--libc/arch-x86/syscalls/getppid.S4
-rw-r--r--libc/arch-x86/syscalls/getresgid.S4
-rw-r--r--libc/arch-x86/syscalls/getresuid.S4
-rw-r--r--libc/arch-x86/syscalls/getrlimit.S4
-rw-r--r--libc/arch-x86/syscalls/getrusage.S4
-rw-r--r--libc/arch-x86/syscalls/getsid.S4
-rw-r--r--libc/arch-x86/syscalls/getsockname.S4
-rw-r--r--libc/arch-x86/syscalls/getsockopt.S4
-rw-r--r--libc/arch-x86/syscalls/gettimeofday.S4
-rw-r--r--libc/arch-x86/syscalls/getuid.S4
-rw-r--r--libc/arch-x86/syscalls/getxattr.S4
-rw-r--r--libc/arch-x86/syscalls/init_module.S4
-rw-r--r--libc/arch-x86/syscalls/inotify_add_watch.S4
-rw-r--r--libc/arch-x86/syscalls/inotify_init1.S4
-rw-r--r--libc/arch-x86/syscalls/inotify_rm_watch.S4
-rw-r--r--libc/arch-x86/syscalls/kill.S4
-rw-r--r--libc/arch-x86/syscalls/klogctl.S4
-rw-r--r--libc/arch-x86/syscalls/lgetxattr.S4
-rw-r--r--libc/arch-x86/syscalls/linkat.S4
-rw-r--r--libc/arch-x86/syscalls/listen.S4
-rw-r--r--libc/arch-x86/syscalls/listxattr.S4
-rw-r--r--libc/arch-x86/syscalls/llistxattr.S4
-rw-r--r--libc/arch-x86/syscalls/lremovexattr.S4
-rw-r--r--libc/arch-x86/syscalls/lseek.S4
-rw-r--r--libc/arch-x86/syscalls/lsetxattr.S4
-rw-r--r--libc/arch-x86/syscalls/madvise.S4
-rw-r--r--libc/arch-x86/syscalls/mincore.S4
-rw-r--r--libc/arch-x86/syscalls/mkdirat.S4
-rw-r--r--libc/arch-x86/syscalls/mknodat.S4
-rw-r--r--libc/arch-x86/syscalls/mlock.S4
-rw-r--r--libc/arch-x86/syscalls/mlockall.S4
-rw-r--r--libc/arch-x86/syscalls/mount.S4
-rw-r--r--libc/arch-x86/syscalls/mprotect.S4
-rw-r--r--libc/arch-x86/syscalls/mremap.S4
-rw-r--r--libc/arch-x86/syscalls/msync.S4
-rw-r--r--libc/arch-x86/syscalls/munlock.S4
-rw-r--r--libc/arch-x86/syscalls/munlockall.S4
-rw-r--r--libc/arch-x86/syscalls/munmap.S4
-rw-r--r--libc/arch-x86/syscalls/nanosleep.S4
-rw-r--r--libc/arch-x86/syscalls/personality.S4
-rw-r--r--libc/arch-x86/syscalls/pipe2.S4
-rw-r--r--libc/arch-x86/syscalls/prctl.S4
-rw-r--r--libc/arch-x86/syscalls/pread64.S4
-rw-r--r--libc/arch-x86/syscalls/prlimit64.S4
-rw-r--r--libc/arch-x86/syscalls/pwrite64.S4
-rw-r--r--libc/arch-x86/syscalls/read.S4
-rw-r--r--libc/arch-x86/syscalls/readahead.S4
-rw-r--r--libc/arch-x86/syscalls/readlinkat.S4
-rw-r--r--libc/arch-x86/syscalls/readv.S4
-rw-r--r--libc/arch-x86/syscalls/recvfrom.S4
-rw-r--r--libc/arch-x86/syscalls/recvmmsg.S4
-rw-r--r--libc/arch-x86/syscalls/recvmsg.S4
-rw-r--r--libc/arch-x86/syscalls/removexattr.S4
-rw-r--r--libc/arch-x86/syscalls/renameat.S4
-rw-r--r--libc/arch-x86/syscalls/sched_get_priority_max.S4
-rw-r--r--libc/arch-x86/syscalls/sched_get_priority_min.S4
-rw-r--r--libc/arch-x86/syscalls/sched_getparam.S4
-rw-r--r--libc/arch-x86/syscalls/sched_getscheduler.S4
-rw-r--r--libc/arch-x86/syscalls/sched_rr_get_interval.S4
-rw-r--r--libc/arch-x86/syscalls/sched_setaffinity.S4
-rw-r--r--libc/arch-x86/syscalls/sched_setparam.S4
-rw-r--r--libc/arch-x86/syscalls/sched_setscheduler.S4
-rw-r--r--libc/arch-x86/syscalls/sched_yield.S4
-rw-r--r--libc/arch-x86/syscalls/sendfile.S4
-rw-r--r--libc/arch-x86/syscalls/sendfile64.S4
-rw-r--r--libc/arch-x86/syscalls/sendmmsg.S4
-rw-r--r--libc/arch-x86/syscalls/sendmsg.S4
-rw-r--r--libc/arch-x86/syscalls/sendto.S4
-rw-r--r--libc/arch-x86/syscalls/setfsgid.S4
-rw-r--r--libc/arch-x86/syscalls/setfsuid.S4
-rw-r--r--libc/arch-x86/syscalls/setgid.S4
-rw-r--r--libc/arch-x86/syscalls/setgroups.S4
-rw-r--r--libc/arch-x86/syscalls/setitimer.S4
-rw-r--r--libc/arch-x86/syscalls/setns.S4
-rw-r--r--libc/arch-x86/syscalls/setpgid.S4
-rw-r--r--libc/arch-x86/syscalls/setpriority.S4
-rw-r--r--libc/arch-x86/syscalls/setregid.S4
-rw-r--r--libc/arch-x86/syscalls/setresgid.S4
-rw-r--r--libc/arch-x86/syscalls/setresuid.S4
-rw-r--r--libc/arch-x86/syscalls/setreuid.S4
-rw-r--r--libc/arch-x86/syscalls/setrlimit.S4
-rw-r--r--libc/arch-x86/syscalls/setsid.S4
-rw-r--r--libc/arch-x86/syscalls/setsockopt.S4
-rw-r--r--libc/arch-x86/syscalls/settimeofday.S4
-rw-r--r--libc/arch-x86/syscalls/setuid.S4
-rw-r--r--libc/arch-x86/syscalls/setxattr.S4
-rw-r--r--libc/arch-x86/syscalls/shutdown.S4
-rw-r--r--libc/arch-x86/syscalls/sigaltstack.S4
-rw-r--r--libc/arch-x86/syscalls/socketpair.S4
-rw-r--r--libc/arch-x86/syscalls/splice.S4
-rw-r--r--libc/arch-x86/syscalls/swapoff.S4
-rw-r--r--libc/arch-x86/syscalls/swapon.S4
-rw-r--r--libc/arch-x86/syscalls/symlinkat.S4
-rw-r--r--libc/arch-x86/syscalls/sync.S4
-rw-r--r--libc/arch-x86/syscalls/sysinfo.S4
-rw-r--r--libc/arch-x86/syscalls/tee.S4
-rw-r--r--libc/arch-x86/syscalls/tgkill.S4
-rw-r--r--libc/arch-x86/syscalls/timerfd_create.S4
-rw-r--r--libc/arch-x86/syscalls/timerfd_gettime.S4
-rw-r--r--libc/arch-x86/syscalls/timerfd_settime.S4
-rw-r--r--libc/arch-x86/syscalls/times.S4
-rw-r--r--libc/arch-x86/syscalls/truncate.S4
-rw-r--r--libc/arch-x86/syscalls/truncate64.S4
-rw-r--r--libc/arch-x86/syscalls/umask.S4
-rw-r--r--libc/arch-x86/syscalls/umount2.S4
-rw-r--r--libc/arch-x86/syscalls/uname.S4
-rw-r--r--libc/arch-x86/syscalls/unlinkat.S4
-rw-r--r--libc/arch-x86/syscalls/unshare.S4
-rw-r--r--libc/arch-x86/syscalls/utimensat.S4
-rw-r--r--libc/arch-x86/syscalls/vmsplice.S4
-rw-r--r--libc/arch-x86/syscalls/wait4.S4
-rw-r--r--libc/arch-x86/syscalls/write.S4
-rw-r--r--libc/arch-x86/syscalls/writev.S4
-rw-r--r--libc/arch-x86_64/bionic/__bionic_clone.S2
-rw-r--r--libc/arch-x86_64/bionic/syscall.S2
-rw-r--r--libc/arch-x86_64/bionic/vfork.S2
-rw-r--r--libc/arch-x86_64/syscalls/__accept4.S4
-rw-r--r--libc/arch-x86_64/syscalls/__arch_prctl.S4
-rw-r--r--libc/arch-x86_64/syscalls/__brk.S4
-rw-r--r--libc/arch-x86_64/syscalls/__clock_gettime.S4
-rw-r--r--libc/arch-x86_64/syscalls/__connect.S4
-rw-r--r--libc/arch-x86_64/syscalls/__epoll_pwait.S4
-rw-r--r--libc/arch-x86_64/syscalls/__exit.S4
-rw-r--r--libc/arch-x86_64/syscalls/__getcpu.S4
-rw-r--r--libc/arch-x86_64/syscalls/__getcwd.S4
-rw-r--r--libc/arch-x86_64/syscalls/__getdents64.S4
-rw-r--r--libc/arch-x86_64/syscalls/__getpid.S4
-rw-r--r--libc/arch-x86_64/syscalls/__getpriority.S4
-rw-r--r--libc/arch-x86_64/syscalls/__gettimeofday.S4
-rw-r--r--libc/arch-x86_64/syscalls/__ioctl.S4
-rw-r--r--libc/arch-x86_64/syscalls/__openat.S4
-rw-r--r--libc/arch-x86_64/syscalls/__ppoll.S4
-rw-r--r--libc/arch-x86_64/syscalls/__pselect6.S4
-rw-r--r--libc/arch-x86_64/syscalls/__ptrace.S4
-rw-r--r--libc/arch-x86_64/syscalls/__reboot.S4
-rw-r--r--libc/arch-x86_64/syscalls/__rt_sigaction.S4
-rw-r--r--libc/arch-x86_64/syscalls/__rt_sigpending.S4
-rw-r--r--libc/arch-x86_64/syscalls/__rt_sigprocmask.S4
-rw-r--r--libc/arch-x86_64/syscalls/__rt_sigsuspend.S4
-rw-r--r--libc/arch-x86_64/syscalls/__rt_sigtimedwait.S4
-rw-r--r--libc/arch-x86_64/syscalls/__sched_getaffinity.S4
-rw-r--r--libc/arch-x86_64/syscalls/__set_tid_address.S4
-rw-r--r--libc/arch-x86_64/syscalls/__signalfd4.S4
-rw-r--r--libc/arch-x86_64/syscalls/__socket.S4
-rw-r--r--libc/arch-x86_64/syscalls/__timer_create.S4
-rw-r--r--libc/arch-x86_64/syscalls/__timer_delete.S4
-rw-r--r--libc/arch-x86_64/syscalls/__timer_getoverrun.S4
-rw-r--r--libc/arch-x86_64/syscalls/__timer_gettime.S4
-rw-r--r--libc/arch-x86_64/syscalls/__timer_settime.S4
-rw-r--r--libc/arch-x86_64/syscalls/__waitid.S4
-rw-r--r--libc/arch-x86_64/syscalls/_exit.S4
-rw-r--r--libc/arch-x86_64/syscalls/acct.S4
-rw-r--r--libc/arch-x86_64/syscalls/bind.S4
-rw-r--r--libc/arch-x86_64/syscalls/capget.S4
-rw-r--r--libc/arch-x86_64/syscalls/capset.S4
-rw-r--r--libc/arch-x86_64/syscalls/chdir.S4
-rw-r--r--libc/arch-x86_64/syscalls/chroot.S4
-rw-r--r--libc/arch-x86_64/syscalls/clock_getres.S4
-rw-r--r--libc/arch-x86_64/syscalls/clock_nanosleep.S4
-rw-r--r--libc/arch-x86_64/syscalls/clock_settime.S4
-rw-r--r--libc/arch-x86_64/syscalls/close.S4
-rw-r--r--libc/arch-x86_64/syscalls/delete_module.S4
-rw-r--r--libc/arch-x86_64/syscalls/dup.S4
-rw-r--r--libc/arch-x86_64/syscalls/dup3.S4
-rw-r--r--libc/arch-x86_64/syscalls/epoll_create1.S4
-rw-r--r--libc/arch-x86_64/syscalls/epoll_ctl.S4
-rw-r--r--libc/arch-x86_64/syscalls/eventfd.S4
-rw-r--r--libc/arch-x86_64/syscalls/execve.S4
-rw-r--r--libc/arch-x86_64/syscalls/faccessat.S4
-rw-r--r--libc/arch-x86_64/syscalls/fallocate.S4
-rw-r--r--libc/arch-x86_64/syscalls/fchdir.S4
-rw-r--r--libc/arch-x86_64/syscalls/fchmod.S4
-rw-r--r--libc/arch-x86_64/syscalls/fchmodat.S4
-rw-r--r--libc/arch-x86_64/syscalls/fchown.S4
-rw-r--r--libc/arch-x86_64/syscalls/fchownat.S4
-rw-r--r--libc/arch-x86_64/syscalls/fcntl.S4
-rw-r--r--libc/arch-x86_64/syscalls/fdatasync.S4
-rw-r--r--libc/arch-x86_64/syscalls/fgetxattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/flistxattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/flock.S4
-rw-r--r--libc/arch-x86_64/syscalls/fremovexattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/fsetxattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/fstat64.S4
-rw-r--r--libc/arch-x86_64/syscalls/fstatat64.S4
-rw-r--r--libc/arch-x86_64/syscalls/fstatfs64.S4
-rw-r--r--libc/arch-x86_64/syscalls/fsync.S4
-rw-r--r--libc/arch-x86_64/syscalls/ftruncate.S4
-rw-r--r--libc/arch-x86_64/syscalls/getegid.S4
-rw-r--r--libc/arch-x86_64/syscalls/geteuid.S4
-rw-r--r--libc/arch-x86_64/syscalls/getgid.S4
-rw-r--r--libc/arch-x86_64/syscalls/getgroups.S4
-rw-r--r--libc/arch-x86_64/syscalls/getitimer.S4
-rw-r--r--libc/arch-x86_64/syscalls/getpeername.S4
-rw-r--r--libc/arch-x86_64/syscalls/getpgid.S4
-rw-r--r--libc/arch-x86_64/syscalls/getppid.S4
-rw-r--r--libc/arch-x86_64/syscalls/getresgid.S4
-rw-r--r--libc/arch-x86_64/syscalls/getresuid.S4
-rw-r--r--libc/arch-x86_64/syscalls/getrlimit.S4
-rw-r--r--libc/arch-x86_64/syscalls/getrusage.S4
-rw-r--r--libc/arch-x86_64/syscalls/getsid.S4
-rw-r--r--libc/arch-x86_64/syscalls/getsockname.S4
-rw-r--r--libc/arch-x86_64/syscalls/getsockopt.S4
-rw-r--r--libc/arch-x86_64/syscalls/getuid.S4
-rw-r--r--libc/arch-x86_64/syscalls/getxattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/init_module.S4
-rw-r--r--libc/arch-x86_64/syscalls/inotify_add_watch.S4
-rw-r--r--libc/arch-x86_64/syscalls/inotify_init1.S4
-rw-r--r--libc/arch-x86_64/syscalls/inotify_rm_watch.S4
-rw-r--r--libc/arch-x86_64/syscalls/kill.S4
-rw-r--r--libc/arch-x86_64/syscalls/klogctl.S4
-rw-r--r--libc/arch-x86_64/syscalls/lgetxattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/linkat.S4
-rw-r--r--libc/arch-x86_64/syscalls/listen.S4
-rw-r--r--libc/arch-x86_64/syscalls/listxattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/llistxattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/lremovexattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/lseek.S4
-rw-r--r--libc/arch-x86_64/syscalls/lsetxattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/madvise.S4
-rw-r--r--libc/arch-x86_64/syscalls/mincore.S4
-rw-r--r--libc/arch-x86_64/syscalls/mkdirat.S4
-rw-r--r--libc/arch-x86_64/syscalls/mknodat.S4
-rw-r--r--libc/arch-x86_64/syscalls/mlock.S4
-rw-r--r--libc/arch-x86_64/syscalls/mlockall.S4
-rw-r--r--libc/arch-x86_64/syscalls/mmap.S4
-rw-r--r--libc/arch-x86_64/syscalls/mount.S4
-rw-r--r--libc/arch-x86_64/syscalls/mprotect.S4
-rw-r--r--libc/arch-x86_64/syscalls/mremap.S4
-rw-r--r--libc/arch-x86_64/syscalls/msync.S4
-rw-r--r--libc/arch-x86_64/syscalls/munlock.S4
-rw-r--r--libc/arch-x86_64/syscalls/munlockall.S4
-rw-r--r--libc/arch-x86_64/syscalls/munmap.S4
-rw-r--r--libc/arch-x86_64/syscalls/nanosleep.S4
-rw-r--r--libc/arch-x86_64/syscalls/personality.S4
-rw-r--r--libc/arch-x86_64/syscalls/pipe2.S4
-rw-r--r--libc/arch-x86_64/syscalls/prctl.S4
-rw-r--r--libc/arch-x86_64/syscalls/pread64.S4
-rw-r--r--libc/arch-x86_64/syscalls/prlimit64.S4
-rw-r--r--libc/arch-x86_64/syscalls/pwrite64.S4
-rw-r--r--libc/arch-x86_64/syscalls/read.S4
-rw-r--r--libc/arch-x86_64/syscalls/readahead.S4
-rw-r--r--libc/arch-x86_64/syscalls/readlinkat.S4
-rw-r--r--libc/arch-x86_64/syscalls/readv.S4
-rw-r--r--libc/arch-x86_64/syscalls/recvfrom.S4
-rw-r--r--libc/arch-x86_64/syscalls/recvmmsg.S4
-rw-r--r--libc/arch-x86_64/syscalls/recvmsg.S4
-rw-r--r--libc/arch-x86_64/syscalls/removexattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/renameat.S4
-rw-r--r--libc/arch-x86_64/syscalls/sched_get_priority_max.S4
-rw-r--r--libc/arch-x86_64/syscalls/sched_get_priority_min.S4
-rw-r--r--libc/arch-x86_64/syscalls/sched_getparam.S4
-rw-r--r--libc/arch-x86_64/syscalls/sched_getscheduler.S4
-rw-r--r--libc/arch-x86_64/syscalls/sched_rr_get_interval.S4
-rw-r--r--libc/arch-x86_64/syscalls/sched_setaffinity.S4
-rw-r--r--libc/arch-x86_64/syscalls/sched_setparam.S4
-rw-r--r--libc/arch-x86_64/syscalls/sched_setscheduler.S4
-rw-r--r--libc/arch-x86_64/syscalls/sched_yield.S4
-rw-r--r--libc/arch-x86_64/syscalls/sendfile.S4
-rw-r--r--libc/arch-x86_64/syscalls/sendmmsg.S4
-rw-r--r--libc/arch-x86_64/syscalls/sendmsg.S4
-rw-r--r--libc/arch-x86_64/syscalls/sendto.S4
-rw-r--r--libc/arch-x86_64/syscalls/setfsgid.S4
-rw-r--r--libc/arch-x86_64/syscalls/setfsuid.S4
-rw-r--r--libc/arch-x86_64/syscalls/setgid.S4
-rw-r--r--libc/arch-x86_64/syscalls/setgroups.S4
-rw-r--r--libc/arch-x86_64/syscalls/setitimer.S4
-rw-r--r--libc/arch-x86_64/syscalls/setns.S4
-rw-r--r--libc/arch-x86_64/syscalls/setpgid.S4
-rw-r--r--libc/arch-x86_64/syscalls/setpriority.S4
-rw-r--r--libc/arch-x86_64/syscalls/setregid.S4
-rw-r--r--libc/arch-x86_64/syscalls/setresgid.S4
-rw-r--r--libc/arch-x86_64/syscalls/setresuid.S4
-rw-r--r--libc/arch-x86_64/syscalls/setreuid.S4
-rw-r--r--libc/arch-x86_64/syscalls/setrlimit.S4
-rw-r--r--libc/arch-x86_64/syscalls/setsid.S4
-rw-r--r--libc/arch-x86_64/syscalls/setsockopt.S4
-rw-r--r--libc/arch-x86_64/syscalls/settimeofday.S4
-rw-r--r--libc/arch-x86_64/syscalls/setuid.S4
-rw-r--r--libc/arch-x86_64/syscalls/setxattr.S4
-rw-r--r--libc/arch-x86_64/syscalls/shutdown.S4
-rw-r--r--libc/arch-x86_64/syscalls/sigaltstack.S4
-rw-r--r--libc/arch-x86_64/syscalls/socketpair.S4
-rw-r--r--libc/arch-x86_64/syscalls/splice.S4
-rw-r--r--libc/arch-x86_64/syscalls/statfs64.S4
-rw-r--r--libc/arch-x86_64/syscalls/swapoff.S4
-rw-r--r--libc/arch-x86_64/syscalls/swapon.S4
-rw-r--r--libc/arch-x86_64/syscalls/symlinkat.S4
-rw-r--r--libc/arch-x86_64/syscalls/sync.S4
-rw-r--r--libc/arch-x86_64/syscalls/sysinfo.S4
-rw-r--r--libc/arch-x86_64/syscalls/tee.S4
-rw-r--r--libc/arch-x86_64/syscalls/tgkill.S4
-rw-r--r--libc/arch-x86_64/syscalls/timerfd_create.S4
-rw-r--r--libc/arch-x86_64/syscalls/timerfd_gettime.S4
-rw-r--r--libc/arch-x86_64/syscalls/timerfd_settime.S4
-rw-r--r--libc/arch-x86_64/syscalls/times.S4
-rw-r--r--libc/arch-x86_64/syscalls/truncate.S4
-rw-r--r--libc/arch-x86_64/syscalls/umask.S4
-rw-r--r--libc/arch-x86_64/syscalls/umount2.S4
-rw-r--r--libc/arch-x86_64/syscalls/uname.S4
-rw-r--r--libc/arch-x86_64/syscalls/unlinkat.S4
-rw-r--r--libc/arch-x86_64/syscalls/unshare.S4
-rw-r--r--libc/arch-x86_64/syscalls/utimensat.S4
-rw-r--r--libc/arch-x86_64/syscalls/vmsplice.S4
-rw-r--r--libc/arch-x86_64/syscalls/wait4.S4
-rw-r--r--libc/arch-x86_64/syscalls/write.S4
-rw-r--r--libc/arch-x86_64/syscalls/writev.S4
-rw-r--r--libc/bionic/__set_errno.cpp18
-rwxr-xr-xlibc/tools/gensyscalls.py16
1176 files changed, 1193 insertions, 3503 deletions
diff --git a/libc/arch-arm/bionic/__bionic_clone.S b/libc/arch-arm/bionic/__bionic_clone.S
index 48f2f98..f5cf9e0 100644
--- a/libc/arch-arm/bionic/__bionic_clone.S
+++ b/libc/arch-arm/bionic/__bionic_clone.S
@@ -57,7 +57,7 @@ ENTRY(__bionic_clone)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
1: # The child.
# Setting lr to 0 will make the unwinder stop at __start_thread
diff --git a/libc/arch-arm/bionic/syscall.S b/libc/arch-arm/bionic/syscall.S
index 8647718..d0df379 100644
--- a/libc/arch-arm/bionic/syscall.S
+++ b/libc/arch-arm/bionic/syscall.S
@@ -47,5 +47,5 @@ ENTRY(syscall)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(syscall)
diff --git a/libc/arch-arm/syscalls/__accept4.S b/libc/arch-arm/syscalls/__accept4.S
index 2b1eb28..dca5699 100644
--- a/libc/arch-arm/syscalls/__accept4.S
+++ b/libc/arch-arm/syscalls/__accept4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__accept4)
mov ip, r7
ldr r7, =__NR_accept4
@@ -12,5 +10,5 @@ ENTRY(__accept4)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__accept4)
diff --git a/libc/arch-arm/syscalls/__brk.S b/libc/arch-arm/syscalls/__brk.S
index 0987f0e..be304da 100644
--- a/libc/arch-arm/syscalls/__brk.S
+++ b/libc/arch-arm/syscalls/__brk.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__brk)
mov ip, r7
ldr r7, =__NR_brk
@@ -12,5 +10,5 @@ ENTRY(__brk)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__brk)
diff --git a/libc/arch-arm/syscalls/__connect.S b/libc/arch-arm/syscalls/__connect.S
index 510af95..a2a997e 100644
--- a/libc/arch-arm/syscalls/__connect.S
+++ b/libc/arch-arm/syscalls/__connect.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__connect)
mov ip, r7
ldr r7, =__NR_connect
@@ -12,5 +10,5 @@ ENTRY(__connect)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__connect)
diff --git a/libc/arch-arm/syscalls/__epoll_pwait.S b/libc/arch-arm/syscalls/__epoll_pwait.S
index bbba2e1..3642ee3 100644
--- a/libc/arch-arm/syscalls/__epoll_pwait.S
+++ b/libc/arch-arm/syscalls/__epoll_pwait.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__epoll_pwait)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(__epoll_pwait)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__epoll_pwait)
diff --git a/libc/arch-arm/syscalls/__exit.S b/libc/arch-arm/syscalls/__exit.S
index ceef94e..6ebd5b3 100644
--- a/libc/arch-arm/syscalls/__exit.S
+++ b/libc/arch-arm/syscalls/__exit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__exit)
mov ip, r7
ldr r7, =__NR_exit
@@ -12,5 +10,5 @@ ENTRY(__exit)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__exit)
diff --git a/libc/arch-arm/syscalls/__fcntl64.S b/libc/arch-arm/syscalls/__fcntl64.S
index bb2068d..229c5c6 100644
--- a/libc/arch-arm/syscalls/__fcntl64.S
+++ b/libc/arch-arm/syscalls/__fcntl64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__fcntl64)
mov ip, r7
ldr r7, =__NR_fcntl64
@@ -12,5 +10,5 @@ ENTRY(__fcntl64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__fcntl64)
diff --git a/libc/arch-arm/syscalls/__fstatfs64.S b/libc/arch-arm/syscalls/__fstatfs64.S
index b493aa0..9c0c439 100644
--- a/libc/arch-arm/syscalls/__fstatfs64.S
+++ b/libc/arch-arm/syscalls/__fstatfs64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__fstatfs64)
mov ip, r7
ldr r7, =__NR_fstatfs64
@@ -12,5 +10,5 @@ ENTRY(__fstatfs64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__fstatfs64)
diff --git a/libc/arch-arm/syscalls/__getcpu.S b/libc/arch-arm/syscalls/__getcpu.S
index 1b3fc46..d523d8e 100644
--- a/libc/arch-arm/syscalls/__getcpu.S
+++ b/libc/arch-arm/syscalls/__getcpu.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcpu)
mov ip, r7
ldr r7, =__NR_getcpu
@@ -12,5 +10,5 @@ ENTRY(__getcpu)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__getcpu)
diff --git a/libc/arch-arm/syscalls/__getcwd.S b/libc/arch-arm/syscalls/__getcwd.S
index d91b3ca..4ff6667 100644
--- a/libc/arch-arm/syscalls/__getcwd.S
+++ b/libc/arch-arm/syscalls/__getcwd.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcwd)
mov ip, r7
ldr r7, =__NR_getcwd
@@ -12,5 +10,5 @@ ENTRY(__getcwd)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__getcwd)
diff --git a/libc/arch-arm/syscalls/__getdents64.S b/libc/arch-arm/syscalls/__getdents64.S
index 7d3d81c..dac3bfc 100644
--- a/libc/arch-arm/syscalls/__getdents64.S
+++ b/libc/arch-arm/syscalls/__getdents64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getdents64)
mov ip, r7
ldr r7, =__NR_getdents64
@@ -12,5 +10,5 @@ ENTRY(__getdents64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__getdents64)
diff --git a/libc/arch-arm/syscalls/__getpid.S b/libc/arch-arm/syscalls/__getpid.S
index ede0865..dbb192e 100644
--- a/libc/arch-arm/syscalls/__getpid.S
+++ b/libc/arch-arm/syscalls/__getpid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpid)
mov ip, r7
ldr r7, =__NR_getpid
@@ -12,5 +10,5 @@ ENTRY(__getpid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__getpid)
diff --git a/libc/arch-arm/syscalls/__getpriority.S b/libc/arch-arm/syscalls/__getpriority.S
index d3a6468..e637d6f 100644
--- a/libc/arch-arm/syscalls/__getpriority.S
+++ b/libc/arch-arm/syscalls/__getpriority.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpriority)
mov ip, r7
ldr r7, =__NR_getpriority
@@ -12,5 +10,5 @@ ENTRY(__getpriority)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__getpriority)
diff --git a/libc/arch-arm/syscalls/__ioctl.S b/libc/arch-arm/syscalls/__ioctl.S
index b3ac82f..fcd1157 100644
--- a/libc/arch-arm/syscalls/__ioctl.S
+++ b/libc/arch-arm/syscalls/__ioctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ioctl)
mov ip, r7
ldr r7, =__NR_ioctl
@@ -12,5 +10,5 @@ ENTRY(__ioctl)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__ioctl)
diff --git a/libc/arch-arm/syscalls/__llseek.S b/libc/arch-arm/syscalls/__llseek.S
index b36164c..3cff318 100644
--- a/libc/arch-arm/syscalls/__llseek.S
+++ b/libc/arch-arm/syscalls/__llseek.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__llseek)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(__llseek)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__llseek)
diff --git a/libc/arch-arm/syscalls/__mmap2.S b/libc/arch-arm/syscalls/__mmap2.S
index ba74716..f11e467 100644
--- a/libc/arch-arm/syscalls/__mmap2.S
+++ b/libc/arch-arm/syscalls/__mmap2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__mmap2)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(__mmap2)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__mmap2)
diff --git a/libc/arch-arm/syscalls/__openat.S b/libc/arch-arm/syscalls/__openat.S
index 6b119e1..9b774db 100644
--- a/libc/arch-arm/syscalls/__openat.S
+++ b/libc/arch-arm/syscalls/__openat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__openat)
mov ip, r7
ldr r7, =__NR_openat
@@ -12,5 +10,5 @@ ENTRY(__openat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__openat)
diff --git a/libc/arch-arm/syscalls/__ppoll.S b/libc/arch-arm/syscalls/__ppoll.S
index 3a0e80c..02de8a8 100644
--- a/libc/arch-arm/syscalls/__ppoll.S
+++ b/libc/arch-arm/syscalls/__ppoll.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ppoll)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(__ppoll)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__ppoll)
diff --git a/libc/arch-arm/syscalls/__pselect6.S b/libc/arch-arm/syscalls/__pselect6.S
index 1417be8..8f31e1b 100644
--- a/libc/arch-arm/syscalls/__pselect6.S
+++ b/libc/arch-arm/syscalls/__pselect6.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__pselect6)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(__pselect6)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__pselect6)
diff --git a/libc/arch-arm/syscalls/__ptrace.S b/libc/arch-arm/syscalls/__ptrace.S
index bc03232..975ab0f 100644
--- a/libc/arch-arm/syscalls/__ptrace.S
+++ b/libc/arch-arm/syscalls/__ptrace.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ptrace)
mov ip, r7
ldr r7, =__NR_ptrace
@@ -12,5 +10,5 @@ ENTRY(__ptrace)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__ptrace)
diff --git a/libc/arch-arm/syscalls/__reboot.S b/libc/arch-arm/syscalls/__reboot.S
index 91bbf7c..03f8c89 100644
--- a/libc/arch-arm/syscalls/__reboot.S
+++ b/libc/arch-arm/syscalls/__reboot.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__reboot)
mov ip, r7
ldr r7, =__NR_reboot
@@ -12,5 +10,5 @@ ENTRY(__reboot)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__reboot)
diff --git a/libc/arch-arm/syscalls/__rt_sigaction.S b/libc/arch-arm/syscalls/__rt_sigaction.S
index 6a5e058..2c21012 100644
--- a/libc/arch-arm/syscalls/__rt_sigaction.S
+++ b/libc/arch-arm/syscalls/__rt_sigaction.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigaction)
mov ip, r7
ldr r7, =__NR_rt_sigaction
@@ -12,5 +10,5 @@ ENTRY(__rt_sigaction)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__rt_sigaction)
diff --git a/libc/arch-arm/syscalls/__rt_sigpending.S b/libc/arch-arm/syscalls/__rt_sigpending.S
index 44da9b2..6a32e50 100644
--- a/libc/arch-arm/syscalls/__rt_sigpending.S
+++ b/libc/arch-arm/syscalls/__rt_sigpending.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigpending)
mov ip, r7
ldr r7, =__NR_rt_sigpending
@@ -12,5 +10,5 @@ ENTRY(__rt_sigpending)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__rt_sigpending)
diff --git a/libc/arch-arm/syscalls/__rt_sigprocmask.S b/libc/arch-arm/syscalls/__rt_sigprocmask.S
index 81cdb85..136dc79 100644
--- a/libc/arch-arm/syscalls/__rt_sigprocmask.S
+++ b/libc/arch-arm/syscalls/__rt_sigprocmask.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigprocmask)
mov ip, r7
ldr r7, =__NR_rt_sigprocmask
@@ -12,5 +10,5 @@ ENTRY(__rt_sigprocmask)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__rt_sigprocmask)
diff --git a/libc/arch-arm/syscalls/__rt_sigsuspend.S b/libc/arch-arm/syscalls/__rt_sigsuspend.S
index a9a3903..2cef4a4 100644
--- a/libc/arch-arm/syscalls/__rt_sigsuspend.S
+++ b/libc/arch-arm/syscalls/__rt_sigsuspend.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigsuspend)
mov ip, r7
ldr r7, =__NR_rt_sigsuspend
@@ -12,5 +10,5 @@ ENTRY(__rt_sigsuspend)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__rt_sigsuspend)
diff --git a/libc/arch-arm/syscalls/__rt_sigtimedwait.S b/libc/arch-arm/syscalls/__rt_sigtimedwait.S
index 7b78a43..cb43ad1 100644
--- a/libc/arch-arm/syscalls/__rt_sigtimedwait.S
+++ b/libc/arch-arm/syscalls/__rt_sigtimedwait.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigtimedwait)
mov ip, r7
ldr r7, =__NR_rt_sigtimedwait
@@ -12,5 +10,5 @@ ENTRY(__rt_sigtimedwait)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__rt_sigtimedwait)
diff --git a/libc/arch-arm/syscalls/__sched_getaffinity.S b/libc/arch-arm/syscalls/__sched_getaffinity.S
index a22c55e..6613ea5 100644
--- a/libc/arch-arm/syscalls/__sched_getaffinity.S
+++ b/libc/arch-arm/syscalls/__sched_getaffinity.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__sched_getaffinity)
mov ip, r7
ldr r7, =__NR_sched_getaffinity
@@ -12,5 +10,5 @@ ENTRY(__sched_getaffinity)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__sched_getaffinity)
diff --git a/libc/arch-arm/syscalls/__set_tid_address.S b/libc/arch-arm/syscalls/__set_tid_address.S
index 0838c8b..d3558f5 100644
--- a/libc/arch-arm/syscalls/__set_tid_address.S
+++ b/libc/arch-arm/syscalls/__set_tid_address.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__set_tid_address)
mov ip, r7
ldr r7, =__NR_set_tid_address
@@ -12,5 +10,5 @@ ENTRY(__set_tid_address)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__set_tid_address)
diff --git a/libc/arch-arm/syscalls/__set_tls.S b/libc/arch-arm/syscalls/__set_tls.S
index c4c2eb7..4d5d963 100644
--- a/libc/arch-arm/syscalls/__set_tls.S
+++ b/libc/arch-arm/syscalls/__set_tls.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__set_tls)
mov ip, r7
ldr r7, =__ARM_NR_set_tls
@@ -12,5 +10,5 @@ ENTRY(__set_tls)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__set_tls)
diff --git a/libc/arch-arm/syscalls/__sigaction.S b/libc/arch-arm/syscalls/__sigaction.S
index 869b4c8..600593d 100644
--- a/libc/arch-arm/syscalls/__sigaction.S
+++ b/libc/arch-arm/syscalls/__sigaction.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__sigaction)
mov ip, r7
ldr r7, =__NR_sigaction
@@ -12,5 +10,5 @@ ENTRY(__sigaction)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__sigaction)
diff --git a/libc/arch-arm/syscalls/__signalfd4.S b/libc/arch-arm/syscalls/__signalfd4.S
index 3bcf031..630a71f 100644
--- a/libc/arch-arm/syscalls/__signalfd4.S
+++ b/libc/arch-arm/syscalls/__signalfd4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__signalfd4)
mov ip, r7
ldr r7, =__NR_signalfd4
@@ -12,5 +10,5 @@ ENTRY(__signalfd4)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__signalfd4)
diff --git a/libc/arch-arm/syscalls/__socket.S b/libc/arch-arm/syscalls/__socket.S
index a655b5b..fffe0cc 100644
--- a/libc/arch-arm/syscalls/__socket.S
+++ b/libc/arch-arm/syscalls/__socket.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__socket)
mov ip, r7
ldr r7, =__NR_socket
@@ -12,5 +10,5 @@ ENTRY(__socket)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__socket)
diff --git a/libc/arch-arm/syscalls/__statfs64.S b/libc/arch-arm/syscalls/__statfs64.S
index 80ea6ce..ec43218 100644
--- a/libc/arch-arm/syscalls/__statfs64.S
+++ b/libc/arch-arm/syscalls/__statfs64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__statfs64)
mov ip, r7
ldr r7, =__NR_statfs64
@@ -12,5 +10,5 @@ ENTRY(__statfs64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__statfs64)
diff --git a/libc/arch-arm/syscalls/__timer_create.S b/libc/arch-arm/syscalls/__timer_create.S
index 75fc347..2e4c634 100644
--- a/libc/arch-arm/syscalls/__timer_create.S
+++ b/libc/arch-arm/syscalls/__timer_create.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_create)
mov ip, r7
ldr r7, =__NR_timer_create
@@ -12,5 +10,5 @@ ENTRY(__timer_create)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__timer_create)
diff --git a/libc/arch-arm/syscalls/__timer_delete.S b/libc/arch-arm/syscalls/__timer_delete.S
index ad5ec36..237024c 100644
--- a/libc/arch-arm/syscalls/__timer_delete.S
+++ b/libc/arch-arm/syscalls/__timer_delete.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_delete)
mov ip, r7
ldr r7, =__NR_timer_delete
@@ -12,5 +10,5 @@ ENTRY(__timer_delete)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__timer_delete)
diff --git a/libc/arch-arm/syscalls/__timer_getoverrun.S b/libc/arch-arm/syscalls/__timer_getoverrun.S
index 529712c..f29d5b3 100644
--- a/libc/arch-arm/syscalls/__timer_getoverrun.S
+++ b/libc/arch-arm/syscalls/__timer_getoverrun.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_getoverrun)
mov ip, r7
ldr r7, =__NR_timer_getoverrun
@@ -12,5 +10,5 @@ ENTRY(__timer_getoverrun)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__timer_getoverrun)
diff --git a/libc/arch-arm/syscalls/__timer_gettime.S b/libc/arch-arm/syscalls/__timer_gettime.S
index 180da39..e6dc2ed 100644
--- a/libc/arch-arm/syscalls/__timer_gettime.S
+++ b/libc/arch-arm/syscalls/__timer_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_gettime)
mov ip, r7
ldr r7, =__NR_timer_gettime
@@ -12,5 +10,5 @@ ENTRY(__timer_gettime)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__timer_gettime)
diff --git a/libc/arch-arm/syscalls/__timer_settime.S b/libc/arch-arm/syscalls/__timer_settime.S
index e2950dd..4aea279 100644
--- a/libc/arch-arm/syscalls/__timer_settime.S
+++ b/libc/arch-arm/syscalls/__timer_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_settime)
mov ip, r7
ldr r7, =__NR_timer_settime
@@ -12,5 +10,5 @@ ENTRY(__timer_settime)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__timer_settime)
diff --git a/libc/arch-arm/syscalls/__waitid.S b/libc/arch-arm/syscalls/__waitid.S
index 8c6ba66..f4dfa59 100644
--- a/libc/arch-arm/syscalls/__waitid.S
+++ b/libc/arch-arm/syscalls/__waitid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__waitid)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(__waitid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(__waitid)
diff --git a/libc/arch-arm/syscalls/_exit.S b/libc/arch-arm/syscalls/_exit.S
index fd072c3..328a5ce 100644
--- a/libc/arch-arm/syscalls/_exit.S
+++ b/libc/arch-arm/syscalls/_exit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(_exit)
mov ip, r7
ldr r7, =__NR_exit_group
@@ -12,7 +10,7 @@ ENTRY(_exit)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(_exit)
.globl _Exit
diff --git a/libc/arch-arm/syscalls/acct.S b/libc/arch-arm/syscalls/acct.S
index 156db48..dbc5d58 100644
--- a/libc/arch-arm/syscalls/acct.S
+++ b/libc/arch-arm/syscalls/acct.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(acct)
mov ip, r7
ldr r7, =__NR_acct
@@ -12,5 +10,5 @@ ENTRY(acct)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(acct)
diff --git a/libc/arch-arm/syscalls/bind.S b/libc/arch-arm/syscalls/bind.S
index 892c77f..c901417 100644
--- a/libc/arch-arm/syscalls/bind.S
+++ b/libc/arch-arm/syscalls/bind.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(bind)
mov ip, r7
ldr r7, =__NR_bind
@@ -12,5 +10,5 @@ ENTRY(bind)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(bind)
diff --git a/libc/arch-arm/syscalls/cacheflush.S b/libc/arch-arm/syscalls/cacheflush.S
index 0739c32..76f4623 100644
--- a/libc/arch-arm/syscalls/cacheflush.S
+++ b/libc/arch-arm/syscalls/cacheflush.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(cacheflush)
mov ip, r7
ldr r7, =__ARM_NR_cacheflush
@@ -12,5 +10,5 @@ ENTRY(cacheflush)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(cacheflush)
diff --git a/libc/arch-arm/syscalls/capget.S b/libc/arch-arm/syscalls/capget.S
index 6fd0f7c..59a5a3c 100644
--- a/libc/arch-arm/syscalls/capget.S
+++ b/libc/arch-arm/syscalls/capget.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capget)
mov ip, r7
ldr r7, =__NR_capget
@@ -12,5 +10,5 @@ ENTRY(capget)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(capget)
diff --git a/libc/arch-arm/syscalls/capset.S b/libc/arch-arm/syscalls/capset.S
index 2708ff6..af284ab 100644
--- a/libc/arch-arm/syscalls/capset.S
+++ b/libc/arch-arm/syscalls/capset.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capset)
mov ip, r7
ldr r7, =__NR_capset
@@ -12,5 +10,5 @@ ENTRY(capset)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(capset)
diff --git a/libc/arch-arm/syscalls/chdir.S b/libc/arch-arm/syscalls/chdir.S
index 0b86a0f..25f27ba 100644
--- a/libc/arch-arm/syscalls/chdir.S
+++ b/libc/arch-arm/syscalls/chdir.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chdir)
mov ip, r7
ldr r7, =__NR_chdir
@@ -12,5 +10,5 @@ ENTRY(chdir)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(chdir)
diff --git a/libc/arch-arm/syscalls/chroot.S b/libc/arch-arm/syscalls/chroot.S
index 15aa392..6f829a6 100644
--- a/libc/arch-arm/syscalls/chroot.S
+++ b/libc/arch-arm/syscalls/chroot.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chroot)
mov ip, r7
ldr r7, =__NR_chroot
@@ -12,5 +10,5 @@ ENTRY(chroot)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(chroot)
diff --git a/libc/arch-arm/syscalls/clock_getres.S b/libc/arch-arm/syscalls/clock_getres.S
index b92289a..48fa07c 100644
--- a/libc/arch-arm/syscalls/clock_getres.S
+++ b/libc/arch-arm/syscalls/clock_getres.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_getres)
mov ip, r7
ldr r7, =__NR_clock_getres
@@ -12,5 +10,5 @@ ENTRY(clock_getres)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(clock_getres)
diff --git a/libc/arch-arm/syscalls/clock_gettime.S b/libc/arch-arm/syscalls/clock_gettime.S
index 203db8f..317481d 100644
--- a/libc/arch-arm/syscalls/clock_gettime.S
+++ b/libc/arch-arm/syscalls/clock_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_gettime)
mov ip, r7
ldr r7, =__NR_clock_gettime
@@ -12,5 +10,5 @@ ENTRY(clock_gettime)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(clock_gettime)
diff --git a/libc/arch-arm/syscalls/clock_nanosleep.S b/libc/arch-arm/syscalls/clock_nanosleep.S
index 5de2267..80295bb 100644
--- a/libc/arch-arm/syscalls/clock_nanosleep.S
+++ b/libc/arch-arm/syscalls/clock_nanosleep.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_nanosleep)
mov ip, r7
ldr r7, =__NR_clock_nanosleep
@@ -12,5 +10,5 @@ ENTRY(clock_nanosleep)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(clock_nanosleep)
diff --git a/libc/arch-arm/syscalls/clock_settime.S b/libc/arch-arm/syscalls/clock_settime.S
index 71e61f8..bf54702 100644
--- a/libc/arch-arm/syscalls/clock_settime.S
+++ b/libc/arch-arm/syscalls/clock_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_settime)
mov ip, r7
ldr r7, =__NR_clock_settime
@@ -12,5 +10,5 @@ ENTRY(clock_settime)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(clock_settime)
diff --git a/libc/arch-arm/syscalls/close.S b/libc/arch-arm/syscalls/close.S
index 3e0fd32..ec05445 100644
--- a/libc/arch-arm/syscalls/close.S
+++ b/libc/arch-arm/syscalls/close.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(close)
mov ip, r7
ldr r7, =__NR_close
@@ -12,5 +10,5 @@ ENTRY(close)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(close)
diff --git a/libc/arch-arm/syscalls/delete_module.S b/libc/arch-arm/syscalls/delete_module.S
index 0af2520..57580c9 100644
--- a/libc/arch-arm/syscalls/delete_module.S
+++ b/libc/arch-arm/syscalls/delete_module.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(delete_module)
mov ip, r7
ldr r7, =__NR_delete_module
@@ -12,5 +10,5 @@ ENTRY(delete_module)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(delete_module)
diff --git a/libc/arch-arm/syscalls/dup.S b/libc/arch-arm/syscalls/dup.S
index 4105438..2cd69d7 100644
--- a/libc/arch-arm/syscalls/dup.S
+++ b/libc/arch-arm/syscalls/dup.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup)
mov ip, r7
ldr r7, =__NR_dup
@@ -12,5 +10,5 @@ ENTRY(dup)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(dup)
diff --git a/libc/arch-arm/syscalls/dup3.S b/libc/arch-arm/syscalls/dup3.S
index 409e8f9..4613d63 100644
--- a/libc/arch-arm/syscalls/dup3.S
+++ b/libc/arch-arm/syscalls/dup3.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup3)
mov ip, r7
ldr r7, =__NR_dup3
@@ -12,5 +10,5 @@ ENTRY(dup3)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(dup3)
diff --git a/libc/arch-arm/syscalls/epoll_create1.S b/libc/arch-arm/syscalls/epoll_create1.S
index 631afab..108c24f 100644
--- a/libc/arch-arm/syscalls/epoll_create1.S
+++ b/libc/arch-arm/syscalls/epoll_create1.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_create1)
mov ip, r7
ldr r7, =__NR_epoll_create1
@@ -12,5 +10,5 @@ ENTRY(epoll_create1)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(epoll_create1)
diff --git a/libc/arch-arm/syscalls/epoll_ctl.S b/libc/arch-arm/syscalls/epoll_ctl.S
index 187fe0a..473af6a 100644
--- a/libc/arch-arm/syscalls/epoll_ctl.S
+++ b/libc/arch-arm/syscalls/epoll_ctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_ctl)
mov ip, r7
ldr r7, =__NR_epoll_ctl
@@ -12,5 +10,5 @@ ENTRY(epoll_ctl)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(epoll_ctl)
diff --git a/libc/arch-arm/syscalls/eventfd.S b/libc/arch-arm/syscalls/eventfd.S
index c35f537..ca6bcee 100644
--- a/libc/arch-arm/syscalls/eventfd.S
+++ b/libc/arch-arm/syscalls/eventfd.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(eventfd)
mov ip, r7
ldr r7, =__NR_eventfd2
@@ -12,5 +10,5 @@ ENTRY(eventfd)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(eventfd)
diff --git a/libc/arch-arm/syscalls/execve.S b/libc/arch-arm/syscalls/execve.S
index 1b24f76..3eca810 100644
--- a/libc/arch-arm/syscalls/execve.S
+++ b/libc/arch-arm/syscalls/execve.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(execve)
mov ip, r7
ldr r7, =__NR_execve
@@ -12,5 +10,5 @@ ENTRY(execve)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(execve)
diff --git a/libc/arch-arm/syscalls/faccessat.S b/libc/arch-arm/syscalls/faccessat.S
index 3f663e3..a1df5c0 100644
--- a/libc/arch-arm/syscalls/faccessat.S
+++ b/libc/arch-arm/syscalls/faccessat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(faccessat)
mov ip, r7
ldr r7, =__NR_faccessat
@@ -12,5 +10,5 @@ ENTRY(faccessat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(faccessat)
diff --git a/libc/arch-arm/syscalls/fallocate64.S b/libc/arch-arm/syscalls/fallocate64.S
index fd90637..4bfd5e3 100644
--- a/libc/arch-arm/syscalls/fallocate64.S
+++ b/libc/arch-arm/syscalls/fallocate64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fallocate64)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(fallocate64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fallocate64)
diff --git a/libc/arch-arm/syscalls/fchdir.S b/libc/arch-arm/syscalls/fchdir.S
index c109718..705ad32 100644
--- a/libc/arch-arm/syscalls/fchdir.S
+++ b/libc/arch-arm/syscalls/fchdir.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchdir)
mov ip, r7
ldr r7, =__NR_fchdir
@@ -12,5 +10,5 @@ ENTRY(fchdir)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fchdir)
diff --git a/libc/arch-arm/syscalls/fchmod.S b/libc/arch-arm/syscalls/fchmod.S
index 4b598a2..5675f0a 100644
--- a/libc/arch-arm/syscalls/fchmod.S
+++ b/libc/arch-arm/syscalls/fchmod.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmod)
mov ip, r7
ldr r7, =__NR_fchmod
@@ -12,5 +10,5 @@ ENTRY(fchmod)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fchmod)
diff --git a/libc/arch-arm/syscalls/fchmodat.S b/libc/arch-arm/syscalls/fchmodat.S
index 8e43118..3f7e0ee 100644
--- a/libc/arch-arm/syscalls/fchmodat.S
+++ b/libc/arch-arm/syscalls/fchmodat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmodat)
mov ip, r7
ldr r7, =__NR_fchmodat
@@ -12,5 +10,5 @@ ENTRY(fchmodat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fchmodat)
diff --git a/libc/arch-arm/syscalls/fchown.S b/libc/arch-arm/syscalls/fchown.S
index 24a38f6..45ad9bf 100644
--- a/libc/arch-arm/syscalls/fchown.S
+++ b/libc/arch-arm/syscalls/fchown.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchown)
mov ip, r7
ldr r7, =__NR_fchown32
@@ -12,5 +10,5 @@ ENTRY(fchown)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fchown)
diff --git a/libc/arch-arm/syscalls/fchownat.S b/libc/arch-arm/syscalls/fchownat.S
index 8fd76a3..2aac0fe 100644
--- a/libc/arch-arm/syscalls/fchownat.S
+++ b/libc/arch-arm/syscalls/fchownat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchownat)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(fchownat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fchownat)
diff --git a/libc/arch-arm/syscalls/fdatasync.S b/libc/arch-arm/syscalls/fdatasync.S
index 9556665..7fefd22 100644
--- a/libc/arch-arm/syscalls/fdatasync.S
+++ b/libc/arch-arm/syscalls/fdatasync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fdatasync)
mov ip, r7
ldr r7, =__NR_fdatasync
@@ -12,5 +10,5 @@ ENTRY(fdatasync)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fdatasync)
diff --git a/libc/arch-arm/syscalls/fgetxattr.S b/libc/arch-arm/syscalls/fgetxattr.S
index 95e2809..3f1e5fc 100644
--- a/libc/arch-arm/syscalls/fgetxattr.S
+++ b/libc/arch-arm/syscalls/fgetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fgetxattr)
mov ip, r7
ldr r7, =__NR_fgetxattr
@@ -12,5 +10,5 @@ ENTRY(fgetxattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fgetxattr)
diff --git a/libc/arch-arm/syscalls/flistxattr.S b/libc/arch-arm/syscalls/flistxattr.S
index 0d411b1..ee09295 100644
--- a/libc/arch-arm/syscalls/flistxattr.S
+++ b/libc/arch-arm/syscalls/flistxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flistxattr)
mov ip, r7
ldr r7, =__NR_flistxattr
@@ -12,5 +10,5 @@ ENTRY(flistxattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(flistxattr)
diff --git a/libc/arch-arm/syscalls/flock.S b/libc/arch-arm/syscalls/flock.S
index e59d4f6..c946fe9 100644
--- a/libc/arch-arm/syscalls/flock.S
+++ b/libc/arch-arm/syscalls/flock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flock)
mov ip, r7
ldr r7, =__NR_flock
@@ -12,5 +10,5 @@ ENTRY(flock)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(flock)
diff --git a/libc/arch-arm/syscalls/fremovexattr.S b/libc/arch-arm/syscalls/fremovexattr.S
index 3ec647f..f4e950b 100644
--- a/libc/arch-arm/syscalls/fremovexattr.S
+++ b/libc/arch-arm/syscalls/fremovexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fremovexattr)
mov ip, r7
ldr r7, =__NR_fremovexattr
@@ -12,5 +10,5 @@ ENTRY(fremovexattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fremovexattr)
diff --git a/libc/arch-arm/syscalls/fsetxattr.S b/libc/arch-arm/syscalls/fsetxattr.S
index 225e64b..0e33ad2 100644
--- a/libc/arch-arm/syscalls/fsetxattr.S
+++ b/libc/arch-arm/syscalls/fsetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsetxattr)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(fsetxattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fsetxattr)
diff --git a/libc/arch-arm/syscalls/fstat64.S b/libc/arch-arm/syscalls/fstat64.S
index 560bb94..c60e7ee 100644
--- a/libc/arch-arm/syscalls/fstat64.S
+++ b/libc/arch-arm/syscalls/fstat64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstat64)
mov ip, r7
ldr r7, =__NR_fstat64
@@ -12,7 +10,7 @@ ENTRY(fstat64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fstat64)
.globl fstat
diff --git a/libc/arch-arm/syscalls/fstatat64.S b/libc/arch-arm/syscalls/fstatat64.S
index cda5845..ce56c36 100644
--- a/libc/arch-arm/syscalls/fstatat64.S
+++ b/libc/arch-arm/syscalls/fstatat64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstatat64)
mov ip, r7
ldr r7, =__NR_fstatat64
@@ -12,7 +10,7 @@ ENTRY(fstatat64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fstatat64)
.globl fstatat
diff --git a/libc/arch-arm/syscalls/fsync.S b/libc/arch-arm/syscalls/fsync.S
index c6ba47b..1dfff05 100644
--- a/libc/arch-arm/syscalls/fsync.S
+++ b/libc/arch-arm/syscalls/fsync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsync)
mov ip, r7
ldr r7, =__NR_fsync
@@ -12,5 +10,5 @@ ENTRY(fsync)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(fsync)
diff --git a/libc/arch-arm/syscalls/ftruncate.S b/libc/arch-arm/syscalls/ftruncate.S
index 168d722..1bfe2f3 100644
--- a/libc/arch-arm/syscalls/ftruncate.S
+++ b/libc/arch-arm/syscalls/ftruncate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(ftruncate)
mov ip, r7
ldr r7, =__NR_ftruncate
@@ -12,5 +10,5 @@ ENTRY(ftruncate)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(ftruncate)
diff --git a/libc/arch-arm/syscalls/ftruncate64.S b/libc/arch-arm/syscalls/ftruncate64.S
index a2b73b8..ac0caa8 100644
--- a/libc/arch-arm/syscalls/ftruncate64.S
+++ b/libc/arch-arm/syscalls/ftruncate64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(ftruncate64)
mov ip, r7
ldr r7, =__NR_ftruncate64
@@ -12,5 +10,5 @@ ENTRY(ftruncate64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(ftruncate64)
diff --git a/libc/arch-arm/syscalls/getegid.S b/libc/arch-arm/syscalls/getegid.S
index e2f9fe9..afa9cc8 100644
--- a/libc/arch-arm/syscalls/getegid.S
+++ b/libc/arch-arm/syscalls/getegid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getegid)
mov ip, r7
ldr r7, =__NR_getegid32
@@ -12,5 +10,5 @@ ENTRY(getegid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getegid)
diff --git a/libc/arch-arm/syscalls/geteuid.S b/libc/arch-arm/syscalls/geteuid.S
index 1d55320..10c8a25 100644
--- a/libc/arch-arm/syscalls/geteuid.S
+++ b/libc/arch-arm/syscalls/geteuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(geteuid)
mov ip, r7
ldr r7, =__NR_geteuid32
@@ -12,5 +10,5 @@ ENTRY(geteuid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(geteuid)
diff --git a/libc/arch-arm/syscalls/getgid.S b/libc/arch-arm/syscalls/getgid.S
index 9d81d73..8772762 100644
--- a/libc/arch-arm/syscalls/getgid.S
+++ b/libc/arch-arm/syscalls/getgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgid)
mov ip, r7
ldr r7, =__NR_getgid32
@@ -12,5 +10,5 @@ ENTRY(getgid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getgid)
diff --git a/libc/arch-arm/syscalls/getgroups.S b/libc/arch-arm/syscalls/getgroups.S
index 23aafaf..366299b 100644
--- a/libc/arch-arm/syscalls/getgroups.S
+++ b/libc/arch-arm/syscalls/getgroups.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgroups)
mov ip, r7
ldr r7, =__NR_getgroups32
@@ -12,5 +10,5 @@ ENTRY(getgroups)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getgroups)
diff --git a/libc/arch-arm/syscalls/getitimer.S b/libc/arch-arm/syscalls/getitimer.S
index 095cf8f..80fb0f2 100644
--- a/libc/arch-arm/syscalls/getitimer.S
+++ b/libc/arch-arm/syscalls/getitimer.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getitimer)
mov ip, r7
ldr r7, =__NR_getitimer
@@ -12,5 +10,5 @@ ENTRY(getitimer)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getitimer)
diff --git a/libc/arch-arm/syscalls/getpeername.S b/libc/arch-arm/syscalls/getpeername.S
index 760f6fb..25f0026 100644
--- a/libc/arch-arm/syscalls/getpeername.S
+++ b/libc/arch-arm/syscalls/getpeername.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpeername)
mov ip, r7
ldr r7, =__NR_getpeername
@@ -12,5 +10,5 @@ ENTRY(getpeername)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getpeername)
diff --git a/libc/arch-arm/syscalls/getpgid.S b/libc/arch-arm/syscalls/getpgid.S
index d07b058..36c4c19 100644
--- a/libc/arch-arm/syscalls/getpgid.S
+++ b/libc/arch-arm/syscalls/getpgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpgid)
mov ip, r7
ldr r7, =__NR_getpgid
@@ -12,5 +10,5 @@ ENTRY(getpgid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getpgid)
diff --git a/libc/arch-arm/syscalls/getppid.S b/libc/arch-arm/syscalls/getppid.S
index bcc13a8..606b2e0 100644
--- a/libc/arch-arm/syscalls/getppid.S
+++ b/libc/arch-arm/syscalls/getppid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getppid)
mov ip, r7
ldr r7, =__NR_getppid
@@ -12,5 +10,5 @@ ENTRY(getppid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getppid)
diff --git a/libc/arch-arm/syscalls/getresgid.S b/libc/arch-arm/syscalls/getresgid.S
index 9a87eaa..a5e4689 100644
--- a/libc/arch-arm/syscalls/getresgid.S
+++ b/libc/arch-arm/syscalls/getresgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresgid)
mov ip, r7
ldr r7, =__NR_getresgid32
@@ -12,5 +10,5 @@ ENTRY(getresgid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getresgid)
diff --git a/libc/arch-arm/syscalls/getresuid.S b/libc/arch-arm/syscalls/getresuid.S
index a332928..74c26a7 100644
--- a/libc/arch-arm/syscalls/getresuid.S
+++ b/libc/arch-arm/syscalls/getresuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresuid)
mov ip, r7
ldr r7, =__NR_getresuid32
@@ -12,5 +10,5 @@ ENTRY(getresuid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getresuid)
diff --git a/libc/arch-arm/syscalls/getrlimit.S b/libc/arch-arm/syscalls/getrlimit.S
index 4a9c62a..166da63 100644
--- a/libc/arch-arm/syscalls/getrlimit.S
+++ b/libc/arch-arm/syscalls/getrlimit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrlimit)
mov ip, r7
ldr r7, =__NR_ugetrlimit
@@ -12,5 +10,5 @@ ENTRY(getrlimit)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getrlimit)
diff --git a/libc/arch-arm/syscalls/getrusage.S b/libc/arch-arm/syscalls/getrusage.S
index 4799b69..93979c6 100644
--- a/libc/arch-arm/syscalls/getrusage.S
+++ b/libc/arch-arm/syscalls/getrusage.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrusage)
mov ip, r7
ldr r7, =__NR_getrusage
@@ -12,5 +10,5 @@ ENTRY(getrusage)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getrusage)
diff --git a/libc/arch-arm/syscalls/getsid.S b/libc/arch-arm/syscalls/getsid.S
index 5a26e94..87d38fb 100644
--- a/libc/arch-arm/syscalls/getsid.S
+++ b/libc/arch-arm/syscalls/getsid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsid)
mov ip, r7
ldr r7, =__NR_getsid
@@ -12,5 +10,5 @@ ENTRY(getsid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getsid)
diff --git a/libc/arch-arm/syscalls/getsockname.S b/libc/arch-arm/syscalls/getsockname.S
index 78e0752..5dc4eab 100644
--- a/libc/arch-arm/syscalls/getsockname.S
+++ b/libc/arch-arm/syscalls/getsockname.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockname)
mov ip, r7
ldr r7, =__NR_getsockname
@@ -12,5 +10,5 @@ ENTRY(getsockname)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getsockname)
diff --git a/libc/arch-arm/syscalls/getsockopt.S b/libc/arch-arm/syscalls/getsockopt.S
index e1badfb..4143bbd 100644
--- a/libc/arch-arm/syscalls/getsockopt.S
+++ b/libc/arch-arm/syscalls/getsockopt.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockopt)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(getsockopt)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getsockopt)
diff --git a/libc/arch-arm/syscalls/gettimeofday.S b/libc/arch-arm/syscalls/gettimeofday.S
index 611c0d4..174f94b 100644
--- a/libc/arch-arm/syscalls/gettimeofday.S
+++ b/libc/arch-arm/syscalls/gettimeofday.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(gettimeofday)
mov ip, r7
ldr r7, =__NR_gettimeofday
@@ -12,5 +10,5 @@ ENTRY(gettimeofday)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(gettimeofday)
diff --git a/libc/arch-arm/syscalls/getuid.S b/libc/arch-arm/syscalls/getuid.S
index 2e97c55..3d07d3c 100644
--- a/libc/arch-arm/syscalls/getuid.S
+++ b/libc/arch-arm/syscalls/getuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getuid)
mov ip, r7
ldr r7, =__NR_getuid32
@@ -12,5 +10,5 @@ ENTRY(getuid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getuid)
diff --git a/libc/arch-arm/syscalls/getxattr.S b/libc/arch-arm/syscalls/getxattr.S
index da0e86d..6661aaf 100644
--- a/libc/arch-arm/syscalls/getxattr.S
+++ b/libc/arch-arm/syscalls/getxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getxattr)
mov ip, r7
ldr r7, =__NR_getxattr
@@ -12,5 +10,5 @@ ENTRY(getxattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(getxattr)
diff --git a/libc/arch-arm/syscalls/init_module.S b/libc/arch-arm/syscalls/init_module.S
index bf30b03..8251533 100644
--- a/libc/arch-arm/syscalls/init_module.S
+++ b/libc/arch-arm/syscalls/init_module.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(init_module)
mov ip, r7
ldr r7, =__NR_init_module
@@ -12,5 +10,5 @@ ENTRY(init_module)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(init_module)
diff --git a/libc/arch-arm/syscalls/inotify_add_watch.S b/libc/arch-arm/syscalls/inotify_add_watch.S
index 982d338..b945bd1 100644
--- a/libc/arch-arm/syscalls/inotify_add_watch.S
+++ b/libc/arch-arm/syscalls/inotify_add_watch.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_add_watch)
mov ip, r7
ldr r7, =__NR_inotify_add_watch
@@ -12,5 +10,5 @@ ENTRY(inotify_add_watch)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(inotify_add_watch)
diff --git a/libc/arch-arm/syscalls/inotify_init1.S b/libc/arch-arm/syscalls/inotify_init1.S
index 2253ec8..32090de 100644
--- a/libc/arch-arm/syscalls/inotify_init1.S
+++ b/libc/arch-arm/syscalls/inotify_init1.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_init1)
mov ip, r7
ldr r7, =__NR_inotify_init1
@@ -12,5 +10,5 @@ ENTRY(inotify_init1)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(inotify_init1)
diff --git a/libc/arch-arm/syscalls/inotify_rm_watch.S b/libc/arch-arm/syscalls/inotify_rm_watch.S
index 9d7e6ae..e8230e2 100644
--- a/libc/arch-arm/syscalls/inotify_rm_watch.S
+++ b/libc/arch-arm/syscalls/inotify_rm_watch.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_rm_watch)
mov ip, r7
ldr r7, =__NR_inotify_rm_watch
@@ -12,5 +10,5 @@ ENTRY(inotify_rm_watch)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(inotify_rm_watch)
diff --git a/libc/arch-arm/syscalls/kill.S b/libc/arch-arm/syscalls/kill.S
index 7e4d6c4..0b5f4a4 100644
--- a/libc/arch-arm/syscalls/kill.S
+++ b/libc/arch-arm/syscalls/kill.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(kill)
mov ip, r7
ldr r7, =__NR_kill
@@ -12,5 +10,5 @@ ENTRY(kill)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(kill)
diff --git a/libc/arch-arm/syscalls/klogctl.S b/libc/arch-arm/syscalls/klogctl.S
index f5fe27f..b76b2b5 100644
--- a/libc/arch-arm/syscalls/klogctl.S
+++ b/libc/arch-arm/syscalls/klogctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(klogctl)
mov ip, r7
ldr r7, =__NR_syslog
@@ -12,5 +10,5 @@ ENTRY(klogctl)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(klogctl)
diff --git a/libc/arch-arm/syscalls/lgetxattr.S b/libc/arch-arm/syscalls/lgetxattr.S
index 70b7235..b033a9a 100644
--- a/libc/arch-arm/syscalls/lgetxattr.S
+++ b/libc/arch-arm/syscalls/lgetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lgetxattr)
mov ip, r7
ldr r7, =__NR_lgetxattr
@@ -12,5 +10,5 @@ ENTRY(lgetxattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(lgetxattr)
diff --git a/libc/arch-arm/syscalls/linkat.S b/libc/arch-arm/syscalls/linkat.S
index 7a578f8..6e74d06 100644
--- a/libc/arch-arm/syscalls/linkat.S
+++ b/libc/arch-arm/syscalls/linkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(linkat)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(linkat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(linkat)
diff --git a/libc/arch-arm/syscalls/listen.S b/libc/arch-arm/syscalls/listen.S
index 5c33912..3aaa801 100644
--- a/libc/arch-arm/syscalls/listen.S
+++ b/libc/arch-arm/syscalls/listen.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listen)
mov ip, r7
ldr r7, =__NR_listen
@@ -12,5 +10,5 @@ ENTRY(listen)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(listen)
diff --git a/libc/arch-arm/syscalls/listxattr.S b/libc/arch-arm/syscalls/listxattr.S
index ea8f5d8..51ff267 100644
--- a/libc/arch-arm/syscalls/listxattr.S
+++ b/libc/arch-arm/syscalls/listxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listxattr)
mov ip, r7
ldr r7, =__NR_listxattr
@@ -12,5 +10,5 @@ ENTRY(listxattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(listxattr)
diff --git a/libc/arch-arm/syscalls/llistxattr.S b/libc/arch-arm/syscalls/llistxattr.S
index b7f3375..46e8116 100644
--- a/libc/arch-arm/syscalls/llistxattr.S
+++ b/libc/arch-arm/syscalls/llistxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(llistxattr)
mov ip, r7
ldr r7, =__NR_llistxattr
@@ -12,5 +10,5 @@ ENTRY(llistxattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(llistxattr)
diff --git a/libc/arch-arm/syscalls/lremovexattr.S b/libc/arch-arm/syscalls/lremovexattr.S
index a8d0d2d..a945062 100644
--- a/libc/arch-arm/syscalls/lremovexattr.S
+++ b/libc/arch-arm/syscalls/lremovexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lremovexattr)
mov ip, r7
ldr r7, =__NR_lremovexattr
@@ -12,5 +10,5 @@ ENTRY(lremovexattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(lremovexattr)
diff --git a/libc/arch-arm/syscalls/lseek.S b/libc/arch-arm/syscalls/lseek.S
index 17697d4..00aeab3 100644
--- a/libc/arch-arm/syscalls/lseek.S
+++ b/libc/arch-arm/syscalls/lseek.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lseek)
mov ip, r7
ldr r7, =__NR_lseek
@@ -12,5 +10,5 @@ ENTRY(lseek)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(lseek)
diff --git a/libc/arch-arm/syscalls/lsetxattr.S b/libc/arch-arm/syscalls/lsetxattr.S
index 166ef7f..c41fb88 100644
--- a/libc/arch-arm/syscalls/lsetxattr.S
+++ b/libc/arch-arm/syscalls/lsetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lsetxattr)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(lsetxattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(lsetxattr)
diff --git a/libc/arch-arm/syscalls/madvise.S b/libc/arch-arm/syscalls/madvise.S
index ffa71c4..4d3cdcd 100644
--- a/libc/arch-arm/syscalls/madvise.S
+++ b/libc/arch-arm/syscalls/madvise.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(madvise)
mov ip, r7
ldr r7, =__NR_madvise
@@ -12,5 +10,5 @@ ENTRY(madvise)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(madvise)
diff --git a/libc/arch-arm/syscalls/mincore.S b/libc/arch-arm/syscalls/mincore.S
index 5eb5f10..f1154d0 100644
--- a/libc/arch-arm/syscalls/mincore.S
+++ b/libc/arch-arm/syscalls/mincore.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mincore)
mov ip, r7
ldr r7, =__NR_mincore
@@ -12,5 +10,5 @@ ENTRY(mincore)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(mincore)
diff --git a/libc/arch-arm/syscalls/mkdirat.S b/libc/arch-arm/syscalls/mkdirat.S
index d9c58ad..1f8957b 100644
--- a/libc/arch-arm/syscalls/mkdirat.S
+++ b/libc/arch-arm/syscalls/mkdirat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mkdirat)
mov ip, r7
ldr r7, =__NR_mkdirat
@@ -12,5 +10,5 @@ ENTRY(mkdirat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(mkdirat)
diff --git a/libc/arch-arm/syscalls/mknodat.S b/libc/arch-arm/syscalls/mknodat.S
index d6296f1..1a2bf6f 100644
--- a/libc/arch-arm/syscalls/mknodat.S
+++ b/libc/arch-arm/syscalls/mknodat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mknodat)
mov ip, r7
ldr r7, =__NR_mknodat
@@ -12,5 +10,5 @@ ENTRY(mknodat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(mknodat)
diff --git a/libc/arch-arm/syscalls/mlock.S b/libc/arch-arm/syscalls/mlock.S
index 21fd5f9..8a4fc7a 100644
--- a/libc/arch-arm/syscalls/mlock.S
+++ b/libc/arch-arm/syscalls/mlock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlock)
mov ip, r7
ldr r7, =__NR_mlock
@@ -12,5 +10,5 @@ ENTRY(mlock)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(mlock)
diff --git a/libc/arch-arm/syscalls/mlockall.S b/libc/arch-arm/syscalls/mlockall.S
index 750b7ec..b49ca05 100644
--- a/libc/arch-arm/syscalls/mlockall.S
+++ b/libc/arch-arm/syscalls/mlockall.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlockall)
mov ip, r7
ldr r7, =__NR_mlockall
@@ -12,5 +10,5 @@ ENTRY(mlockall)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(mlockall)
diff --git a/libc/arch-arm/syscalls/mount.S b/libc/arch-arm/syscalls/mount.S
index d2fa20e..ed28ab2 100644
--- a/libc/arch-arm/syscalls/mount.S
+++ b/libc/arch-arm/syscalls/mount.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mount)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(mount)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(mount)
diff --git a/libc/arch-arm/syscalls/mprotect.S b/libc/arch-arm/syscalls/mprotect.S
index dfc6f08..cb51306 100644
--- a/libc/arch-arm/syscalls/mprotect.S
+++ b/libc/arch-arm/syscalls/mprotect.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mprotect)
mov ip, r7
ldr r7, =__NR_mprotect
@@ -12,5 +10,5 @@ ENTRY(mprotect)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(mprotect)
diff --git a/libc/arch-arm/syscalls/mremap.S b/libc/arch-arm/syscalls/mremap.S
index a674571..505ea3c 100644
--- a/libc/arch-arm/syscalls/mremap.S
+++ b/libc/arch-arm/syscalls/mremap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mremap)
mov ip, r7
ldr r7, =__NR_mremap
@@ -12,5 +10,5 @@ ENTRY(mremap)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(mremap)
diff --git a/libc/arch-arm/syscalls/msync.S b/libc/arch-arm/syscalls/msync.S
index e062a5e..220fb4d 100644
--- a/libc/arch-arm/syscalls/msync.S
+++ b/libc/arch-arm/syscalls/msync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(msync)
mov ip, r7
ldr r7, =__NR_msync
@@ -12,5 +10,5 @@ ENTRY(msync)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(msync)
diff --git a/libc/arch-arm/syscalls/munlock.S b/libc/arch-arm/syscalls/munlock.S
index c44d147..05bf941 100644
--- a/libc/arch-arm/syscalls/munlock.S
+++ b/libc/arch-arm/syscalls/munlock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlock)
mov ip, r7
ldr r7, =__NR_munlock
@@ -12,5 +10,5 @@ ENTRY(munlock)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(munlock)
diff --git a/libc/arch-arm/syscalls/munlockall.S b/libc/arch-arm/syscalls/munlockall.S
index 3a36b7e..e2c5dd5 100644
--- a/libc/arch-arm/syscalls/munlockall.S
+++ b/libc/arch-arm/syscalls/munlockall.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlockall)
mov ip, r7
ldr r7, =__NR_munlockall
@@ -12,5 +10,5 @@ ENTRY(munlockall)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(munlockall)
diff --git a/libc/arch-arm/syscalls/munmap.S b/libc/arch-arm/syscalls/munmap.S
index a94e4e5..740c360 100644
--- a/libc/arch-arm/syscalls/munmap.S
+++ b/libc/arch-arm/syscalls/munmap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munmap)
mov ip, r7
ldr r7, =__NR_munmap
@@ -12,5 +10,5 @@ ENTRY(munmap)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(munmap)
diff --git a/libc/arch-arm/syscalls/nanosleep.S b/libc/arch-arm/syscalls/nanosleep.S
index 743adc2..fcd6e90 100644
--- a/libc/arch-arm/syscalls/nanosleep.S
+++ b/libc/arch-arm/syscalls/nanosleep.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(nanosleep)
mov ip, r7
ldr r7, =__NR_nanosleep
@@ -12,5 +10,5 @@ ENTRY(nanosleep)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(nanosleep)
diff --git a/libc/arch-arm/syscalls/personality.S b/libc/arch-arm/syscalls/personality.S
index 90dfe22..d43d763 100644
--- a/libc/arch-arm/syscalls/personality.S
+++ b/libc/arch-arm/syscalls/personality.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(personality)
mov ip, r7
ldr r7, =__NR_personality
@@ -12,5 +10,5 @@ ENTRY(personality)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(personality)
diff --git a/libc/arch-arm/syscalls/pipe2.S b/libc/arch-arm/syscalls/pipe2.S
index b295df5..1cbdfb2 100644
--- a/libc/arch-arm/syscalls/pipe2.S
+++ b/libc/arch-arm/syscalls/pipe2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pipe2)
mov ip, r7
ldr r7, =__NR_pipe2
@@ -12,5 +10,5 @@ ENTRY(pipe2)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(pipe2)
diff --git a/libc/arch-arm/syscalls/prctl.S b/libc/arch-arm/syscalls/prctl.S
index c8f68d3..a2d869c 100644
--- a/libc/arch-arm/syscalls/prctl.S
+++ b/libc/arch-arm/syscalls/prctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prctl)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(prctl)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(prctl)
diff --git a/libc/arch-arm/syscalls/pread64.S b/libc/arch-arm/syscalls/pread64.S
index 3eeae3d..dc07bb3 100644
--- a/libc/arch-arm/syscalls/pread64.S
+++ b/libc/arch-arm/syscalls/pread64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pread64)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(pread64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(pread64)
diff --git a/libc/arch-arm/syscalls/prlimit64.S b/libc/arch-arm/syscalls/prlimit64.S
index 87c53d5..3ae9e1b 100644
--- a/libc/arch-arm/syscalls/prlimit64.S
+++ b/libc/arch-arm/syscalls/prlimit64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prlimit64)
mov ip, r7
ldr r7, =__NR_prlimit64
@@ -12,5 +10,5 @@ ENTRY(prlimit64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(prlimit64)
diff --git a/libc/arch-arm/syscalls/pwrite64.S b/libc/arch-arm/syscalls/pwrite64.S
index c63b835..5749f6b 100644
--- a/libc/arch-arm/syscalls/pwrite64.S
+++ b/libc/arch-arm/syscalls/pwrite64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pwrite64)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(pwrite64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(pwrite64)
diff --git a/libc/arch-arm/syscalls/read.S b/libc/arch-arm/syscalls/read.S
index 9de525c..1c3b395 100644
--- a/libc/arch-arm/syscalls/read.S
+++ b/libc/arch-arm/syscalls/read.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(read)
mov ip, r7
ldr r7, =__NR_read
@@ -12,5 +10,5 @@ ENTRY(read)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(read)
diff --git a/libc/arch-arm/syscalls/readahead.S b/libc/arch-arm/syscalls/readahead.S
index 995f00e..6952b4e 100644
--- a/libc/arch-arm/syscalls/readahead.S
+++ b/libc/arch-arm/syscalls/readahead.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readahead)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(readahead)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(readahead)
diff --git a/libc/arch-arm/syscalls/readlinkat.S b/libc/arch-arm/syscalls/readlinkat.S
index f865de5..e7cc8ff 100644
--- a/libc/arch-arm/syscalls/readlinkat.S
+++ b/libc/arch-arm/syscalls/readlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readlinkat)
mov ip, r7
ldr r7, =__NR_readlinkat
@@ -12,5 +10,5 @@ ENTRY(readlinkat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(readlinkat)
diff --git a/libc/arch-arm/syscalls/readv.S b/libc/arch-arm/syscalls/readv.S
index 9401687..c7807bd 100644
--- a/libc/arch-arm/syscalls/readv.S
+++ b/libc/arch-arm/syscalls/readv.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readv)
mov ip, r7
ldr r7, =__NR_readv
@@ -12,5 +10,5 @@ ENTRY(readv)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(readv)
diff --git a/libc/arch-arm/syscalls/recvfrom.S b/libc/arch-arm/syscalls/recvfrom.S
index 6390a82..115a09c 100644
--- a/libc/arch-arm/syscalls/recvfrom.S
+++ b/libc/arch-arm/syscalls/recvfrom.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvfrom)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(recvfrom)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(recvfrom)
diff --git a/libc/arch-arm/syscalls/recvmmsg.S b/libc/arch-arm/syscalls/recvmmsg.S
index 067ed1e..6cf2b92 100644
--- a/libc/arch-arm/syscalls/recvmmsg.S
+++ b/libc/arch-arm/syscalls/recvmmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmmsg)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(recvmmsg)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(recvmmsg)
diff --git a/libc/arch-arm/syscalls/recvmsg.S b/libc/arch-arm/syscalls/recvmsg.S
index f688481..995a9e3 100644
--- a/libc/arch-arm/syscalls/recvmsg.S
+++ b/libc/arch-arm/syscalls/recvmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmsg)
mov ip, r7
ldr r7, =__NR_recvmsg
@@ -12,5 +10,5 @@ ENTRY(recvmsg)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(recvmsg)
diff --git a/libc/arch-arm/syscalls/removexattr.S b/libc/arch-arm/syscalls/removexattr.S
index 59d0e2f..3a32e5c 100644
--- a/libc/arch-arm/syscalls/removexattr.S
+++ b/libc/arch-arm/syscalls/removexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(removexattr)
mov ip, r7
ldr r7, =__NR_removexattr
@@ -12,5 +10,5 @@ ENTRY(removexattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(removexattr)
diff --git a/libc/arch-arm/syscalls/renameat.S b/libc/arch-arm/syscalls/renameat.S
index 7a4d268..98e86dc 100644
--- a/libc/arch-arm/syscalls/renameat.S
+++ b/libc/arch-arm/syscalls/renameat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(renameat)
mov ip, r7
ldr r7, =__NR_renameat
@@ -12,5 +10,5 @@ ENTRY(renameat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(renameat)
diff --git a/libc/arch-arm/syscalls/sched_get_priority_max.S b/libc/arch-arm/syscalls/sched_get_priority_max.S
index 2aafafc..187e680 100644
--- a/libc/arch-arm/syscalls/sched_get_priority_max.S
+++ b/libc/arch-arm/syscalls/sched_get_priority_max.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_max)
mov ip, r7
ldr r7, =__NR_sched_get_priority_max
@@ -12,5 +10,5 @@ ENTRY(sched_get_priority_max)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(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 40e14ef..68bf7df 100644
--- a/libc/arch-arm/syscalls/sched_get_priority_min.S
+++ b/libc/arch-arm/syscalls/sched_get_priority_min.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_min)
mov ip, r7
ldr r7, =__NR_sched_get_priority_min
@@ -12,5 +10,5 @@ ENTRY(sched_get_priority_min)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sched_get_priority_min)
diff --git a/libc/arch-arm/syscalls/sched_getparam.S b/libc/arch-arm/syscalls/sched_getparam.S
index 3d58651..32b97b8 100644
--- a/libc/arch-arm/syscalls/sched_getparam.S
+++ b/libc/arch-arm/syscalls/sched_getparam.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getparam)
mov ip, r7
ldr r7, =__NR_sched_getparam
@@ -12,5 +10,5 @@ ENTRY(sched_getparam)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sched_getparam)
diff --git a/libc/arch-arm/syscalls/sched_getscheduler.S b/libc/arch-arm/syscalls/sched_getscheduler.S
index e9478ca..330c208 100644
--- a/libc/arch-arm/syscalls/sched_getscheduler.S
+++ b/libc/arch-arm/syscalls/sched_getscheduler.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getscheduler)
mov ip, r7
ldr r7, =__NR_sched_getscheduler
@@ -12,5 +10,5 @@ ENTRY(sched_getscheduler)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(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 ed90b73..5d176ac 100644
--- a/libc/arch-arm/syscalls/sched_rr_get_interval.S
+++ b/libc/arch-arm/syscalls/sched_rr_get_interval.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_rr_get_interval)
mov ip, r7
ldr r7, =__NR_sched_rr_get_interval
@@ -12,5 +10,5 @@ ENTRY(sched_rr_get_interval)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sched_rr_get_interval)
diff --git a/libc/arch-arm/syscalls/sched_setaffinity.S b/libc/arch-arm/syscalls/sched_setaffinity.S
index d5f72a9..6653471 100644
--- a/libc/arch-arm/syscalls/sched_setaffinity.S
+++ b/libc/arch-arm/syscalls/sched_setaffinity.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setaffinity)
mov ip, r7
ldr r7, =__NR_sched_setaffinity
@@ -12,5 +10,5 @@ ENTRY(sched_setaffinity)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sched_setaffinity)
diff --git a/libc/arch-arm/syscalls/sched_setparam.S b/libc/arch-arm/syscalls/sched_setparam.S
index 3ec06c0..16e1997 100644
--- a/libc/arch-arm/syscalls/sched_setparam.S
+++ b/libc/arch-arm/syscalls/sched_setparam.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setparam)
mov ip, r7
ldr r7, =__NR_sched_setparam
@@ -12,5 +10,5 @@ ENTRY(sched_setparam)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sched_setparam)
diff --git a/libc/arch-arm/syscalls/sched_setscheduler.S b/libc/arch-arm/syscalls/sched_setscheduler.S
index 0e61ffb..2ec9fec 100644
--- a/libc/arch-arm/syscalls/sched_setscheduler.S
+++ b/libc/arch-arm/syscalls/sched_setscheduler.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setscheduler)
mov ip, r7
ldr r7, =__NR_sched_setscheduler
@@ -12,5 +10,5 @@ ENTRY(sched_setscheduler)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sched_setscheduler)
diff --git a/libc/arch-arm/syscalls/sched_yield.S b/libc/arch-arm/syscalls/sched_yield.S
index f26297e..1ec328f 100644
--- a/libc/arch-arm/syscalls/sched_yield.S
+++ b/libc/arch-arm/syscalls/sched_yield.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_yield)
mov ip, r7
ldr r7, =__NR_sched_yield
@@ -12,5 +10,5 @@ ENTRY(sched_yield)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sched_yield)
diff --git a/libc/arch-arm/syscalls/sendfile.S b/libc/arch-arm/syscalls/sendfile.S
index e4df8ff..afae021 100644
--- a/libc/arch-arm/syscalls/sendfile.S
+++ b/libc/arch-arm/syscalls/sendfile.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendfile)
mov ip, r7
ldr r7, =__NR_sendfile
@@ -12,5 +10,5 @@ ENTRY(sendfile)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sendfile)
diff --git a/libc/arch-arm/syscalls/sendfile64.S b/libc/arch-arm/syscalls/sendfile64.S
index ab48963..d0ad0b8 100644
--- a/libc/arch-arm/syscalls/sendfile64.S
+++ b/libc/arch-arm/syscalls/sendfile64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendfile64)
mov ip, r7
ldr r7, =__NR_sendfile64
@@ -12,5 +10,5 @@ ENTRY(sendfile64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sendfile64)
diff --git a/libc/arch-arm/syscalls/sendmmsg.S b/libc/arch-arm/syscalls/sendmmsg.S
index 998e6c7..8bb5f80 100644
--- a/libc/arch-arm/syscalls/sendmmsg.S
+++ b/libc/arch-arm/syscalls/sendmmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmmsg)
mov ip, r7
ldr r7, =__NR_sendmmsg
@@ -12,5 +10,5 @@ ENTRY(sendmmsg)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sendmmsg)
diff --git a/libc/arch-arm/syscalls/sendmsg.S b/libc/arch-arm/syscalls/sendmsg.S
index d25d6b4..fd38140 100644
--- a/libc/arch-arm/syscalls/sendmsg.S
+++ b/libc/arch-arm/syscalls/sendmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmsg)
mov ip, r7
ldr r7, =__NR_sendmsg
@@ -12,5 +10,5 @@ ENTRY(sendmsg)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sendmsg)
diff --git a/libc/arch-arm/syscalls/sendto.S b/libc/arch-arm/syscalls/sendto.S
index b5e8de9..29b7b0b 100644
--- a/libc/arch-arm/syscalls/sendto.S
+++ b/libc/arch-arm/syscalls/sendto.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendto)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(sendto)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sendto)
diff --git a/libc/arch-arm/syscalls/setfsgid.S b/libc/arch-arm/syscalls/setfsgid.S
index 7cdb610..f677a94 100644
--- a/libc/arch-arm/syscalls/setfsgid.S
+++ b/libc/arch-arm/syscalls/setfsgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsgid)
mov ip, r7
ldr r7, =__NR_setfsgid
@@ -12,5 +10,5 @@ ENTRY(setfsgid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setfsgid)
diff --git a/libc/arch-arm/syscalls/setfsuid.S b/libc/arch-arm/syscalls/setfsuid.S
index ae65298..5d27a4d 100644
--- a/libc/arch-arm/syscalls/setfsuid.S
+++ b/libc/arch-arm/syscalls/setfsuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsuid)
mov ip, r7
ldr r7, =__NR_setfsuid
@@ -12,5 +10,5 @@ ENTRY(setfsuid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setfsuid)
diff --git a/libc/arch-arm/syscalls/setgid.S b/libc/arch-arm/syscalls/setgid.S
index 15583ac..d9b2b88 100644
--- a/libc/arch-arm/syscalls/setgid.S
+++ b/libc/arch-arm/syscalls/setgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgid)
mov ip, r7
ldr r7, =__NR_setgid32
@@ -12,5 +10,5 @@ ENTRY(setgid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setgid)
diff --git a/libc/arch-arm/syscalls/setgroups.S b/libc/arch-arm/syscalls/setgroups.S
index eb610b1..169de73 100644
--- a/libc/arch-arm/syscalls/setgroups.S
+++ b/libc/arch-arm/syscalls/setgroups.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgroups)
mov ip, r7
ldr r7, =__NR_setgroups32
@@ -12,5 +10,5 @@ ENTRY(setgroups)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setgroups)
diff --git a/libc/arch-arm/syscalls/setitimer.S b/libc/arch-arm/syscalls/setitimer.S
index 4da2b40..31b277b 100644
--- a/libc/arch-arm/syscalls/setitimer.S
+++ b/libc/arch-arm/syscalls/setitimer.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setitimer)
mov ip, r7
ldr r7, =__NR_setitimer
@@ -12,5 +10,5 @@ ENTRY(setitimer)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setitimer)
diff --git a/libc/arch-arm/syscalls/setns.S b/libc/arch-arm/syscalls/setns.S
index 891a0ac..59203ef 100644
--- a/libc/arch-arm/syscalls/setns.S
+++ b/libc/arch-arm/syscalls/setns.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setns)
mov ip, r7
ldr r7, =__NR_setns
@@ -12,5 +10,5 @@ ENTRY(setns)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setns)
diff --git a/libc/arch-arm/syscalls/setpgid.S b/libc/arch-arm/syscalls/setpgid.S
index e4edcdf..4a91520 100644
--- a/libc/arch-arm/syscalls/setpgid.S
+++ b/libc/arch-arm/syscalls/setpgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpgid)
mov ip, r7
ldr r7, =__NR_setpgid
@@ -12,5 +10,5 @@ ENTRY(setpgid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setpgid)
diff --git a/libc/arch-arm/syscalls/setpriority.S b/libc/arch-arm/syscalls/setpriority.S
index 80d0d82..2053ce1 100644
--- a/libc/arch-arm/syscalls/setpriority.S
+++ b/libc/arch-arm/syscalls/setpriority.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpriority)
mov ip, r7
ldr r7, =__NR_setpriority
@@ -12,5 +10,5 @@ ENTRY(setpriority)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setpriority)
diff --git a/libc/arch-arm/syscalls/setregid.S b/libc/arch-arm/syscalls/setregid.S
index b2cd345..f1bdc60 100644
--- a/libc/arch-arm/syscalls/setregid.S
+++ b/libc/arch-arm/syscalls/setregid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setregid)
mov ip, r7
ldr r7, =__NR_setregid32
@@ -12,5 +10,5 @@ ENTRY(setregid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setregid)
diff --git a/libc/arch-arm/syscalls/setresgid.S b/libc/arch-arm/syscalls/setresgid.S
index 75a9f75..9b8968a 100644
--- a/libc/arch-arm/syscalls/setresgid.S
+++ b/libc/arch-arm/syscalls/setresgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresgid)
mov ip, r7
ldr r7, =__NR_setresgid32
@@ -12,5 +10,5 @@ ENTRY(setresgid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setresgid)
diff --git a/libc/arch-arm/syscalls/setresuid.S b/libc/arch-arm/syscalls/setresuid.S
index f3382f2..c26a955 100644
--- a/libc/arch-arm/syscalls/setresuid.S
+++ b/libc/arch-arm/syscalls/setresuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresuid)
mov ip, r7
ldr r7, =__NR_setresuid32
@@ -12,5 +10,5 @@ ENTRY(setresuid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setresuid)
diff --git a/libc/arch-arm/syscalls/setreuid.S b/libc/arch-arm/syscalls/setreuid.S
index 1d866e9..796191a 100644
--- a/libc/arch-arm/syscalls/setreuid.S
+++ b/libc/arch-arm/syscalls/setreuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setreuid)
mov ip, r7
ldr r7, =__NR_setreuid32
@@ -12,5 +10,5 @@ ENTRY(setreuid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setreuid)
diff --git a/libc/arch-arm/syscalls/setrlimit.S b/libc/arch-arm/syscalls/setrlimit.S
index 0ddd711..c87b21b 100644
--- a/libc/arch-arm/syscalls/setrlimit.S
+++ b/libc/arch-arm/syscalls/setrlimit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setrlimit)
mov ip, r7
ldr r7, =__NR_setrlimit
@@ -12,5 +10,5 @@ ENTRY(setrlimit)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setrlimit)
diff --git a/libc/arch-arm/syscalls/setsid.S b/libc/arch-arm/syscalls/setsid.S
index 69b351f..83bda1b 100644
--- a/libc/arch-arm/syscalls/setsid.S
+++ b/libc/arch-arm/syscalls/setsid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsid)
mov ip, r7
ldr r7, =__NR_setsid
@@ -12,5 +10,5 @@ ENTRY(setsid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setsid)
diff --git a/libc/arch-arm/syscalls/setsockopt.S b/libc/arch-arm/syscalls/setsockopt.S
index 87df622..8ea3893 100644
--- a/libc/arch-arm/syscalls/setsockopt.S
+++ b/libc/arch-arm/syscalls/setsockopt.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsockopt)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(setsockopt)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setsockopt)
diff --git a/libc/arch-arm/syscalls/settimeofday.S b/libc/arch-arm/syscalls/settimeofday.S
index 76697fc..5763f40 100644
--- a/libc/arch-arm/syscalls/settimeofday.S
+++ b/libc/arch-arm/syscalls/settimeofday.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(settimeofday)
mov ip, r7
ldr r7, =__NR_settimeofday
@@ -12,5 +10,5 @@ ENTRY(settimeofday)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(settimeofday)
diff --git a/libc/arch-arm/syscalls/setuid.S b/libc/arch-arm/syscalls/setuid.S
index 26d3ed1..55b349c 100644
--- a/libc/arch-arm/syscalls/setuid.S
+++ b/libc/arch-arm/syscalls/setuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setuid)
mov ip, r7
ldr r7, =__NR_setuid32
@@ -12,5 +10,5 @@ ENTRY(setuid)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setuid)
diff --git a/libc/arch-arm/syscalls/setxattr.S b/libc/arch-arm/syscalls/setxattr.S
index ec948ce..8ba4b77 100644
--- a/libc/arch-arm/syscalls/setxattr.S
+++ b/libc/arch-arm/syscalls/setxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setxattr)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(setxattr)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(setxattr)
diff --git a/libc/arch-arm/syscalls/shutdown.S b/libc/arch-arm/syscalls/shutdown.S
index e9a27d4..889934a 100644
--- a/libc/arch-arm/syscalls/shutdown.S
+++ b/libc/arch-arm/syscalls/shutdown.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(shutdown)
mov ip, r7
ldr r7, =__NR_shutdown
@@ -12,5 +10,5 @@ ENTRY(shutdown)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(shutdown)
diff --git a/libc/arch-arm/syscalls/sigaltstack.S b/libc/arch-arm/syscalls/sigaltstack.S
index 18a1ffe..b61b25d 100644
--- a/libc/arch-arm/syscalls/sigaltstack.S
+++ b/libc/arch-arm/syscalls/sigaltstack.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sigaltstack)
mov ip, r7
ldr r7, =__NR_sigaltstack
@@ -12,5 +10,5 @@ ENTRY(sigaltstack)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sigaltstack)
diff --git a/libc/arch-arm/syscalls/socketpair.S b/libc/arch-arm/syscalls/socketpair.S
index 66f0c32..f3c8a4b 100644
--- a/libc/arch-arm/syscalls/socketpair.S
+++ b/libc/arch-arm/syscalls/socketpair.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(socketpair)
mov ip, r7
ldr r7, =__NR_socketpair
@@ -12,5 +10,5 @@ ENTRY(socketpair)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(socketpair)
diff --git a/libc/arch-arm/syscalls/splice.S b/libc/arch-arm/syscalls/splice.S
index 6273138..6bc3f0d 100644
--- a/libc/arch-arm/syscalls/splice.S
+++ b/libc/arch-arm/syscalls/splice.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(splice)
mov ip, sp
stmfd sp!, {r4, r5, r6, r7}
@@ -20,5 +18,5 @@ ENTRY(splice)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(splice)
diff --git a/libc/arch-arm/syscalls/swapoff.S b/libc/arch-arm/syscalls/swapoff.S
index a497aad..a7aaa82 100644
--- a/libc/arch-arm/syscalls/swapoff.S
+++ b/libc/arch-arm/syscalls/swapoff.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapoff)
mov ip, r7
ldr r7, =__NR_swapoff
@@ -12,5 +10,5 @@ ENTRY(swapoff)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(swapoff)
diff --git a/libc/arch-arm/syscalls/swapon.S b/libc/arch-arm/syscalls/swapon.S
index ded2abc..6ea93c3 100644
--- a/libc/arch-arm/syscalls/swapon.S
+++ b/libc/arch-arm/syscalls/swapon.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapon)
mov ip, r7
ldr r7, =__NR_swapon
@@ -12,5 +10,5 @@ ENTRY(swapon)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(swapon)
diff --git a/libc/arch-arm/syscalls/symlinkat.S b/libc/arch-arm/syscalls/symlinkat.S
index cc91b88..d330a54 100644
--- a/libc/arch-arm/syscalls/symlinkat.S
+++ b/libc/arch-arm/syscalls/symlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(symlinkat)
mov ip, r7
ldr r7, =__NR_symlinkat
@@ -12,5 +10,5 @@ ENTRY(symlinkat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(symlinkat)
diff --git a/libc/arch-arm/syscalls/sync.S b/libc/arch-arm/syscalls/sync.S
index ab22855..48ecfc0 100644
--- a/libc/arch-arm/syscalls/sync.S
+++ b/libc/arch-arm/syscalls/sync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sync)
mov ip, r7
ldr r7, =__NR_sync
@@ -12,5 +10,5 @@ ENTRY(sync)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sync)
diff --git a/libc/arch-arm/syscalls/sysinfo.S b/libc/arch-arm/syscalls/sysinfo.S
index f5fb4e6..709478e 100644
--- a/libc/arch-arm/syscalls/sysinfo.S
+++ b/libc/arch-arm/syscalls/sysinfo.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sysinfo)
mov ip, r7
ldr r7, =__NR_sysinfo
@@ -12,5 +10,5 @@ ENTRY(sysinfo)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(sysinfo)
diff --git a/libc/arch-arm/syscalls/tee.S b/libc/arch-arm/syscalls/tee.S
index 7e155df..a019c00 100644
--- a/libc/arch-arm/syscalls/tee.S
+++ b/libc/arch-arm/syscalls/tee.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tee)
mov ip, r7
ldr r7, =__NR_tee
@@ -12,5 +10,5 @@ ENTRY(tee)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(tee)
diff --git a/libc/arch-arm/syscalls/tgkill.S b/libc/arch-arm/syscalls/tgkill.S
index 98440b1..2068465 100644
--- a/libc/arch-arm/syscalls/tgkill.S
+++ b/libc/arch-arm/syscalls/tgkill.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tgkill)
mov ip, r7
ldr r7, =__NR_tgkill
@@ -12,5 +10,5 @@ ENTRY(tgkill)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(tgkill)
diff --git a/libc/arch-arm/syscalls/timerfd_create.S b/libc/arch-arm/syscalls/timerfd_create.S
index 9211b54..89a80cd 100644
--- a/libc/arch-arm/syscalls/timerfd_create.S
+++ b/libc/arch-arm/syscalls/timerfd_create.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_create)
mov ip, r7
ldr r7, =__NR_timerfd_create
@@ -12,5 +10,5 @@ ENTRY(timerfd_create)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(timerfd_create)
diff --git a/libc/arch-arm/syscalls/timerfd_gettime.S b/libc/arch-arm/syscalls/timerfd_gettime.S
index c27e008..4a7df76 100644
--- a/libc/arch-arm/syscalls/timerfd_gettime.S
+++ b/libc/arch-arm/syscalls/timerfd_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_gettime)
mov ip, r7
ldr r7, =__NR_timerfd_gettime
@@ -12,5 +10,5 @@ ENTRY(timerfd_gettime)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(timerfd_gettime)
diff --git a/libc/arch-arm/syscalls/timerfd_settime.S b/libc/arch-arm/syscalls/timerfd_settime.S
index 7acd408..2e0fe93 100644
--- a/libc/arch-arm/syscalls/timerfd_settime.S
+++ b/libc/arch-arm/syscalls/timerfd_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_settime)
mov ip, r7
ldr r7, =__NR_timerfd_settime
@@ -12,5 +10,5 @@ ENTRY(timerfd_settime)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(timerfd_settime)
diff --git a/libc/arch-arm/syscalls/times.S b/libc/arch-arm/syscalls/times.S
index b5695c4..289c185 100644
--- a/libc/arch-arm/syscalls/times.S
+++ b/libc/arch-arm/syscalls/times.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(times)
mov ip, r7
ldr r7, =__NR_times
@@ -12,5 +10,5 @@ ENTRY(times)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(times)
diff --git a/libc/arch-arm/syscalls/truncate.S b/libc/arch-arm/syscalls/truncate.S
index 7915722..bb33beb 100644
--- a/libc/arch-arm/syscalls/truncate.S
+++ b/libc/arch-arm/syscalls/truncate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(truncate)
mov ip, r7
ldr r7, =__NR_truncate
@@ -12,5 +10,5 @@ ENTRY(truncate)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(truncate)
diff --git a/libc/arch-arm/syscalls/truncate64.S b/libc/arch-arm/syscalls/truncate64.S
index d59374a..9cafbb5 100644
--- a/libc/arch-arm/syscalls/truncate64.S
+++ b/libc/arch-arm/syscalls/truncate64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(truncate64)
mov ip, r7
ldr r7, =__NR_truncate64
@@ -12,5 +10,5 @@ ENTRY(truncate64)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(truncate64)
diff --git a/libc/arch-arm/syscalls/umask.S b/libc/arch-arm/syscalls/umask.S
index 5b03fb3..5dc4461 100644
--- a/libc/arch-arm/syscalls/umask.S
+++ b/libc/arch-arm/syscalls/umask.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umask)
mov ip, r7
ldr r7, =__NR_umask
@@ -12,5 +10,5 @@ ENTRY(umask)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(umask)
diff --git a/libc/arch-arm/syscalls/umount2.S b/libc/arch-arm/syscalls/umount2.S
index 841eb97..435eda4 100644
--- a/libc/arch-arm/syscalls/umount2.S
+++ b/libc/arch-arm/syscalls/umount2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umount2)
mov ip, r7
ldr r7, =__NR_umount2
@@ -12,5 +10,5 @@ ENTRY(umount2)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(umount2)
diff --git a/libc/arch-arm/syscalls/uname.S b/libc/arch-arm/syscalls/uname.S
index 76480b4..8af6123 100644
--- a/libc/arch-arm/syscalls/uname.S
+++ b/libc/arch-arm/syscalls/uname.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(uname)
mov ip, r7
ldr r7, =__NR_uname
@@ -12,5 +10,5 @@ ENTRY(uname)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(uname)
diff --git a/libc/arch-arm/syscalls/unlinkat.S b/libc/arch-arm/syscalls/unlinkat.S
index 6759768..96257e6 100644
--- a/libc/arch-arm/syscalls/unlinkat.S
+++ b/libc/arch-arm/syscalls/unlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unlinkat)
mov ip, r7
ldr r7, =__NR_unlinkat
@@ -12,5 +10,5 @@ ENTRY(unlinkat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(unlinkat)
diff --git a/libc/arch-arm/syscalls/unshare.S b/libc/arch-arm/syscalls/unshare.S
index 19a5b6a..8054171 100644
--- a/libc/arch-arm/syscalls/unshare.S
+++ b/libc/arch-arm/syscalls/unshare.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unshare)
mov ip, r7
ldr r7, =__NR_unshare
@@ -12,5 +10,5 @@ ENTRY(unshare)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(unshare)
diff --git a/libc/arch-arm/syscalls/utimensat.S b/libc/arch-arm/syscalls/utimensat.S
index 6d50688..f3c2fa2 100644
--- a/libc/arch-arm/syscalls/utimensat.S
+++ b/libc/arch-arm/syscalls/utimensat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(utimensat)
mov ip, r7
ldr r7, =__NR_utimensat
@@ -12,5 +10,5 @@ ENTRY(utimensat)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(utimensat)
diff --git a/libc/arch-arm/syscalls/vfork.S b/libc/arch-arm/syscalls/vfork.S
index 8543986..5f4cb3d 100644
--- a/libc/arch-arm/syscalls/vfork.S
+++ b/libc/arch-arm/syscalls/vfork.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(vfork)
mov ip, r7
ldr r7, =__NR_vfork
@@ -12,5 +10,5 @@ ENTRY(vfork)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(vfork)
diff --git a/libc/arch-arm/syscalls/vmsplice.S b/libc/arch-arm/syscalls/vmsplice.S
index 8239158..cc12ca5 100644
--- a/libc/arch-arm/syscalls/vmsplice.S
+++ b/libc/arch-arm/syscalls/vmsplice.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(vmsplice)
mov ip, r7
ldr r7, =__NR_vmsplice
@@ -12,5 +10,5 @@ ENTRY(vmsplice)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(vmsplice)
diff --git a/libc/arch-arm/syscalls/wait4.S b/libc/arch-arm/syscalls/wait4.S
index ffb2587..26a4929 100644
--- a/libc/arch-arm/syscalls/wait4.S
+++ b/libc/arch-arm/syscalls/wait4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(wait4)
mov ip, r7
ldr r7, =__NR_wait4
@@ -12,5 +10,5 @@ ENTRY(wait4)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(wait4)
diff --git a/libc/arch-arm/syscalls/write.S b/libc/arch-arm/syscalls/write.S
index 8da1176..bf89d7f 100644
--- a/libc/arch-arm/syscalls/write.S
+++ b/libc/arch-arm/syscalls/write.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(write)
mov ip, r7
ldr r7, =__NR_write
@@ -12,5 +10,5 @@ ENTRY(write)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(write)
diff --git a/libc/arch-arm/syscalls/writev.S b/libc/arch-arm/syscalls/writev.S
index f17ad94..15b5275 100644
--- a/libc/arch-arm/syscalls/writev.S
+++ b/libc/arch-arm/syscalls/writev.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(writev)
mov ip, r7
ldr r7, =__NR_writev
@@ -12,5 +10,5 @@ ENTRY(writev)
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(writev)
diff --git a/libc/arch-arm64/bionic/__bionic_clone.S b/libc/arch-arm64/bionic/__bionic_clone.S
index 74db4b5..56ac0f6 100644
--- a/libc/arch-arm64/bionic/__bionic_clone.S
+++ b/libc/arch-arm64/bionic/__bionic_clone.S
@@ -44,7 +44,7 @@ ENTRY(__bionic_clone)
# Set errno if something went wrong.
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
diff --git a/libc/arch-arm64/bionic/syscall.S b/libc/arch-arm64/bionic/syscall.S
index 658af78..8389f98 100644
--- a/libc/arch-arm64/bionic/syscall.S
+++ b/libc/arch-arm64/bionic/syscall.S
@@ -43,7 +43,7 @@ ENTRY(syscall)
/* check if syscall returned successfully */
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(syscall)
diff --git a/libc/arch-arm64/bionic/vfork.S b/libc/arch-arm64/bionic/vfork.S
index c700623..b6a672d 100644
--- a/libc/arch-arm64/bionic/vfork.S
+++ b/libc/arch-arm64/bionic/vfork.S
@@ -42,7 +42,7 @@ ENTRY(vfork)
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(vfork)
diff --git a/libc/arch-arm64/syscalls/__accept4.S b/libc/arch-arm64/syscalls/__accept4.S
index bee9fda..559e6a7 100644
--- a/libc/arch-arm64/syscalls/__accept4.S
+++ b/libc/arch-arm64/syscalls/__accept4.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__accept4)
mov x8, __NR_accept4
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__accept4)
diff --git a/libc/arch-arm64/syscalls/__brk.S b/libc/arch-arm64/syscalls/__brk.S
index e91e762..fb794bf 100644
--- a/libc/arch-arm64/syscalls/__brk.S
+++ b/libc/arch-arm64/syscalls/__brk.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__brk)
mov x8, __NR_brk
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__brk)
diff --git a/libc/arch-arm64/syscalls/__clock_gettime.S b/libc/arch-arm64/syscalls/__clock_gettime.S
index d4a65e8..658ab29 100644
--- a/libc/arch-arm64/syscalls/__clock_gettime.S
+++ b/libc/arch-arm64/syscalls/__clock_gettime.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__clock_gettime)
mov x8, __NR_clock_gettime
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__clock_gettime)
diff --git a/libc/arch-arm64/syscalls/__connect.S b/libc/arch-arm64/syscalls/__connect.S
index 4f19dc7..c18e6eb 100644
--- a/libc/arch-arm64/syscalls/__connect.S
+++ b/libc/arch-arm64/syscalls/__connect.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__connect)
mov x8, __NR_connect
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__connect)
diff --git a/libc/arch-arm64/syscalls/__epoll_pwait.S b/libc/arch-arm64/syscalls/__epoll_pwait.S
index 7f40fbc..acf2bbf 100644
--- a/libc/arch-arm64/syscalls/__epoll_pwait.S
+++ b/libc/arch-arm64/syscalls/__epoll_pwait.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__epoll_pwait)
mov x8, __NR_epoll_pwait
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__epoll_pwait)
diff --git a/libc/arch-arm64/syscalls/__exit.S b/libc/arch-arm64/syscalls/__exit.S
index 30849ce..b6b1866 100644
--- a/libc/arch-arm64/syscalls/__exit.S
+++ b/libc/arch-arm64/syscalls/__exit.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__exit)
mov x8, __NR_exit
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__exit)
diff --git a/libc/arch-arm64/syscalls/__getcpu.S b/libc/arch-arm64/syscalls/__getcpu.S
index 4821917..11ed68e 100644
--- a/libc/arch-arm64/syscalls/__getcpu.S
+++ b/libc/arch-arm64/syscalls/__getcpu.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcpu)
mov x8, __NR_getcpu
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__getcpu)
diff --git a/libc/arch-arm64/syscalls/__getcwd.S b/libc/arch-arm64/syscalls/__getcwd.S
index f0212a2..c64f4d2 100644
--- a/libc/arch-arm64/syscalls/__getcwd.S
+++ b/libc/arch-arm64/syscalls/__getcwd.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcwd)
mov x8, __NR_getcwd
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__getcwd)
diff --git a/libc/arch-arm64/syscalls/__getdents64.S b/libc/arch-arm64/syscalls/__getdents64.S
index 0061cd6..9943390 100644
--- a/libc/arch-arm64/syscalls/__getdents64.S
+++ b/libc/arch-arm64/syscalls/__getdents64.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getdents64)
mov x8, __NR_getdents64
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__getdents64)
diff --git a/libc/arch-arm64/syscalls/__getpid.S b/libc/arch-arm64/syscalls/__getpid.S
index 011d82d..fbc96df 100644
--- a/libc/arch-arm64/syscalls/__getpid.S
+++ b/libc/arch-arm64/syscalls/__getpid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpid)
mov x8, __NR_getpid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__getpid)
diff --git a/libc/arch-arm64/syscalls/__getpriority.S b/libc/arch-arm64/syscalls/__getpriority.S
index 80188b3..9d98e22 100644
--- a/libc/arch-arm64/syscalls/__getpriority.S
+++ b/libc/arch-arm64/syscalls/__getpriority.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpriority)
mov x8, __NR_getpriority
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__getpriority)
diff --git a/libc/arch-arm64/syscalls/__gettimeofday.S b/libc/arch-arm64/syscalls/__gettimeofday.S
index 7d1b5d3..0c8206a 100644
--- a/libc/arch-arm64/syscalls/__gettimeofday.S
+++ b/libc/arch-arm64/syscalls/__gettimeofday.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__gettimeofday)
mov x8, __NR_gettimeofday
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__gettimeofday)
diff --git a/libc/arch-arm64/syscalls/__ioctl.S b/libc/arch-arm64/syscalls/__ioctl.S
index 3d42f1a..62bc28c 100644
--- a/libc/arch-arm64/syscalls/__ioctl.S
+++ b/libc/arch-arm64/syscalls/__ioctl.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ioctl)
mov x8, __NR_ioctl
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__ioctl)
diff --git a/libc/arch-arm64/syscalls/__openat.S b/libc/arch-arm64/syscalls/__openat.S
index 1ff0b48..8b6853f 100644
--- a/libc/arch-arm64/syscalls/__openat.S
+++ b/libc/arch-arm64/syscalls/__openat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__openat)
mov x8, __NR_openat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__openat)
diff --git a/libc/arch-arm64/syscalls/__ppoll.S b/libc/arch-arm64/syscalls/__ppoll.S
index 9517ce3..1f54d67 100644
--- a/libc/arch-arm64/syscalls/__ppoll.S
+++ b/libc/arch-arm64/syscalls/__ppoll.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ppoll)
mov x8, __NR_ppoll
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__ppoll)
diff --git a/libc/arch-arm64/syscalls/__pselect6.S b/libc/arch-arm64/syscalls/__pselect6.S
index 7e14e02..388d84e 100644
--- a/libc/arch-arm64/syscalls/__pselect6.S
+++ b/libc/arch-arm64/syscalls/__pselect6.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__pselect6)
mov x8, __NR_pselect6
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__pselect6)
diff --git a/libc/arch-arm64/syscalls/__ptrace.S b/libc/arch-arm64/syscalls/__ptrace.S
index b325e29..d68b674 100644
--- a/libc/arch-arm64/syscalls/__ptrace.S
+++ b/libc/arch-arm64/syscalls/__ptrace.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ptrace)
mov x8, __NR_ptrace
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__ptrace)
diff --git a/libc/arch-arm64/syscalls/__reboot.S b/libc/arch-arm64/syscalls/__reboot.S
index 04b18c9..79cd5be 100644
--- a/libc/arch-arm64/syscalls/__reboot.S
+++ b/libc/arch-arm64/syscalls/__reboot.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__reboot)
mov x8, __NR_reboot
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__reboot)
diff --git a/libc/arch-arm64/syscalls/__rt_sigaction.S b/libc/arch-arm64/syscalls/__rt_sigaction.S
index 3def558..65fea2e 100644
--- a/libc/arch-arm64/syscalls/__rt_sigaction.S
+++ b/libc/arch-arm64/syscalls/__rt_sigaction.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigaction)
mov x8, __NR_rt_sigaction
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__rt_sigaction)
diff --git a/libc/arch-arm64/syscalls/__rt_sigpending.S b/libc/arch-arm64/syscalls/__rt_sigpending.S
index 3ac0cb8..6553781 100644
--- a/libc/arch-arm64/syscalls/__rt_sigpending.S
+++ b/libc/arch-arm64/syscalls/__rt_sigpending.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigpending)
mov x8, __NR_rt_sigpending
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__rt_sigpending)
diff --git a/libc/arch-arm64/syscalls/__rt_sigprocmask.S b/libc/arch-arm64/syscalls/__rt_sigprocmask.S
index 72c7ea6..95127d6 100644
--- a/libc/arch-arm64/syscalls/__rt_sigprocmask.S
+++ b/libc/arch-arm64/syscalls/__rt_sigprocmask.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigprocmask)
mov x8, __NR_rt_sigprocmask
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__rt_sigprocmask)
diff --git a/libc/arch-arm64/syscalls/__rt_sigsuspend.S b/libc/arch-arm64/syscalls/__rt_sigsuspend.S
index a289713..7cbd8d6 100644
--- a/libc/arch-arm64/syscalls/__rt_sigsuspend.S
+++ b/libc/arch-arm64/syscalls/__rt_sigsuspend.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigsuspend)
mov x8, __NR_rt_sigsuspend
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__rt_sigsuspend)
diff --git a/libc/arch-arm64/syscalls/__rt_sigtimedwait.S b/libc/arch-arm64/syscalls/__rt_sigtimedwait.S
index c61e4ac..8001635 100644
--- a/libc/arch-arm64/syscalls/__rt_sigtimedwait.S
+++ b/libc/arch-arm64/syscalls/__rt_sigtimedwait.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigtimedwait)
mov x8, __NR_rt_sigtimedwait
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__rt_sigtimedwait)
diff --git a/libc/arch-arm64/syscalls/__sched_getaffinity.S b/libc/arch-arm64/syscalls/__sched_getaffinity.S
index 5bee77e..7dad15e 100644
--- a/libc/arch-arm64/syscalls/__sched_getaffinity.S
+++ b/libc/arch-arm64/syscalls/__sched_getaffinity.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__sched_getaffinity)
mov x8, __NR_sched_getaffinity
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__sched_getaffinity)
diff --git a/libc/arch-arm64/syscalls/__set_tid_address.S b/libc/arch-arm64/syscalls/__set_tid_address.S
index e4790bf..f7ae16d 100644
--- a/libc/arch-arm64/syscalls/__set_tid_address.S
+++ b/libc/arch-arm64/syscalls/__set_tid_address.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__set_tid_address)
mov x8, __NR_set_tid_address
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__set_tid_address)
diff --git a/libc/arch-arm64/syscalls/__signalfd4.S b/libc/arch-arm64/syscalls/__signalfd4.S
index a977a6c..f6e3497 100644
--- a/libc/arch-arm64/syscalls/__signalfd4.S
+++ b/libc/arch-arm64/syscalls/__signalfd4.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__signalfd4)
mov x8, __NR_signalfd4
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__signalfd4)
diff --git a/libc/arch-arm64/syscalls/__socket.S b/libc/arch-arm64/syscalls/__socket.S
index f8bb2ac..344bb2d 100644
--- a/libc/arch-arm64/syscalls/__socket.S
+++ b/libc/arch-arm64/syscalls/__socket.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__socket)
mov x8, __NR_socket
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__socket)
diff --git a/libc/arch-arm64/syscalls/__timer_create.S b/libc/arch-arm64/syscalls/__timer_create.S
index bb54952..4790845 100644
--- a/libc/arch-arm64/syscalls/__timer_create.S
+++ b/libc/arch-arm64/syscalls/__timer_create.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_create)
mov x8, __NR_timer_create
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__timer_create)
diff --git a/libc/arch-arm64/syscalls/__timer_delete.S b/libc/arch-arm64/syscalls/__timer_delete.S
index 47d82f2..ce12613 100644
--- a/libc/arch-arm64/syscalls/__timer_delete.S
+++ b/libc/arch-arm64/syscalls/__timer_delete.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_delete)
mov x8, __NR_timer_delete
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__timer_delete)
diff --git a/libc/arch-arm64/syscalls/__timer_getoverrun.S b/libc/arch-arm64/syscalls/__timer_getoverrun.S
index 9c06112..2cfdf6a 100644
--- a/libc/arch-arm64/syscalls/__timer_getoverrun.S
+++ b/libc/arch-arm64/syscalls/__timer_getoverrun.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_getoverrun)
mov x8, __NR_timer_getoverrun
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__timer_getoverrun)
diff --git a/libc/arch-arm64/syscalls/__timer_gettime.S b/libc/arch-arm64/syscalls/__timer_gettime.S
index e7c7cfe..a1ea323 100644
--- a/libc/arch-arm64/syscalls/__timer_gettime.S
+++ b/libc/arch-arm64/syscalls/__timer_gettime.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_gettime)
mov x8, __NR_timer_gettime
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__timer_gettime)
diff --git a/libc/arch-arm64/syscalls/__timer_settime.S b/libc/arch-arm64/syscalls/__timer_settime.S
index d4a4996..059d705 100644
--- a/libc/arch-arm64/syscalls/__timer_settime.S
+++ b/libc/arch-arm64/syscalls/__timer_settime.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_settime)
mov x8, __NR_timer_settime
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__timer_settime)
diff --git a/libc/arch-arm64/syscalls/__waitid.S b/libc/arch-arm64/syscalls/__waitid.S
index 5bff488..8bd649d 100644
--- a/libc/arch-arm64/syscalls/__waitid.S
+++ b/libc/arch-arm64/syscalls/__waitid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__waitid)
mov x8, __NR_waitid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(__waitid)
diff --git a/libc/arch-arm64/syscalls/_exit.S b/libc/arch-arm64/syscalls/_exit.S
index e88e77a..edf6744 100644
--- a/libc/arch-arm64/syscalls/_exit.S
+++ b/libc/arch-arm64/syscalls/_exit.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(_exit)
mov x8, __NR_exit_group
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(_exit)
diff --git a/libc/arch-arm64/syscalls/acct.S b/libc/arch-arm64/syscalls/acct.S
index 97a8a0c..48cb4e9 100644
--- a/libc/arch-arm64/syscalls/acct.S
+++ b/libc/arch-arm64/syscalls/acct.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(acct)
mov x8, __NR_acct
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(acct)
diff --git a/libc/arch-arm64/syscalls/bind.S b/libc/arch-arm64/syscalls/bind.S
index 1d6d901..47170ff 100644
--- a/libc/arch-arm64/syscalls/bind.S
+++ b/libc/arch-arm64/syscalls/bind.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(bind)
mov x8, __NR_bind
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(bind)
diff --git a/libc/arch-arm64/syscalls/capget.S b/libc/arch-arm64/syscalls/capget.S
index de84929..7e0dfe9 100644
--- a/libc/arch-arm64/syscalls/capget.S
+++ b/libc/arch-arm64/syscalls/capget.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capget)
mov x8, __NR_capget
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(capget)
diff --git a/libc/arch-arm64/syscalls/capset.S b/libc/arch-arm64/syscalls/capset.S
index 1616f8f..e7b7a8d 100644
--- a/libc/arch-arm64/syscalls/capset.S
+++ b/libc/arch-arm64/syscalls/capset.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capset)
mov x8, __NR_capset
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(capset)
diff --git a/libc/arch-arm64/syscalls/chdir.S b/libc/arch-arm64/syscalls/chdir.S
index ccaa2e2..723cd08 100644
--- a/libc/arch-arm64/syscalls/chdir.S
+++ b/libc/arch-arm64/syscalls/chdir.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chdir)
mov x8, __NR_chdir
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(chdir)
diff --git a/libc/arch-arm64/syscalls/chroot.S b/libc/arch-arm64/syscalls/chroot.S
index bede172..e4f6bd9 100644
--- a/libc/arch-arm64/syscalls/chroot.S
+++ b/libc/arch-arm64/syscalls/chroot.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chroot)
mov x8, __NR_chroot
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(chroot)
diff --git a/libc/arch-arm64/syscalls/clock_getres.S b/libc/arch-arm64/syscalls/clock_getres.S
index 3944a15..33fda8f 100644
--- a/libc/arch-arm64/syscalls/clock_getres.S
+++ b/libc/arch-arm64/syscalls/clock_getres.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_getres)
mov x8, __NR_clock_getres
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(clock_getres)
diff --git a/libc/arch-arm64/syscalls/clock_nanosleep.S b/libc/arch-arm64/syscalls/clock_nanosleep.S
index 2182f67..349c5cc 100644
--- a/libc/arch-arm64/syscalls/clock_nanosleep.S
+++ b/libc/arch-arm64/syscalls/clock_nanosleep.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_nanosleep)
mov x8, __NR_clock_nanosleep
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(clock_nanosleep)
diff --git a/libc/arch-arm64/syscalls/clock_settime.S b/libc/arch-arm64/syscalls/clock_settime.S
index 14a662b..62354d1 100644
--- a/libc/arch-arm64/syscalls/clock_settime.S
+++ b/libc/arch-arm64/syscalls/clock_settime.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_settime)
mov x8, __NR_clock_settime
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(clock_settime)
diff --git a/libc/arch-arm64/syscalls/close.S b/libc/arch-arm64/syscalls/close.S
index da9a151..3624581 100644
--- a/libc/arch-arm64/syscalls/close.S
+++ b/libc/arch-arm64/syscalls/close.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(close)
mov x8, __NR_close
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(close)
diff --git a/libc/arch-arm64/syscalls/delete_module.S b/libc/arch-arm64/syscalls/delete_module.S
index 5dcd07f..db8d947 100644
--- a/libc/arch-arm64/syscalls/delete_module.S
+++ b/libc/arch-arm64/syscalls/delete_module.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(delete_module)
mov x8, __NR_delete_module
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(delete_module)
diff --git a/libc/arch-arm64/syscalls/dup.S b/libc/arch-arm64/syscalls/dup.S
index 33a1b65..4e95045 100644
--- a/libc/arch-arm64/syscalls/dup.S
+++ b/libc/arch-arm64/syscalls/dup.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup)
mov x8, __NR_dup
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(dup)
diff --git a/libc/arch-arm64/syscalls/dup3.S b/libc/arch-arm64/syscalls/dup3.S
index 441fec9..2e6be32 100644
--- a/libc/arch-arm64/syscalls/dup3.S
+++ b/libc/arch-arm64/syscalls/dup3.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup3)
mov x8, __NR_dup3
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(dup3)
diff --git a/libc/arch-arm64/syscalls/epoll_create1.S b/libc/arch-arm64/syscalls/epoll_create1.S
index d314f55..6ef518e 100644
--- a/libc/arch-arm64/syscalls/epoll_create1.S
+++ b/libc/arch-arm64/syscalls/epoll_create1.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_create1)
mov x8, __NR_epoll_create1
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(epoll_create1)
diff --git a/libc/arch-arm64/syscalls/epoll_ctl.S b/libc/arch-arm64/syscalls/epoll_ctl.S
index 004c066..1188f38 100644
--- a/libc/arch-arm64/syscalls/epoll_ctl.S
+++ b/libc/arch-arm64/syscalls/epoll_ctl.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_ctl)
mov x8, __NR_epoll_ctl
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(epoll_ctl)
diff --git a/libc/arch-arm64/syscalls/eventfd.S b/libc/arch-arm64/syscalls/eventfd.S
index 11e97d0..ca5df12 100644
--- a/libc/arch-arm64/syscalls/eventfd.S
+++ b/libc/arch-arm64/syscalls/eventfd.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(eventfd)
mov x8, __NR_eventfd2
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(eventfd)
diff --git a/libc/arch-arm64/syscalls/execve.S b/libc/arch-arm64/syscalls/execve.S
index 7b6d943..fc8fb68 100644
--- a/libc/arch-arm64/syscalls/execve.S
+++ b/libc/arch-arm64/syscalls/execve.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(execve)
mov x8, __NR_execve
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(execve)
diff --git a/libc/arch-arm64/syscalls/faccessat.S b/libc/arch-arm64/syscalls/faccessat.S
index 7bd8665..4c96cfa 100644
--- a/libc/arch-arm64/syscalls/faccessat.S
+++ b/libc/arch-arm64/syscalls/faccessat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(faccessat)
mov x8, __NR_faccessat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(faccessat)
diff --git a/libc/arch-arm64/syscalls/fallocate.S b/libc/arch-arm64/syscalls/fallocate.S
index d8795ae..ef3d4a4 100644
--- a/libc/arch-arm64/syscalls/fallocate.S
+++ b/libc/arch-arm64/syscalls/fallocate.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fallocate)
mov x8, __NR_fallocate
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fallocate)
diff --git a/libc/arch-arm64/syscalls/fchdir.S b/libc/arch-arm64/syscalls/fchdir.S
index 7739fed..2e164cb 100644
--- a/libc/arch-arm64/syscalls/fchdir.S
+++ b/libc/arch-arm64/syscalls/fchdir.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchdir)
mov x8, __NR_fchdir
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fchdir)
diff --git a/libc/arch-arm64/syscalls/fchmod.S b/libc/arch-arm64/syscalls/fchmod.S
index 3eec6cb..83a8060 100644
--- a/libc/arch-arm64/syscalls/fchmod.S
+++ b/libc/arch-arm64/syscalls/fchmod.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmod)
mov x8, __NR_fchmod
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fchmod)
diff --git a/libc/arch-arm64/syscalls/fchmodat.S b/libc/arch-arm64/syscalls/fchmodat.S
index f2f285e..8c5bb0e 100644
--- a/libc/arch-arm64/syscalls/fchmodat.S
+++ b/libc/arch-arm64/syscalls/fchmodat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmodat)
mov x8, __NR_fchmodat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fchmodat)
diff --git a/libc/arch-arm64/syscalls/fchown.S b/libc/arch-arm64/syscalls/fchown.S
index a689ba0..4456f1b 100644
--- a/libc/arch-arm64/syscalls/fchown.S
+++ b/libc/arch-arm64/syscalls/fchown.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchown)
mov x8, __NR_fchown
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fchown)
diff --git a/libc/arch-arm64/syscalls/fchownat.S b/libc/arch-arm64/syscalls/fchownat.S
index 7ede083..7ba6611 100644
--- a/libc/arch-arm64/syscalls/fchownat.S
+++ b/libc/arch-arm64/syscalls/fchownat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchownat)
mov x8, __NR_fchownat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fchownat)
diff --git a/libc/arch-arm64/syscalls/fcntl.S b/libc/arch-arm64/syscalls/fcntl.S
index 257c765..e2787ae 100644
--- a/libc/arch-arm64/syscalls/fcntl.S
+++ b/libc/arch-arm64/syscalls/fcntl.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fcntl)
mov x8, __NR_fcntl
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fcntl)
diff --git a/libc/arch-arm64/syscalls/fdatasync.S b/libc/arch-arm64/syscalls/fdatasync.S
index 233abda..225ab29 100644
--- a/libc/arch-arm64/syscalls/fdatasync.S
+++ b/libc/arch-arm64/syscalls/fdatasync.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fdatasync)
mov x8, __NR_fdatasync
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fdatasync)
diff --git a/libc/arch-arm64/syscalls/fgetxattr.S b/libc/arch-arm64/syscalls/fgetxattr.S
index bd579ff..0d6ada7 100644
--- a/libc/arch-arm64/syscalls/fgetxattr.S
+++ b/libc/arch-arm64/syscalls/fgetxattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fgetxattr)
mov x8, __NR_fgetxattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fgetxattr)
diff --git a/libc/arch-arm64/syscalls/flistxattr.S b/libc/arch-arm64/syscalls/flistxattr.S
index 95ccbe2..8921bb4 100644
--- a/libc/arch-arm64/syscalls/flistxattr.S
+++ b/libc/arch-arm64/syscalls/flistxattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flistxattr)
mov x8, __NR_flistxattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(flistxattr)
diff --git a/libc/arch-arm64/syscalls/flock.S b/libc/arch-arm64/syscalls/flock.S
index 2151d6c..0c036c8 100644
--- a/libc/arch-arm64/syscalls/flock.S
+++ b/libc/arch-arm64/syscalls/flock.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flock)
mov x8, __NR_flock
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(flock)
diff --git a/libc/arch-arm64/syscalls/fremovexattr.S b/libc/arch-arm64/syscalls/fremovexattr.S
index 8dd107d..cf3a371 100644
--- a/libc/arch-arm64/syscalls/fremovexattr.S
+++ b/libc/arch-arm64/syscalls/fremovexattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fremovexattr)
mov x8, __NR_fremovexattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fremovexattr)
diff --git a/libc/arch-arm64/syscalls/fsetxattr.S b/libc/arch-arm64/syscalls/fsetxattr.S
index 9e54686..e69e718 100644
--- a/libc/arch-arm64/syscalls/fsetxattr.S
+++ b/libc/arch-arm64/syscalls/fsetxattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsetxattr)
mov x8, __NR_fsetxattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fsetxattr)
diff --git a/libc/arch-arm64/syscalls/fstat64.S b/libc/arch-arm64/syscalls/fstat64.S
index f354e13..85a07f5 100644
--- a/libc/arch-arm64/syscalls/fstat64.S
+++ b/libc/arch-arm64/syscalls/fstat64.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstat64)
mov x8, __NR_fstat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fstat64)
diff --git a/libc/arch-arm64/syscalls/fstatat64.S b/libc/arch-arm64/syscalls/fstatat64.S
index 2fe056e..dafd982 100644
--- a/libc/arch-arm64/syscalls/fstatat64.S
+++ b/libc/arch-arm64/syscalls/fstatat64.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstatat64)
mov x8, __NR_newfstatat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fstatat64)
diff --git a/libc/arch-arm64/syscalls/fstatfs64.S b/libc/arch-arm64/syscalls/fstatfs64.S
index c67ffd6..2ca2dcd 100644
--- a/libc/arch-arm64/syscalls/fstatfs64.S
+++ b/libc/arch-arm64/syscalls/fstatfs64.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstatfs64)
mov x8, __NR_fstatfs
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fstatfs64)
diff --git a/libc/arch-arm64/syscalls/fsync.S b/libc/arch-arm64/syscalls/fsync.S
index ae2fc61..2bc0d0b 100644
--- a/libc/arch-arm64/syscalls/fsync.S
+++ b/libc/arch-arm64/syscalls/fsync.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsync)
mov x8, __NR_fsync
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(fsync)
diff --git a/libc/arch-arm64/syscalls/ftruncate.S b/libc/arch-arm64/syscalls/ftruncate.S
index adf87fe..c6e99f5 100644
--- a/libc/arch-arm64/syscalls/ftruncate.S
+++ b/libc/arch-arm64/syscalls/ftruncate.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(ftruncate)
mov x8, __NR_ftruncate
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(ftruncate)
diff --git a/libc/arch-arm64/syscalls/getegid.S b/libc/arch-arm64/syscalls/getegid.S
index 5066cae..f7d60d9 100644
--- a/libc/arch-arm64/syscalls/getegid.S
+++ b/libc/arch-arm64/syscalls/getegid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getegid)
mov x8, __NR_getegid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getegid)
diff --git a/libc/arch-arm64/syscalls/geteuid.S b/libc/arch-arm64/syscalls/geteuid.S
index 25b1ea9..3096a92 100644
--- a/libc/arch-arm64/syscalls/geteuid.S
+++ b/libc/arch-arm64/syscalls/geteuid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(geteuid)
mov x8, __NR_geteuid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(geteuid)
diff --git a/libc/arch-arm64/syscalls/getgid.S b/libc/arch-arm64/syscalls/getgid.S
index 3f49cb4..2f921ff 100644
--- a/libc/arch-arm64/syscalls/getgid.S
+++ b/libc/arch-arm64/syscalls/getgid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgid)
mov x8, __NR_getgid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getgid)
diff --git a/libc/arch-arm64/syscalls/getgroups.S b/libc/arch-arm64/syscalls/getgroups.S
index 3df4974..a9a897e 100644
--- a/libc/arch-arm64/syscalls/getgroups.S
+++ b/libc/arch-arm64/syscalls/getgroups.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgroups)
mov x8, __NR_getgroups
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getgroups)
diff --git a/libc/arch-arm64/syscalls/getitimer.S b/libc/arch-arm64/syscalls/getitimer.S
index 70cb731..f37063c 100644
--- a/libc/arch-arm64/syscalls/getitimer.S
+++ b/libc/arch-arm64/syscalls/getitimer.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getitimer)
mov x8, __NR_getitimer
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getitimer)
diff --git a/libc/arch-arm64/syscalls/getpeername.S b/libc/arch-arm64/syscalls/getpeername.S
index eefb24a..8374d60 100644
--- a/libc/arch-arm64/syscalls/getpeername.S
+++ b/libc/arch-arm64/syscalls/getpeername.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpeername)
mov x8, __NR_getpeername
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getpeername)
diff --git a/libc/arch-arm64/syscalls/getpgid.S b/libc/arch-arm64/syscalls/getpgid.S
index d12ac52..ffc0d91 100644
--- a/libc/arch-arm64/syscalls/getpgid.S
+++ b/libc/arch-arm64/syscalls/getpgid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpgid)
mov x8, __NR_getpgid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getpgid)
diff --git a/libc/arch-arm64/syscalls/getppid.S b/libc/arch-arm64/syscalls/getppid.S
index af8965b..1e21bdf 100644
--- a/libc/arch-arm64/syscalls/getppid.S
+++ b/libc/arch-arm64/syscalls/getppid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getppid)
mov x8, __NR_getppid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getppid)
diff --git a/libc/arch-arm64/syscalls/getresgid.S b/libc/arch-arm64/syscalls/getresgid.S
index 3c1c0c0..b15357a 100644
--- a/libc/arch-arm64/syscalls/getresgid.S
+++ b/libc/arch-arm64/syscalls/getresgid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresgid)
mov x8, __NR_getresgid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getresgid)
diff --git a/libc/arch-arm64/syscalls/getresuid.S b/libc/arch-arm64/syscalls/getresuid.S
index f50e060..53de6b7 100644
--- a/libc/arch-arm64/syscalls/getresuid.S
+++ b/libc/arch-arm64/syscalls/getresuid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresuid)
mov x8, __NR_getresuid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getresuid)
diff --git a/libc/arch-arm64/syscalls/getrlimit.S b/libc/arch-arm64/syscalls/getrlimit.S
index b759912..518ab73 100644
--- a/libc/arch-arm64/syscalls/getrlimit.S
+++ b/libc/arch-arm64/syscalls/getrlimit.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrlimit)
mov x8, __NR_getrlimit
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getrlimit)
diff --git a/libc/arch-arm64/syscalls/getrusage.S b/libc/arch-arm64/syscalls/getrusage.S
index 1a0d30f..676221a 100644
--- a/libc/arch-arm64/syscalls/getrusage.S
+++ b/libc/arch-arm64/syscalls/getrusage.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrusage)
mov x8, __NR_getrusage
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getrusage)
diff --git a/libc/arch-arm64/syscalls/getsid.S b/libc/arch-arm64/syscalls/getsid.S
index 3c3d753..cfbdfdb 100644
--- a/libc/arch-arm64/syscalls/getsid.S
+++ b/libc/arch-arm64/syscalls/getsid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsid)
mov x8, __NR_getsid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getsid)
diff --git a/libc/arch-arm64/syscalls/getsockname.S b/libc/arch-arm64/syscalls/getsockname.S
index a337986..4cca55d 100644
--- a/libc/arch-arm64/syscalls/getsockname.S
+++ b/libc/arch-arm64/syscalls/getsockname.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockname)
mov x8, __NR_getsockname
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getsockname)
diff --git a/libc/arch-arm64/syscalls/getsockopt.S b/libc/arch-arm64/syscalls/getsockopt.S
index 4b3abd5..96b8c0f 100644
--- a/libc/arch-arm64/syscalls/getsockopt.S
+++ b/libc/arch-arm64/syscalls/getsockopt.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockopt)
mov x8, __NR_getsockopt
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getsockopt)
diff --git a/libc/arch-arm64/syscalls/getuid.S b/libc/arch-arm64/syscalls/getuid.S
index a9193c5..ef95ba7 100644
--- a/libc/arch-arm64/syscalls/getuid.S
+++ b/libc/arch-arm64/syscalls/getuid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getuid)
mov x8, __NR_getuid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getuid)
diff --git a/libc/arch-arm64/syscalls/getxattr.S b/libc/arch-arm64/syscalls/getxattr.S
index afa81ef..2b38f3d 100644
--- a/libc/arch-arm64/syscalls/getxattr.S
+++ b/libc/arch-arm64/syscalls/getxattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getxattr)
mov x8, __NR_getxattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(getxattr)
diff --git a/libc/arch-arm64/syscalls/init_module.S b/libc/arch-arm64/syscalls/init_module.S
index bf0f7d3..913c7cc 100644
--- a/libc/arch-arm64/syscalls/init_module.S
+++ b/libc/arch-arm64/syscalls/init_module.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(init_module)
mov x8, __NR_init_module
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(init_module)
diff --git a/libc/arch-arm64/syscalls/inotify_add_watch.S b/libc/arch-arm64/syscalls/inotify_add_watch.S
index dc30ae5..83a5b57 100644
--- a/libc/arch-arm64/syscalls/inotify_add_watch.S
+++ b/libc/arch-arm64/syscalls/inotify_add_watch.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_add_watch)
mov x8, __NR_inotify_add_watch
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(inotify_add_watch)
diff --git a/libc/arch-arm64/syscalls/inotify_init1.S b/libc/arch-arm64/syscalls/inotify_init1.S
index 1b40ef2..d3bc81b 100644
--- a/libc/arch-arm64/syscalls/inotify_init1.S
+++ b/libc/arch-arm64/syscalls/inotify_init1.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_init1)
mov x8, __NR_inotify_init1
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(inotify_init1)
diff --git a/libc/arch-arm64/syscalls/inotify_rm_watch.S b/libc/arch-arm64/syscalls/inotify_rm_watch.S
index 7c99e86..c44445f 100644
--- a/libc/arch-arm64/syscalls/inotify_rm_watch.S
+++ b/libc/arch-arm64/syscalls/inotify_rm_watch.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_rm_watch)
mov x8, __NR_inotify_rm_watch
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(inotify_rm_watch)
diff --git a/libc/arch-arm64/syscalls/kill.S b/libc/arch-arm64/syscalls/kill.S
index e86e3a4..0334ff0 100644
--- a/libc/arch-arm64/syscalls/kill.S
+++ b/libc/arch-arm64/syscalls/kill.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(kill)
mov x8, __NR_kill
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(kill)
diff --git a/libc/arch-arm64/syscalls/klogctl.S b/libc/arch-arm64/syscalls/klogctl.S
index 567db27..625f359 100644
--- a/libc/arch-arm64/syscalls/klogctl.S
+++ b/libc/arch-arm64/syscalls/klogctl.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(klogctl)
mov x8, __NR_syslog
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(klogctl)
diff --git a/libc/arch-arm64/syscalls/lgetxattr.S b/libc/arch-arm64/syscalls/lgetxattr.S
index 187462a..89db206 100644
--- a/libc/arch-arm64/syscalls/lgetxattr.S
+++ b/libc/arch-arm64/syscalls/lgetxattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lgetxattr)
mov x8, __NR_lgetxattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(lgetxattr)
diff --git a/libc/arch-arm64/syscalls/linkat.S b/libc/arch-arm64/syscalls/linkat.S
index 7cfc2e0..62aea3a 100644
--- a/libc/arch-arm64/syscalls/linkat.S
+++ b/libc/arch-arm64/syscalls/linkat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(linkat)
mov x8, __NR_linkat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(linkat)
diff --git a/libc/arch-arm64/syscalls/listen.S b/libc/arch-arm64/syscalls/listen.S
index 028b9bd..ba97be9 100644
--- a/libc/arch-arm64/syscalls/listen.S
+++ b/libc/arch-arm64/syscalls/listen.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listen)
mov x8, __NR_listen
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(listen)
diff --git a/libc/arch-arm64/syscalls/listxattr.S b/libc/arch-arm64/syscalls/listxattr.S
index 335fafe..48208e6 100644
--- a/libc/arch-arm64/syscalls/listxattr.S
+++ b/libc/arch-arm64/syscalls/listxattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listxattr)
mov x8, __NR_listxattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(listxattr)
diff --git a/libc/arch-arm64/syscalls/llistxattr.S b/libc/arch-arm64/syscalls/llistxattr.S
index e796741..ed66005 100644
--- a/libc/arch-arm64/syscalls/llistxattr.S
+++ b/libc/arch-arm64/syscalls/llistxattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(llistxattr)
mov x8, __NR_llistxattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(llistxattr)
diff --git a/libc/arch-arm64/syscalls/lremovexattr.S b/libc/arch-arm64/syscalls/lremovexattr.S
index 9f4c027..b5e51c7 100644
--- a/libc/arch-arm64/syscalls/lremovexattr.S
+++ b/libc/arch-arm64/syscalls/lremovexattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lremovexattr)
mov x8, __NR_lremovexattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(lremovexattr)
diff --git a/libc/arch-arm64/syscalls/lseek.S b/libc/arch-arm64/syscalls/lseek.S
index aa71768..de96df0 100644
--- a/libc/arch-arm64/syscalls/lseek.S
+++ b/libc/arch-arm64/syscalls/lseek.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lseek)
mov x8, __NR_lseek
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(lseek)
diff --git a/libc/arch-arm64/syscalls/lsetxattr.S b/libc/arch-arm64/syscalls/lsetxattr.S
index babf02d..b873513 100644
--- a/libc/arch-arm64/syscalls/lsetxattr.S
+++ b/libc/arch-arm64/syscalls/lsetxattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lsetxattr)
mov x8, __NR_lsetxattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(lsetxattr)
diff --git a/libc/arch-arm64/syscalls/madvise.S b/libc/arch-arm64/syscalls/madvise.S
index 3d393f1..6fced41 100644
--- a/libc/arch-arm64/syscalls/madvise.S
+++ b/libc/arch-arm64/syscalls/madvise.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(madvise)
mov x8, __NR_madvise
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(madvise)
diff --git a/libc/arch-arm64/syscalls/mincore.S b/libc/arch-arm64/syscalls/mincore.S
index 4432574..5781b4c 100644
--- a/libc/arch-arm64/syscalls/mincore.S
+++ b/libc/arch-arm64/syscalls/mincore.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mincore)
mov x8, __NR_mincore
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(mincore)
diff --git a/libc/arch-arm64/syscalls/mkdirat.S b/libc/arch-arm64/syscalls/mkdirat.S
index 36c876d..fa868a2 100644
--- a/libc/arch-arm64/syscalls/mkdirat.S
+++ b/libc/arch-arm64/syscalls/mkdirat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mkdirat)
mov x8, __NR_mkdirat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(mkdirat)
diff --git a/libc/arch-arm64/syscalls/mknodat.S b/libc/arch-arm64/syscalls/mknodat.S
index e0584db..13632ec 100644
--- a/libc/arch-arm64/syscalls/mknodat.S
+++ b/libc/arch-arm64/syscalls/mknodat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mknodat)
mov x8, __NR_mknodat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(mknodat)
diff --git a/libc/arch-arm64/syscalls/mlock.S b/libc/arch-arm64/syscalls/mlock.S
index 10ddb07..1eee85c 100644
--- a/libc/arch-arm64/syscalls/mlock.S
+++ b/libc/arch-arm64/syscalls/mlock.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlock)
mov x8, __NR_mlock
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(mlock)
diff --git a/libc/arch-arm64/syscalls/mlockall.S b/libc/arch-arm64/syscalls/mlockall.S
index 3602d71..d4ca185 100644
--- a/libc/arch-arm64/syscalls/mlockall.S
+++ b/libc/arch-arm64/syscalls/mlockall.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlockall)
mov x8, __NR_mlockall
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(mlockall)
diff --git a/libc/arch-arm64/syscalls/mmap.S b/libc/arch-arm64/syscalls/mmap.S
index e4e39ca..64b955e 100644
--- a/libc/arch-arm64/syscalls/mmap.S
+++ b/libc/arch-arm64/syscalls/mmap.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mmap)
mov x8, __NR_mmap
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(mmap)
diff --git a/libc/arch-arm64/syscalls/mount.S b/libc/arch-arm64/syscalls/mount.S
index 9b53754..cd35017 100644
--- a/libc/arch-arm64/syscalls/mount.S
+++ b/libc/arch-arm64/syscalls/mount.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mount)
mov x8, __NR_mount
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(mount)
diff --git a/libc/arch-arm64/syscalls/mprotect.S b/libc/arch-arm64/syscalls/mprotect.S
index 788d46e..9dd8812 100644
--- a/libc/arch-arm64/syscalls/mprotect.S
+++ b/libc/arch-arm64/syscalls/mprotect.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mprotect)
mov x8, __NR_mprotect
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(mprotect)
diff --git a/libc/arch-arm64/syscalls/mremap.S b/libc/arch-arm64/syscalls/mremap.S
index 861d52a..69b91d6 100644
--- a/libc/arch-arm64/syscalls/mremap.S
+++ b/libc/arch-arm64/syscalls/mremap.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mremap)
mov x8, __NR_mremap
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(mremap)
diff --git a/libc/arch-arm64/syscalls/msync.S b/libc/arch-arm64/syscalls/msync.S
index 009ce18..72387ea 100644
--- a/libc/arch-arm64/syscalls/msync.S
+++ b/libc/arch-arm64/syscalls/msync.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(msync)
mov x8, __NR_msync
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(msync)
diff --git a/libc/arch-arm64/syscalls/munlock.S b/libc/arch-arm64/syscalls/munlock.S
index 45d6d17..d2a248c 100644
--- a/libc/arch-arm64/syscalls/munlock.S
+++ b/libc/arch-arm64/syscalls/munlock.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlock)
mov x8, __NR_munlock
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(munlock)
diff --git a/libc/arch-arm64/syscalls/munlockall.S b/libc/arch-arm64/syscalls/munlockall.S
index 6240622..ac42cb4 100644
--- a/libc/arch-arm64/syscalls/munlockall.S
+++ b/libc/arch-arm64/syscalls/munlockall.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlockall)
mov x8, __NR_munlockall
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(munlockall)
diff --git a/libc/arch-arm64/syscalls/munmap.S b/libc/arch-arm64/syscalls/munmap.S
index 0291268..9d3f6a6 100644
--- a/libc/arch-arm64/syscalls/munmap.S
+++ b/libc/arch-arm64/syscalls/munmap.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munmap)
mov x8, __NR_munmap
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(munmap)
diff --git a/libc/arch-arm64/syscalls/nanosleep.S b/libc/arch-arm64/syscalls/nanosleep.S
index 7496530..d3e6fae 100644
--- a/libc/arch-arm64/syscalls/nanosleep.S
+++ b/libc/arch-arm64/syscalls/nanosleep.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(nanosleep)
mov x8, __NR_nanosleep
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(nanosleep)
diff --git a/libc/arch-arm64/syscalls/personality.S b/libc/arch-arm64/syscalls/personality.S
index 1c6530c..f9f3bf6 100644
--- a/libc/arch-arm64/syscalls/personality.S
+++ b/libc/arch-arm64/syscalls/personality.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(personality)
mov x8, __NR_personality
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(personality)
diff --git a/libc/arch-arm64/syscalls/pipe2.S b/libc/arch-arm64/syscalls/pipe2.S
index 45538d3..89181cd 100644
--- a/libc/arch-arm64/syscalls/pipe2.S
+++ b/libc/arch-arm64/syscalls/pipe2.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pipe2)
mov x8, __NR_pipe2
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(pipe2)
diff --git a/libc/arch-arm64/syscalls/prctl.S b/libc/arch-arm64/syscalls/prctl.S
index ddfe5a6..86f4df5 100644
--- a/libc/arch-arm64/syscalls/prctl.S
+++ b/libc/arch-arm64/syscalls/prctl.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prctl)
mov x8, __NR_prctl
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(prctl)
diff --git a/libc/arch-arm64/syscalls/pread64.S b/libc/arch-arm64/syscalls/pread64.S
index 9c2fb34..eafc044 100644
--- a/libc/arch-arm64/syscalls/pread64.S
+++ b/libc/arch-arm64/syscalls/pread64.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pread64)
mov x8, __NR_pread64
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(pread64)
diff --git a/libc/arch-arm64/syscalls/prlimit64.S b/libc/arch-arm64/syscalls/prlimit64.S
index d3e07b9..2bece99 100644
--- a/libc/arch-arm64/syscalls/prlimit64.S
+++ b/libc/arch-arm64/syscalls/prlimit64.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prlimit64)
mov x8, __NR_prlimit64
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(prlimit64)
diff --git a/libc/arch-arm64/syscalls/pwrite64.S b/libc/arch-arm64/syscalls/pwrite64.S
index 33ae24b..6970954 100644
--- a/libc/arch-arm64/syscalls/pwrite64.S
+++ b/libc/arch-arm64/syscalls/pwrite64.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pwrite64)
mov x8, __NR_pwrite64
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(pwrite64)
diff --git a/libc/arch-arm64/syscalls/read.S b/libc/arch-arm64/syscalls/read.S
index 3440391..ddb88c8 100644
--- a/libc/arch-arm64/syscalls/read.S
+++ b/libc/arch-arm64/syscalls/read.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(read)
mov x8, __NR_read
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(read)
diff --git a/libc/arch-arm64/syscalls/readahead.S b/libc/arch-arm64/syscalls/readahead.S
index 73683f2..445abd4 100644
--- a/libc/arch-arm64/syscalls/readahead.S
+++ b/libc/arch-arm64/syscalls/readahead.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readahead)
mov x8, __NR_readahead
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(readahead)
diff --git a/libc/arch-arm64/syscalls/readlinkat.S b/libc/arch-arm64/syscalls/readlinkat.S
index 1a89d21..62cc9e2 100644
--- a/libc/arch-arm64/syscalls/readlinkat.S
+++ b/libc/arch-arm64/syscalls/readlinkat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readlinkat)
mov x8, __NR_readlinkat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(readlinkat)
diff --git a/libc/arch-arm64/syscalls/readv.S b/libc/arch-arm64/syscalls/readv.S
index b5d154a..6e7f151 100644
--- a/libc/arch-arm64/syscalls/readv.S
+++ b/libc/arch-arm64/syscalls/readv.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readv)
mov x8, __NR_readv
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(readv)
diff --git a/libc/arch-arm64/syscalls/recvfrom.S b/libc/arch-arm64/syscalls/recvfrom.S
index 80bc1aa..aecf165 100644
--- a/libc/arch-arm64/syscalls/recvfrom.S
+++ b/libc/arch-arm64/syscalls/recvfrom.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvfrom)
mov x8, __NR_recvfrom
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(recvfrom)
diff --git a/libc/arch-arm64/syscalls/recvmmsg.S b/libc/arch-arm64/syscalls/recvmmsg.S
index aa69442..b9cae69 100644
--- a/libc/arch-arm64/syscalls/recvmmsg.S
+++ b/libc/arch-arm64/syscalls/recvmmsg.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmmsg)
mov x8, __NR_recvmmsg
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(recvmmsg)
diff --git a/libc/arch-arm64/syscalls/recvmsg.S b/libc/arch-arm64/syscalls/recvmsg.S
index 095e2aa..2dafdc9 100644
--- a/libc/arch-arm64/syscalls/recvmsg.S
+++ b/libc/arch-arm64/syscalls/recvmsg.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmsg)
mov x8, __NR_recvmsg
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(recvmsg)
diff --git a/libc/arch-arm64/syscalls/removexattr.S b/libc/arch-arm64/syscalls/removexattr.S
index f279f01..ede36a6 100644
--- a/libc/arch-arm64/syscalls/removexattr.S
+++ b/libc/arch-arm64/syscalls/removexattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(removexattr)
mov x8, __NR_removexattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(removexattr)
diff --git a/libc/arch-arm64/syscalls/renameat.S b/libc/arch-arm64/syscalls/renameat.S
index 7c308cd..96025df 100644
--- a/libc/arch-arm64/syscalls/renameat.S
+++ b/libc/arch-arm64/syscalls/renameat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(renameat)
mov x8, __NR_renameat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(renameat)
diff --git a/libc/arch-arm64/syscalls/sched_get_priority_max.S b/libc/arch-arm64/syscalls/sched_get_priority_max.S
index e80ce35..c848889 100644
--- a/libc/arch-arm64/syscalls/sched_get_priority_max.S
+++ b/libc/arch-arm64/syscalls/sched_get_priority_max.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_max)
mov x8, __NR_sched_get_priority_max
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sched_get_priority_max)
diff --git a/libc/arch-arm64/syscalls/sched_get_priority_min.S b/libc/arch-arm64/syscalls/sched_get_priority_min.S
index 3f5f487..74b72a2 100644
--- a/libc/arch-arm64/syscalls/sched_get_priority_min.S
+++ b/libc/arch-arm64/syscalls/sched_get_priority_min.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_min)
mov x8, __NR_sched_get_priority_min
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sched_get_priority_min)
diff --git a/libc/arch-arm64/syscalls/sched_getparam.S b/libc/arch-arm64/syscalls/sched_getparam.S
index 1756867..75a32d4 100644
--- a/libc/arch-arm64/syscalls/sched_getparam.S
+++ b/libc/arch-arm64/syscalls/sched_getparam.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getparam)
mov x8, __NR_sched_getparam
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sched_getparam)
diff --git a/libc/arch-arm64/syscalls/sched_getscheduler.S b/libc/arch-arm64/syscalls/sched_getscheduler.S
index 8fa145f..e24baf2 100644
--- a/libc/arch-arm64/syscalls/sched_getscheduler.S
+++ b/libc/arch-arm64/syscalls/sched_getscheduler.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getscheduler)
mov x8, __NR_sched_getscheduler
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sched_getscheduler)
diff --git a/libc/arch-arm64/syscalls/sched_rr_get_interval.S b/libc/arch-arm64/syscalls/sched_rr_get_interval.S
index 7ff393c..2a6936b 100644
--- a/libc/arch-arm64/syscalls/sched_rr_get_interval.S
+++ b/libc/arch-arm64/syscalls/sched_rr_get_interval.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_rr_get_interval)
mov x8, __NR_sched_rr_get_interval
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sched_rr_get_interval)
diff --git a/libc/arch-arm64/syscalls/sched_setaffinity.S b/libc/arch-arm64/syscalls/sched_setaffinity.S
index 2878459..30b58f6 100644
--- a/libc/arch-arm64/syscalls/sched_setaffinity.S
+++ b/libc/arch-arm64/syscalls/sched_setaffinity.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setaffinity)
mov x8, __NR_sched_setaffinity
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sched_setaffinity)
diff --git a/libc/arch-arm64/syscalls/sched_setparam.S b/libc/arch-arm64/syscalls/sched_setparam.S
index 4135606..eaf25ba 100644
--- a/libc/arch-arm64/syscalls/sched_setparam.S
+++ b/libc/arch-arm64/syscalls/sched_setparam.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setparam)
mov x8, __NR_sched_setparam
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sched_setparam)
diff --git a/libc/arch-arm64/syscalls/sched_setscheduler.S b/libc/arch-arm64/syscalls/sched_setscheduler.S
index e8f991c..31d53c4 100644
--- a/libc/arch-arm64/syscalls/sched_setscheduler.S
+++ b/libc/arch-arm64/syscalls/sched_setscheduler.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setscheduler)
mov x8, __NR_sched_setscheduler
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sched_setscheduler)
diff --git a/libc/arch-arm64/syscalls/sched_yield.S b/libc/arch-arm64/syscalls/sched_yield.S
index cd6a978..4cfeeda 100644
--- a/libc/arch-arm64/syscalls/sched_yield.S
+++ b/libc/arch-arm64/syscalls/sched_yield.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_yield)
mov x8, __NR_sched_yield
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sched_yield)
diff --git a/libc/arch-arm64/syscalls/sendfile.S b/libc/arch-arm64/syscalls/sendfile.S
index c579224..17a0d46 100644
--- a/libc/arch-arm64/syscalls/sendfile.S
+++ b/libc/arch-arm64/syscalls/sendfile.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendfile)
mov x8, __NR_sendfile
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sendfile)
diff --git a/libc/arch-arm64/syscalls/sendmmsg.S b/libc/arch-arm64/syscalls/sendmmsg.S
index e9ce811..e91c246 100644
--- a/libc/arch-arm64/syscalls/sendmmsg.S
+++ b/libc/arch-arm64/syscalls/sendmmsg.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmmsg)
mov x8, __NR_sendmmsg
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sendmmsg)
diff --git a/libc/arch-arm64/syscalls/sendmsg.S b/libc/arch-arm64/syscalls/sendmsg.S
index 78c5e68..a343543 100644
--- a/libc/arch-arm64/syscalls/sendmsg.S
+++ b/libc/arch-arm64/syscalls/sendmsg.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmsg)
mov x8, __NR_sendmsg
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sendmsg)
diff --git a/libc/arch-arm64/syscalls/sendto.S b/libc/arch-arm64/syscalls/sendto.S
index a3ef95d..6a6813e 100644
--- a/libc/arch-arm64/syscalls/sendto.S
+++ b/libc/arch-arm64/syscalls/sendto.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendto)
mov x8, __NR_sendto
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sendto)
diff --git a/libc/arch-arm64/syscalls/setfsgid.S b/libc/arch-arm64/syscalls/setfsgid.S
index 4d28536..1a45df3 100644
--- a/libc/arch-arm64/syscalls/setfsgid.S
+++ b/libc/arch-arm64/syscalls/setfsgid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsgid)
mov x8, __NR_setfsgid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setfsgid)
diff --git a/libc/arch-arm64/syscalls/setfsuid.S b/libc/arch-arm64/syscalls/setfsuid.S
index 238bbf8..cd4efd7 100644
--- a/libc/arch-arm64/syscalls/setfsuid.S
+++ b/libc/arch-arm64/syscalls/setfsuid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsuid)
mov x8, __NR_setfsuid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setfsuid)
diff --git a/libc/arch-arm64/syscalls/setgid.S b/libc/arch-arm64/syscalls/setgid.S
index 182ce1f..c128fb9 100644
--- a/libc/arch-arm64/syscalls/setgid.S
+++ b/libc/arch-arm64/syscalls/setgid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgid)
mov x8, __NR_setgid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setgid)
diff --git a/libc/arch-arm64/syscalls/setgroups.S b/libc/arch-arm64/syscalls/setgroups.S
index 2bc5c7f..aedabd6 100644
--- a/libc/arch-arm64/syscalls/setgroups.S
+++ b/libc/arch-arm64/syscalls/setgroups.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgroups)
mov x8, __NR_setgroups
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setgroups)
diff --git a/libc/arch-arm64/syscalls/setitimer.S b/libc/arch-arm64/syscalls/setitimer.S
index 1a5bbb3..7ce8617 100644
--- a/libc/arch-arm64/syscalls/setitimer.S
+++ b/libc/arch-arm64/syscalls/setitimer.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setitimer)
mov x8, __NR_setitimer
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setitimer)
diff --git a/libc/arch-arm64/syscalls/setns.S b/libc/arch-arm64/syscalls/setns.S
index 68c32da..386e8f4 100644
--- a/libc/arch-arm64/syscalls/setns.S
+++ b/libc/arch-arm64/syscalls/setns.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setns)
mov x8, __NR_setns
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setns)
diff --git a/libc/arch-arm64/syscalls/setpgid.S b/libc/arch-arm64/syscalls/setpgid.S
index 890d354..458c88b 100644
--- a/libc/arch-arm64/syscalls/setpgid.S
+++ b/libc/arch-arm64/syscalls/setpgid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpgid)
mov x8, __NR_setpgid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setpgid)
diff --git a/libc/arch-arm64/syscalls/setpriority.S b/libc/arch-arm64/syscalls/setpriority.S
index 17550ea..ed58f26 100644
--- a/libc/arch-arm64/syscalls/setpriority.S
+++ b/libc/arch-arm64/syscalls/setpriority.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpriority)
mov x8, __NR_setpriority
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setpriority)
diff --git a/libc/arch-arm64/syscalls/setregid.S b/libc/arch-arm64/syscalls/setregid.S
index aa351a8..30d902d 100644
--- a/libc/arch-arm64/syscalls/setregid.S
+++ b/libc/arch-arm64/syscalls/setregid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setregid)
mov x8, __NR_setregid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setregid)
diff --git a/libc/arch-arm64/syscalls/setresgid.S b/libc/arch-arm64/syscalls/setresgid.S
index 517e59e..f56e6ce 100644
--- a/libc/arch-arm64/syscalls/setresgid.S
+++ b/libc/arch-arm64/syscalls/setresgid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresgid)
mov x8, __NR_setresgid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setresgid)
diff --git a/libc/arch-arm64/syscalls/setresuid.S b/libc/arch-arm64/syscalls/setresuid.S
index 6829cef..d5c5cc6 100644
--- a/libc/arch-arm64/syscalls/setresuid.S
+++ b/libc/arch-arm64/syscalls/setresuid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresuid)
mov x8, __NR_setresuid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setresuid)
diff --git a/libc/arch-arm64/syscalls/setreuid.S b/libc/arch-arm64/syscalls/setreuid.S
index af342ef..e76c72e 100644
--- a/libc/arch-arm64/syscalls/setreuid.S
+++ b/libc/arch-arm64/syscalls/setreuid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setreuid)
mov x8, __NR_setreuid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setreuid)
diff --git a/libc/arch-arm64/syscalls/setrlimit.S b/libc/arch-arm64/syscalls/setrlimit.S
index 4401984..6cb6b98 100644
--- a/libc/arch-arm64/syscalls/setrlimit.S
+++ b/libc/arch-arm64/syscalls/setrlimit.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setrlimit)
mov x8, __NR_setrlimit
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setrlimit)
diff --git a/libc/arch-arm64/syscalls/setsid.S b/libc/arch-arm64/syscalls/setsid.S
index 64c76f2..1bb4cc7 100644
--- a/libc/arch-arm64/syscalls/setsid.S
+++ b/libc/arch-arm64/syscalls/setsid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsid)
mov x8, __NR_setsid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setsid)
diff --git a/libc/arch-arm64/syscalls/setsockopt.S b/libc/arch-arm64/syscalls/setsockopt.S
index 51af847..14b0136 100644
--- a/libc/arch-arm64/syscalls/setsockopt.S
+++ b/libc/arch-arm64/syscalls/setsockopt.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsockopt)
mov x8, __NR_setsockopt
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setsockopt)
diff --git a/libc/arch-arm64/syscalls/settimeofday.S b/libc/arch-arm64/syscalls/settimeofday.S
index 357998c..4f0a078 100644
--- a/libc/arch-arm64/syscalls/settimeofday.S
+++ b/libc/arch-arm64/syscalls/settimeofday.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(settimeofday)
mov x8, __NR_settimeofday
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(settimeofday)
diff --git a/libc/arch-arm64/syscalls/setuid.S b/libc/arch-arm64/syscalls/setuid.S
index ad42434..5500dd6 100644
--- a/libc/arch-arm64/syscalls/setuid.S
+++ b/libc/arch-arm64/syscalls/setuid.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setuid)
mov x8, __NR_setuid
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setuid)
diff --git a/libc/arch-arm64/syscalls/setxattr.S b/libc/arch-arm64/syscalls/setxattr.S
index cde2d5f..5ba9e3c 100644
--- a/libc/arch-arm64/syscalls/setxattr.S
+++ b/libc/arch-arm64/syscalls/setxattr.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setxattr)
mov x8, __NR_setxattr
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(setxattr)
diff --git a/libc/arch-arm64/syscalls/shutdown.S b/libc/arch-arm64/syscalls/shutdown.S
index 4813647..ab067fa 100644
--- a/libc/arch-arm64/syscalls/shutdown.S
+++ b/libc/arch-arm64/syscalls/shutdown.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(shutdown)
mov x8, __NR_shutdown
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(shutdown)
diff --git a/libc/arch-arm64/syscalls/sigaltstack.S b/libc/arch-arm64/syscalls/sigaltstack.S
index 74f7e50..a9cbcaf 100644
--- a/libc/arch-arm64/syscalls/sigaltstack.S
+++ b/libc/arch-arm64/syscalls/sigaltstack.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sigaltstack)
mov x8, __NR_sigaltstack
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sigaltstack)
diff --git a/libc/arch-arm64/syscalls/socketpair.S b/libc/arch-arm64/syscalls/socketpair.S
index ec2a3d2..bd70dac 100644
--- a/libc/arch-arm64/syscalls/socketpair.S
+++ b/libc/arch-arm64/syscalls/socketpair.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(socketpair)
mov x8, __NR_socketpair
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(socketpair)
diff --git a/libc/arch-arm64/syscalls/splice.S b/libc/arch-arm64/syscalls/splice.S
index 30443a8..a5450d9 100644
--- a/libc/arch-arm64/syscalls/splice.S
+++ b/libc/arch-arm64/syscalls/splice.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(splice)
mov x8, __NR_splice
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(splice)
diff --git a/libc/arch-arm64/syscalls/statfs64.S b/libc/arch-arm64/syscalls/statfs64.S
index 00b32e7..ec8c588 100644
--- a/libc/arch-arm64/syscalls/statfs64.S
+++ b/libc/arch-arm64/syscalls/statfs64.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(statfs64)
mov x8, __NR_statfs
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(statfs64)
diff --git a/libc/arch-arm64/syscalls/swapoff.S b/libc/arch-arm64/syscalls/swapoff.S
index 54dabb5..0103bd7 100644
--- a/libc/arch-arm64/syscalls/swapoff.S
+++ b/libc/arch-arm64/syscalls/swapoff.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapoff)
mov x8, __NR_swapoff
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(swapoff)
diff --git a/libc/arch-arm64/syscalls/swapon.S b/libc/arch-arm64/syscalls/swapon.S
index 952252f..560c960 100644
--- a/libc/arch-arm64/syscalls/swapon.S
+++ b/libc/arch-arm64/syscalls/swapon.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapon)
mov x8, __NR_swapon
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(swapon)
diff --git a/libc/arch-arm64/syscalls/symlinkat.S b/libc/arch-arm64/syscalls/symlinkat.S
index 27f9334..4a4ea27 100644
--- a/libc/arch-arm64/syscalls/symlinkat.S
+++ b/libc/arch-arm64/syscalls/symlinkat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(symlinkat)
mov x8, __NR_symlinkat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(symlinkat)
diff --git a/libc/arch-arm64/syscalls/sync.S b/libc/arch-arm64/syscalls/sync.S
index 622b028..d285d43 100644
--- a/libc/arch-arm64/syscalls/sync.S
+++ b/libc/arch-arm64/syscalls/sync.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sync)
mov x8, __NR_sync
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sync)
diff --git a/libc/arch-arm64/syscalls/sysinfo.S b/libc/arch-arm64/syscalls/sysinfo.S
index 81d8a94..80a8641 100644
--- a/libc/arch-arm64/syscalls/sysinfo.S
+++ b/libc/arch-arm64/syscalls/sysinfo.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sysinfo)
mov x8, __NR_sysinfo
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(sysinfo)
diff --git a/libc/arch-arm64/syscalls/tee.S b/libc/arch-arm64/syscalls/tee.S
index cb317aa..d7baa26 100644
--- a/libc/arch-arm64/syscalls/tee.S
+++ b/libc/arch-arm64/syscalls/tee.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tee)
mov x8, __NR_tee
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(tee)
diff --git a/libc/arch-arm64/syscalls/tgkill.S b/libc/arch-arm64/syscalls/tgkill.S
index 908811d..fd9ec3b 100644
--- a/libc/arch-arm64/syscalls/tgkill.S
+++ b/libc/arch-arm64/syscalls/tgkill.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tgkill)
mov x8, __NR_tgkill
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(tgkill)
diff --git a/libc/arch-arm64/syscalls/timerfd_create.S b/libc/arch-arm64/syscalls/timerfd_create.S
index 5487492..ee805fd 100644
--- a/libc/arch-arm64/syscalls/timerfd_create.S
+++ b/libc/arch-arm64/syscalls/timerfd_create.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_create)
mov x8, __NR_timerfd_create
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(timerfd_create)
diff --git a/libc/arch-arm64/syscalls/timerfd_gettime.S b/libc/arch-arm64/syscalls/timerfd_gettime.S
index 1c5151f..4d5e2f9 100644
--- a/libc/arch-arm64/syscalls/timerfd_gettime.S
+++ b/libc/arch-arm64/syscalls/timerfd_gettime.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_gettime)
mov x8, __NR_timerfd_gettime
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(timerfd_gettime)
diff --git a/libc/arch-arm64/syscalls/timerfd_settime.S b/libc/arch-arm64/syscalls/timerfd_settime.S
index edd81fac..e925a0c 100644
--- a/libc/arch-arm64/syscalls/timerfd_settime.S
+++ b/libc/arch-arm64/syscalls/timerfd_settime.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_settime)
mov x8, __NR_timerfd_settime
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(timerfd_settime)
diff --git a/libc/arch-arm64/syscalls/times.S b/libc/arch-arm64/syscalls/times.S
index 5541732..d7b9c74 100644
--- a/libc/arch-arm64/syscalls/times.S
+++ b/libc/arch-arm64/syscalls/times.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(times)
mov x8, __NR_times
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(times)
diff --git a/libc/arch-arm64/syscalls/truncate.S b/libc/arch-arm64/syscalls/truncate.S
index be5765c..0e5a33e 100644
--- a/libc/arch-arm64/syscalls/truncate.S
+++ b/libc/arch-arm64/syscalls/truncate.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(truncate)
mov x8, __NR_truncate
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(truncate)
diff --git a/libc/arch-arm64/syscalls/umask.S b/libc/arch-arm64/syscalls/umask.S
index c605b8f..0d71fa6 100644
--- a/libc/arch-arm64/syscalls/umask.S
+++ b/libc/arch-arm64/syscalls/umask.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umask)
mov x8, __NR_umask
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(umask)
diff --git a/libc/arch-arm64/syscalls/umount2.S b/libc/arch-arm64/syscalls/umount2.S
index 73ed330..c25344e 100644
--- a/libc/arch-arm64/syscalls/umount2.S
+++ b/libc/arch-arm64/syscalls/umount2.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umount2)
mov x8, __NR_umount2
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(umount2)
diff --git a/libc/arch-arm64/syscalls/uname.S b/libc/arch-arm64/syscalls/uname.S
index 4d52190..dfdcc03 100644
--- a/libc/arch-arm64/syscalls/uname.S
+++ b/libc/arch-arm64/syscalls/uname.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(uname)
mov x8, __NR_uname
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(uname)
diff --git a/libc/arch-arm64/syscalls/unlinkat.S b/libc/arch-arm64/syscalls/unlinkat.S
index 8fde96e..b1eba63 100644
--- a/libc/arch-arm64/syscalls/unlinkat.S
+++ b/libc/arch-arm64/syscalls/unlinkat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unlinkat)
mov x8, __NR_unlinkat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(unlinkat)
diff --git a/libc/arch-arm64/syscalls/unshare.S b/libc/arch-arm64/syscalls/unshare.S
index ba960e2..74f5663 100644
--- a/libc/arch-arm64/syscalls/unshare.S
+++ b/libc/arch-arm64/syscalls/unshare.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unshare)
mov x8, __NR_unshare
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(unshare)
diff --git a/libc/arch-arm64/syscalls/utimensat.S b/libc/arch-arm64/syscalls/utimensat.S
index 9e4b1ca..b8c6b04 100644
--- a/libc/arch-arm64/syscalls/utimensat.S
+++ b/libc/arch-arm64/syscalls/utimensat.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(utimensat)
mov x8, __NR_utimensat
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(utimensat)
diff --git a/libc/arch-arm64/syscalls/vmsplice.S b/libc/arch-arm64/syscalls/vmsplice.S
index 6a13c5b..9490efb 100644
--- a/libc/arch-arm64/syscalls/vmsplice.S
+++ b/libc/arch-arm64/syscalls/vmsplice.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(vmsplice)
mov x8, __NR_vmsplice
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(vmsplice)
diff --git a/libc/arch-arm64/syscalls/wait4.S b/libc/arch-arm64/syscalls/wait4.S
index f2bcd34..12973b8 100644
--- a/libc/arch-arm64/syscalls/wait4.S
+++ b/libc/arch-arm64/syscalls/wait4.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(wait4)
mov x8, __NR_wait4
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(wait4)
diff --git a/libc/arch-arm64/syscalls/write.S b/libc/arch-arm64/syscalls/write.S
index 1fedabe..e8c3270 100644
--- a/libc/arch-arm64/syscalls/write.S
+++ b/libc/arch-arm64/syscalls/write.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(write)
mov x8, __NR_write
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(write)
diff --git a/libc/arch-arm64/syscalls/writev.S b/libc/arch-arm64/syscalls/writev.S
index 9942ddb..baaffda 100644
--- a/libc/arch-arm64/syscalls/writev.S
+++ b/libc/arch-arm64/syscalls/writev.S
@@ -2,15 +2,13 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(writev)
mov x8, __NR_writev
svc #0
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(writev)
diff --git a/libc/arch-mips/bionic/__bionic_clone.S b/libc/arch-mips/bionic/__bionic_clone.S
index 4b4498d..b216efe 100644
--- a/libc/arch-mips/bionic/__bionic_clone.S
+++ b/libc/arch-mips/bionic/__bionic_clone.S
@@ -66,7 +66,7 @@ ENTRY(__bionic_clone)
.L__error_bc:
move a0,v0
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
END(__bionic_clone)
.hidden __bionic_clone
diff --git a/libc/arch-mips/bionic/syscall.S b/libc/arch-mips/bionic/syscall.S
index db477a5..5fed0ac 100644
--- a/libc/arch-mips/bionic/syscall.S
+++ b/libc/arch-mips/bionic/syscall.S
@@ -54,7 +54,7 @@ ENTRY(syscall)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/bionic/vfork.S b/libc/arch-mips/bionic/vfork.S
index 96de69e..1849624 100644
--- a/libc/arch-mips/bionic/vfork.S
+++ b/libc/arch-mips/bionic/vfork.S
@@ -52,7 +52,7 @@ ENTRY(vfork)
j ra
nop
1:
- la t9, __set_errno
+ la t9, __set_errno_internal
j t9
nop
END(vfork)
diff --git a/libc/arch-mips/syscalls/__accept4.S b/libc/arch-mips/syscalls/__accept4.S
index 2fc8b2a..72df04f 100644
--- a/libc/arch-mips/syscalls/__accept4.S
+++ b/libc/arch-mips/syscalls/__accept4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__accept4)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__accept4)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__brk.S b/libc/arch-mips/syscalls/__brk.S
index 0593b4f..8472663 100644
--- a/libc/arch-mips/syscalls/__brk.S
+++ b/libc/arch-mips/syscalls/__brk.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__brk)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__brk)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__connect.S b/libc/arch-mips/syscalls/__connect.S
index 20f60e4..38c1b9b 100644
--- a/libc/arch-mips/syscalls/__connect.S
+++ b/libc/arch-mips/syscalls/__connect.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__connect)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__connect)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__epoll_pwait.S b/libc/arch-mips/syscalls/__epoll_pwait.S
index 3e735f1..3aed9bc 100644
--- a/libc/arch-mips/syscalls/__epoll_pwait.S
+++ b/libc/arch-mips/syscalls/__epoll_pwait.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__epoll_pwait)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__epoll_pwait)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__exit.S b/libc/arch-mips/syscalls/__exit.S
index 40c2f87..7349804 100644
--- a/libc/arch-mips/syscalls/__exit.S
+++ b/libc/arch-mips/syscalls/__exit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__exit)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__exit)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__fcntl64.S b/libc/arch-mips/syscalls/__fcntl64.S
index b541edd..2734be2 100644
--- a/libc/arch-mips/syscalls/__fcntl64.S
+++ b/libc/arch-mips/syscalls/__fcntl64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__fcntl64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__fcntl64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__fstatfs64.S b/libc/arch-mips/syscalls/__fstatfs64.S
index d1d68ab..e08cf7e 100644
--- a/libc/arch-mips/syscalls/__fstatfs64.S
+++ b/libc/arch-mips/syscalls/__fstatfs64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__fstatfs64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__fstatfs64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__getcpu.S b/libc/arch-mips/syscalls/__getcpu.S
index ab3acca..262f440 100644
--- a/libc/arch-mips/syscalls/__getcpu.S
+++ b/libc/arch-mips/syscalls/__getcpu.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcpu)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__getcpu)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__getcwd.S b/libc/arch-mips/syscalls/__getcwd.S
index af1c494..ca6ec7c 100644
--- a/libc/arch-mips/syscalls/__getcwd.S
+++ b/libc/arch-mips/syscalls/__getcwd.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcwd)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__getcwd)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__getdents64.S b/libc/arch-mips/syscalls/__getdents64.S
index e88c6df..fe7ef86 100644
--- a/libc/arch-mips/syscalls/__getdents64.S
+++ b/libc/arch-mips/syscalls/__getdents64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getdents64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__getdents64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__getpid.S b/libc/arch-mips/syscalls/__getpid.S
index d20188b..f5ab049 100644
--- a/libc/arch-mips/syscalls/__getpid.S
+++ b/libc/arch-mips/syscalls/__getpid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__getpid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__getpriority.S b/libc/arch-mips/syscalls/__getpriority.S
index bc1efb3..ef6235d 100644
--- a/libc/arch-mips/syscalls/__getpriority.S
+++ b/libc/arch-mips/syscalls/__getpriority.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpriority)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__getpriority)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__ioctl.S b/libc/arch-mips/syscalls/__ioctl.S
index 28af834..27716e8 100644
--- a/libc/arch-mips/syscalls/__ioctl.S
+++ b/libc/arch-mips/syscalls/__ioctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ioctl)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__ioctl)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__llseek.S b/libc/arch-mips/syscalls/__llseek.S
index 81cf459..e0cb321 100644
--- a/libc/arch-mips/syscalls/__llseek.S
+++ b/libc/arch-mips/syscalls/__llseek.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__llseek)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__llseek)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__mmap2.S b/libc/arch-mips/syscalls/__mmap2.S
index e6022c3..8175b31 100644
--- a/libc/arch-mips/syscalls/__mmap2.S
+++ b/libc/arch-mips/syscalls/__mmap2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__mmap2)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__mmap2)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__openat.S b/libc/arch-mips/syscalls/__openat.S
index 0482b5a..c0c3cdf 100644
--- a/libc/arch-mips/syscalls/__openat.S
+++ b/libc/arch-mips/syscalls/__openat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__openat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__openat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__ppoll.S b/libc/arch-mips/syscalls/__ppoll.S
index 7cd29f6..75dbbc8 100644
--- a/libc/arch-mips/syscalls/__ppoll.S
+++ b/libc/arch-mips/syscalls/__ppoll.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ppoll)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__ppoll)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__pselect6.S b/libc/arch-mips/syscalls/__pselect6.S
index b4279b8..d028156 100644
--- a/libc/arch-mips/syscalls/__pselect6.S
+++ b/libc/arch-mips/syscalls/__pselect6.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__pselect6)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__pselect6)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__ptrace.S b/libc/arch-mips/syscalls/__ptrace.S
index 07dcd8f..c5d91fb 100644
--- a/libc/arch-mips/syscalls/__ptrace.S
+++ b/libc/arch-mips/syscalls/__ptrace.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ptrace)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__ptrace)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__reboot.S b/libc/arch-mips/syscalls/__reboot.S
index 3a0a70b..c01f7fb 100644
--- a/libc/arch-mips/syscalls/__reboot.S
+++ b/libc/arch-mips/syscalls/__reboot.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__reboot)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__reboot)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__rt_sigaction.S b/libc/arch-mips/syscalls/__rt_sigaction.S
index 858a241..7fa37fd 100644
--- a/libc/arch-mips/syscalls/__rt_sigaction.S
+++ b/libc/arch-mips/syscalls/__rt_sigaction.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigaction)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__rt_sigaction)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__rt_sigpending.S b/libc/arch-mips/syscalls/__rt_sigpending.S
index 484da4f..b80b311 100644
--- a/libc/arch-mips/syscalls/__rt_sigpending.S
+++ b/libc/arch-mips/syscalls/__rt_sigpending.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigpending)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__rt_sigpending)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__rt_sigprocmask.S b/libc/arch-mips/syscalls/__rt_sigprocmask.S
index 5e61f52..e2a39eb 100644
--- a/libc/arch-mips/syscalls/__rt_sigprocmask.S
+++ b/libc/arch-mips/syscalls/__rt_sigprocmask.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigprocmask)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__rt_sigprocmask)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__rt_sigsuspend.S b/libc/arch-mips/syscalls/__rt_sigsuspend.S
index d128caa..e91c53f 100644
--- a/libc/arch-mips/syscalls/__rt_sigsuspend.S
+++ b/libc/arch-mips/syscalls/__rt_sigsuspend.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigsuspend)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__rt_sigsuspend)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__rt_sigtimedwait.S b/libc/arch-mips/syscalls/__rt_sigtimedwait.S
index 7e70660..0b4195f 100644
--- a/libc/arch-mips/syscalls/__rt_sigtimedwait.S
+++ b/libc/arch-mips/syscalls/__rt_sigtimedwait.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigtimedwait)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__rt_sigtimedwait)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__sched_getaffinity.S b/libc/arch-mips/syscalls/__sched_getaffinity.S
index f83b7ba..b09f404 100644
--- a/libc/arch-mips/syscalls/__sched_getaffinity.S
+++ b/libc/arch-mips/syscalls/__sched_getaffinity.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__sched_getaffinity)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__sched_getaffinity)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__set_tid_address.S b/libc/arch-mips/syscalls/__set_tid_address.S
index 7ec0f63..8ca0716 100644
--- a/libc/arch-mips/syscalls/__set_tid_address.S
+++ b/libc/arch-mips/syscalls/__set_tid_address.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__set_tid_address)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__set_tid_address)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__set_tls.S b/libc/arch-mips/syscalls/__set_tls.S
index bb2fa6d..1f9eba5 100644
--- a/libc/arch-mips/syscalls/__set_tls.S
+++ b/libc/arch-mips/syscalls/__set_tls.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__set_tls)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__set_tls)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__sigaction.S b/libc/arch-mips/syscalls/__sigaction.S
index 03eb582..0886e95 100644
--- a/libc/arch-mips/syscalls/__sigaction.S
+++ b/libc/arch-mips/syscalls/__sigaction.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__sigaction)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__sigaction)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__signalfd4.S b/libc/arch-mips/syscalls/__signalfd4.S
index 9b191c2..8e5717e 100644
--- a/libc/arch-mips/syscalls/__signalfd4.S
+++ b/libc/arch-mips/syscalls/__signalfd4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__signalfd4)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__signalfd4)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__socket.S b/libc/arch-mips/syscalls/__socket.S
index 9e9a926..c933355 100644
--- a/libc/arch-mips/syscalls/__socket.S
+++ b/libc/arch-mips/syscalls/__socket.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__socket)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__socket)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__statfs64.S b/libc/arch-mips/syscalls/__statfs64.S
index 5017e96..ed4dcdb 100644
--- a/libc/arch-mips/syscalls/__statfs64.S
+++ b/libc/arch-mips/syscalls/__statfs64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__statfs64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__statfs64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__timer_create.S b/libc/arch-mips/syscalls/__timer_create.S
index 81cc8c4..ef50749 100644
--- a/libc/arch-mips/syscalls/__timer_create.S
+++ b/libc/arch-mips/syscalls/__timer_create.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_create)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__timer_create)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__timer_delete.S b/libc/arch-mips/syscalls/__timer_delete.S
index fddb703..5993ace 100644
--- a/libc/arch-mips/syscalls/__timer_delete.S
+++ b/libc/arch-mips/syscalls/__timer_delete.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_delete)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__timer_delete)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__timer_getoverrun.S b/libc/arch-mips/syscalls/__timer_getoverrun.S
index 3a7313d..31234e5 100644
--- a/libc/arch-mips/syscalls/__timer_getoverrun.S
+++ b/libc/arch-mips/syscalls/__timer_getoverrun.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_getoverrun)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__timer_getoverrun)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__timer_gettime.S b/libc/arch-mips/syscalls/__timer_gettime.S
index 7b9bed7..38800d3 100644
--- a/libc/arch-mips/syscalls/__timer_gettime.S
+++ b/libc/arch-mips/syscalls/__timer_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_gettime)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__timer_gettime)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__timer_settime.S b/libc/arch-mips/syscalls/__timer_settime.S
index b1198de..73cea73 100644
--- a/libc/arch-mips/syscalls/__timer_settime.S
+++ b/libc/arch-mips/syscalls/__timer_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_settime)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__timer_settime)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/__waitid.S b/libc/arch-mips/syscalls/__waitid.S
index e60da7f..9d17f8f 100644
--- a/libc/arch-mips/syscalls/__waitid.S
+++ b/libc/arch-mips/syscalls/__waitid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__waitid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(__waitid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/_exit.S b/libc/arch-mips/syscalls/_exit.S
index ae1d61f..5ac1324 100644
--- a/libc/arch-mips/syscalls/_exit.S
+++ b/libc/arch-mips/syscalls/_exit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(_exit)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(_exit)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/_flush_cache.S b/libc/arch-mips/syscalls/_flush_cache.S
index 0074578..a4030e9 100644
--- a/libc/arch-mips/syscalls/_flush_cache.S
+++ b/libc/arch-mips/syscalls/_flush_cache.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(_flush_cache)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(_flush_cache)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/acct.S b/libc/arch-mips/syscalls/acct.S
index 29a7119..e3a5ccd 100644
--- a/libc/arch-mips/syscalls/acct.S
+++ b/libc/arch-mips/syscalls/acct.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(acct)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(acct)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/bind.S b/libc/arch-mips/syscalls/bind.S
index 6d92fd0..78fe2bb 100644
--- a/libc/arch-mips/syscalls/bind.S
+++ b/libc/arch-mips/syscalls/bind.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(bind)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(bind)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/capget.S b/libc/arch-mips/syscalls/capget.S
index de76fa3..0cbb626 100644
--- a/libc/arch-mips/syscalls/capget.S
+++ b/libc/arch-mips/syscalls/capget.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capget)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(capget)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/capset.S b/libc/arch-mips/syscalls/capset.S
index 77fb3a7..e811080 100644
--- a/libc/arch-mips/syscalls/capset.S
+++ b/libc/arch-mips/syscalls/capset.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capset)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(capset)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/chdir.S b/libc/arch-mips/syscalls/chdir.S
index 2668d69..82b7a2b 100644
--- a/libc/arch-mips/syscalls/chdir.S
+++ b/libc/arch-mips/syscalls/chdir.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chdir)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(chdir)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/chroot.S b/libc/arch-mips/syscalls/chroot.S
index d804c4f..e6a29fc 100644
--- a/libc/arch-mips/syscalls/chroot.S
+++ b/libc/arch-mips/syscalls/chroot.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chroot)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(chroot)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/clock_getres.S b/libc/arch-mips/syscalls/clock_getres.S
index 5219b32..ac7c5c6 100644
--- a/libc/arch-mips/syscalls/clock_getres.S
+++ b/libc/arch-mips/syscalls/clock_getres.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_getres)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(clock_getres)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/clock_gettime.S b/libc/arch-mips/syscalls/clock_gettime.S
index 32120b1..d227a06 100644
--- a/libc/arch-mips/syscalls/clock_gettime.S
+++ b/libc/arch-mips/syscalls/clock_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_gettime)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(clock_gettime)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/clock_nanosleep.S b/libc/arch-mips/syscalls/clock_nanosleep.S
index 01bab5a..6002ab4 100644
--- a/libc/arch-mips/syscalls/clock_nanosleep.S
+++ b/libc/arch-mips/syscalls/clock_nanosleep.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_nanosleep)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(clock_nanosleep)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/clock_settime.S b/libc/arch-mips/syscalls/clock_settime.S
index 6b642a1..193bdc2 100644
--- a/libc/arch-mips/syscalls/clock_settime.S
+++ b/libc/arch-mips/syscalls/clock_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_settime)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(clock_settime)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/close.S b/libc/arch-mips/syscalls/close.S
index 4e3ab67..231f497 100644
--- a/libc/arch-mips/syscalls/close.S
+++ b/libc/arch-mips/syscalls/close.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(close)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(close)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/delete_module.S b/libc/arch-mips/syscalls/delete_module.S
index 5c84930..8c01c06 100644
--- a/libc/arch-mips/syscalls/delete_module.S
+++ b/libc/arch-mips/syscalls/delete_module.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(delete_module)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(delete_module)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/dup.S b/libc/arch-mips/syscalls/dup.S
index 6969553..b4dcd70 100644
--- a/libc/arch-mips/syscalls/dup.S
+++ b/libc/arch-mips/syscalls/dup.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(dup)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/dup3.S b/libc/arch-mips/syscalls/dup3.S
index 39e403d..1d9c236 100644
--- a/libc/arch-mips/syscalls/dup3.S
+++ b/libc/arch-mips/syscalls/dup3.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup3)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(dup3)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/epoll_create1.S b/libc/arch-mips/syscalls/epoll_create1.S
index 6feb715..8754879 100644
--- a/libc/arch-mips/syscalls/epoll_create1.S
+++ b/libc/arch-mips/syscalls/epoll_create1.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_create1)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(epoll_create1)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/epoll_ctl.S b/libc/arch-mips/syscalls/epoll_ctl.S
index 4517ea1..14c9202 100644
--- a/libc/arch-mips/syscalls/epoll_ctl.S
+++ b/libc/arch-mips/syscalls/epoll_ctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_ctl)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(epoll_ctl)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/eventfd.S b/libc/arch-mips/syscalls/eventfd.S
index 167a851..6494dbc 100644
--- a/libc/arch-mips/syscalls/eventfd.S
+++ b/libc/arch-mips/syscalls/eventfd.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(eventfd)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(eventfd)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/execve.S b/libc/arch-mips/syscalls/execve.S
index e6f3af6..2d20b51 100644
--- a/libc/arch-mips/syscalls/execve.S
+++ b/libc/arch-mips/syscalls/execve.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(execve)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(execve)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/faccessat.S b/libc/arch-mips/syscalls/faccessat.S
index 3bf7717..e616106 100644
--- a/libc/arch-mips/syscalls/faccessat.S
+++ b/libc/arch-mips/syscalls/faccessat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(faccessat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(faccessat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fallocate64.S b/libc/arch-mips/syscalls/fallocate64.S
index 5395c6f..5f05513 100644
--- a/libc/arch-mips/syscalls/fallocate64.S
+++ b/libc/arch-mips/syscalls/fallocate64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fallocate64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fallocate64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fchdir.S b/libc/arch-mips/syscalls/fchdir.S
index 4a5c1e3..d683baa 100644
--- a/libc/arch-mips/syscalls/fchdir.S
+++ b/libc/arch-mips/syscalls/fchdir.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchdir)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fchdir)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fchmod.S b/libc/arch-mips/syscalls/fchmod.S
index 78dc3f7..2a95cc3 100644
--- a/libc/arch-mips/syscalls/fchmod.S
+++ b/libc/arch-mips/syscalls/fchmod.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmod)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fchmod)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fchmodat.S b/libc/arch-mips/syscalls/fchmodat.S
index ebc3a74..d9de036 100644
--- a/libc/arch-mips/syscalls/fchmodat.S
+++ b/libc/arch-mips/syscalls/fchmodat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmodat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fchmodat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fchown.S b/libc/arch-mips/syscalls/fchown.S
index 74956e0..1ac9451 100644
--- a/libc/arch-mips/syscalls/fchown.S
+++ b/libc/arch-mips/syscalls/fchown.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchown)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fchown)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fchownat.S b/libc/arch-mips/syscalls/fchownat.S
index 54d1fde..be1a021 100644
--- a/libc/arch-mips/syscalls/fchownat.S
+++ b/libc/arch-mips/syscalls/fchownat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchownat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fchownat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fdatasync.S b/libc/arch-mips/syscalls/fdatasync.S
index f2d1b1f..24d6541 100644
--- a/libc/arch-mips/syscalls/fdatasync.S
+++ b/libc/arch-mips/syscalls/fdatasync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fdatasync)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fdatasync)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fgetxattr.S b/libc/arch-mips/syscalls/fgetxattr.S
index 096cd97..6516feb 100644
--- a/libc/arch-mips/syscalls/fgetxattr.S
+++ b/libc/arch-mips/syscalls/fgetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fgetxattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fgetxattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/flistxattr.S b/libc/arch-mips/syscalls/flistxattr.S
index b577e57..0b71532 100644
--- a/libc/arch-mips/syscalls/flistxattr.S
+++ b/libc/arch-mips/syscalls/flistxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flistxattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(flistxattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/flock.S b/libc/arch-mips/syscalls/flock.S
index 87e9e04..8d70c9e 100644
--- a/libc/arch-mips/syscalls/flock.S
+++ b/libc/arch-mips/syscalls/flock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flock)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(flock)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fremovexattr.S b/libc/arch-mips/syscalls/fremovexattr.S
index 8f7e74e..fba2d6d 100644
--- a/libc/arch-mips/syscalls/fremovexattr.S
+++ b/libc/arch-mips/syscalls/fremovexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fremovexattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fremovexattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fsetxattr.S b/libc/arch-mips/syscalls/fsetxattr.S
index e9a3490..663c0df 100644
--- a/libc/arch-mips/syscalls/fsetxattr.S
+++ b/libc/arch-mips/syscalls/fsetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsetxattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fsetxattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fstat64.S b/libc/arch-mips/syscalls/fstat64.S
index c6d2a32..525c23c 100644
--- a/libc/arch-mips/syscalls/fstat64.S
+++ b/libc/arch-mips/syscalls/fstat64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstat64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fstat64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fstatat64.S b/libc/arch-mips/syscalls/fstatat64.S
index 2418b02..f7b8e1d 100644
--- a/libc/arch-mips/syscalls/fstatat64.S
+++ b/libc/arch-mips/syscalls/fstatat64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstatat64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fstatat64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/fsync.S b/libc/arch-mips/syscalls/fsync.S
index c5528dc..819f0f2 100644
--- a/libc/arch-mips/syscalls/fsync.S
+++ b/libc/arch-mips/syscalls/fsync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsync)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(fsync)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/ftruncate.S b/libc/arch-mips/syscalls/ftruncate.S
index dfd57a9..0589c81 100644
--- a/libc/arch-mips/syscalls/ftruncate.S
+++ b/libc/arch-mips/syscalls/ftruncate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(ftruncate)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(ftruncate)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/ftruncate64.S b/libc/arch-mips/syscalls/ftruncate64.S
index a1df9e8..059ff77 100644
--- a/libc/arch-mips/syscalls/ftruncate64.S
+++ b/libc/arch-mips/syscalls/ftruncate64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(ftruncate64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(ftruncate64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getegid.S b/libc/arch-mips/syscalls/getegid.S
index 10f102c..8ae2d1e 100644
--- a/libc/arch-mips/syscalls/getegid.S
+++ b/libc/arch-mips/syscalls/getegid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getegid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getegid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/geteuid.S b/libc/arch-mips/syscalls/geteuid.S
index bac3b74..cf5cf6c 100644
--- a/libc/arch-mips/syscalls/geteuid.S
+++ b/libc/arch-mips/syscalls/geteuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(geteuid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(geteuid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getgid.S b/libc/arch-mips/syscalls/getgid.S
index a1814bb..9bd1fc3 100644
--- a/libc/arch-mips/syscalls/getgid.S
+++ b/libc/arch-mips/syscalls/getgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getgid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getgroups.S b/libc/arch-mips/syscalls/getgroups.S
index 51ed523..2eda185 100644
--- a/libc/arch-mips/syscalls/getgroups.S
+++ b/libc/arch-mips/syscalls/getgroups.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgroups)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getgroups)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getitimer.S b/libc/arch-mips/syscalls/getitimer.S
index 1afeee4..2e382c7 100644
--- a/libc/arch-mips/syscalls/getitimer.S
+++ b/libc/arch-mips/syscalls/getitimer.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getitimer)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getitimer)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getpeername.S b/libc/arch-mips/syscalls/getpeername.S
index b6e5f07..8642798 100644
--- a/libc/arch-mips/syscalls/getpeername.S
+++ b/libc/arch-mips/syscalls/getpeername.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpeername)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getpeername)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getpgid.S b/libc/arch-mips/syscalls/getpgid.S
index 01c6ec5..562b9ce 100644
--- a/libc/arch-mips/syscalls/getpgid.S
+++ b/libc/arch-mips/syscalls/getpgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpgid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getpgid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getppid.S b/libc/arch-mips/syscalls/getppid.S
index 9ed04c0..afff0b9 100644
--- a/libc/arch-mips/syscalls/getppid.S
+++ b/libc/arch-mips/syscalls/getppid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getppid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getppid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getresgid.S b/libc/arch-mips/syscalls/getresgid.S
index a2e16d4..248d3f9 100644
--- a/libc/arch-mips/syscalls/getresgid.S
+++ b/libc/arch-mips/syscalls/getresgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresgid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getresgid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getresuid.S b/libc/arch-mips/syscalls/getresuid.S
index ff162e0..924b6cd 100644
--- a/libc/arch-mips/syscalls/getresuid.S
+++ b/libc/arch-mips/syscalls/getresuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresuid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getresuid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getrlimit.S b/libc/arch-mips/syscalls/getrlimit.S
index 1632f4d..19570d6 100644
--- a/libc/arch-mips/syscalls/getrlimit.S
+++ b/libc/arch-mips/syscalls/getrlimit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrlimit)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getrlimit)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getrusage.S b/libc/arch-mips/syscalls/getrusage.S
index b9c4207..75bc8bc 100644
--- a/libc/arch-mips/syscalls/getrusage.S
+++ b/libc/arch-mips/syscalls/getrusage.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrusage)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getrusage)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getsid.S b/libc/arch-mips/syscalls/getsid.S
index cb56f54..6436ecd 100644
--- a/libc/arch-mips/syscalls/getsid.S
+++ b/libc/arch-mips/syscalls/getsid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getsid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getsockname.S b/libc/arch-mips/syscalls/getsockname.S
index f7bff60..ffadd92 100644
--- a/libc/arch-mips/syscalls/getsockname.S
+++ b/libc/arch-mips/syscalls/getsockname.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockname)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getsockname)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getsockopt.S b/libc/arch-mips/syscalls/getsockopt.S
index 1490aa3..6ebe15e 100644
--- a/libc/arch-mips/syscalls/getsockopt.S
+++ b/libc/arch-mips/syscalls/getsockopt.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockopt)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getsockopt)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/gettimeofday.S b/libc/arch-mips/syscalls/gettimeofday.S
index a72ced6..672faa3 100644
--- a/libc/arch-mips/syscalls/gettimeofday.S
+++ b/libc/arch-mips/syscalls/gettimeofday.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(gettimeofday)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(gettimeofday)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getuid.S b/libc/arch-mips/syscalls/getuid.S
index 290a701..5858632 100644
--- a/libc/arch-mips/syscalls/getuid.S
+++ b/libc/arch-mips/syscalls/getuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getuid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getuid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/getxattr.S b/libc/arch-mips/syscalls/getxattr.S
index 6ed4316..28c7fe6 100644
--- a/libc/arch-mips/syscalls/getxattr.S
+++ b/libc/arch-mips/syscalls/getxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getxattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(getxattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/init_module.S b/libc/arch-mips/syscalls/init_module.S
index 6caf450..989614a 100644
--- a/libc/arch-mips/syscalls/init_module.S
+++ b/libc/arch-mips/syscalls/init_module.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(init_module)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(init_module)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/inotify_add_watch.S b/libc/arch-mips/syscalls/inotify_add_watch.S
index 8464f8f..7d3315f 100644
--- a/libc/arch-mips/syscalls/inotify_add_watch.S
+++ b/libc/arch-mips/syscalls/inotify_add_watch.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_add_watch)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(inotify_add_watch)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/inotify_init1.S b/libc/arch-mips/syscalls/inotify_init1.S
index b6cb6bc..e4ec266 100644
--- a/libc/arch-mips/syscalls/inotify_init1.S
+++ b/libc/arch-mips/syscalls/inotify_init1.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_init1)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(inotify_init1)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/inotify_rm_watch.S b/libc/arch-mips/syscalls/inotify_rm_watch.S
index 87a396a..eec9856 100644
--- a/libc/arch-mips/syscalls/inotify_rm_watch.S
+++ b/libc/arch-mips/syscalls/inotify_rm_watch.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_rm_watch)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(inotify_rm_watch)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/kill.S b/libc/arch-mips/syscalls/kill.S
index 3dda006..415da73 100644
--- a/libc/arch-mips/syscalls/kill.S
+++ b/libc/arch-mips/syscalls/kill.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(kill)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(kill)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/klogctl.S b/libc/arch-mips/syscalls/klogctl.S
index ae9a445..123d8a0 100644
--- a/libc/arch-mips/syscalls/klogctl.S
+++ b/libc/arch-mips/syscalls/klogctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(klogctl)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(klogctl)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/lgetxattr.S b/libc/arch-mips/syscalls/lgetxattr.S
index 63c5add..a9916d9 100644
--- a/libc/arch-mips/syscalls/lgetxattr.S
+++ b/libc/arch-mips/syscalls/lgetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lgetxattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(lgetxattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/linkat.S b/libc/arch-mips/syscalls/linkat.S
index 5bea417..a05a995 100644
--- a/libc/arch-mips/syscalls/linkat.S
+++ b/libc/arch-mips/syscalls/linkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(linkat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(linkat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/listen.S b/libc/arch-mips/syscalls/listen.S
index 8d945f5..7bb2ec8 100644
--- a/libc/arch-mips/syscalls/listen.S
+++ b/libc/arch-mips/syscalls/listen.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listen)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(listen)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/listxattr.S b/libc/arch-mips/syscalls/listxattr.S
index 260d089..c160178 100644
--- a/libc/arch-mips/syscalls/listxattr.S
+++ b/libc/arch-mips/syscalls/listxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listxattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(listxattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/llistxattr.S b/libc/arch-mips/syscalls/llistxattr.S
index 69474d8..9bf05b0 100644
--- a/libc/arch-mips/syscalls/llistxattr.S
+++ b/libc/arch-mips/syscalls/llistxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(llistxattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(llistxattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/lremovexattr.S b/libc/arch-mips/syscalls/lremovexattr.S
index e33f31f..fe73ddb 100644
--- a/libc/arch-mips/syscalls/lremovexattr.S
+++ b/libc/arch-mips/syscalls/lremovexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lremovexattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(lremovexattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/lseek.S b/libc/arch-mips/syscalls/lseek.S
index 21abe1c..6d6b4e5 100644
--- a/libc/arch-mips/syscalls/lseek.S
+++ b/libc/arch-mips/syscalls/lseek.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lseek)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(lseek)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/lsetxattr.S b/libc/arch-mips/syscalls/lsetxattr.S
index dcd510a..69ea0a2 100644
--- a/libc/arch-mips/syscalls/lsetxattr.S
+++ b/libc/arch-mips/syscalls/lsetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lsetxattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(lsetxattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/madvise.S b/libc/arch-mips/syscalls/madvise.S
index 49c007a..7d67b80 100644
--- a/libc/arch-mips/syscalls/madvise.S
+++ b/libc/arch-mips/syscalls/madvise.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(madvise)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(madvise)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/mincore.S b/libc/arch-mips/syscalls/mincore.S
index 07102a6..96f5e29 100644
--- a/libc/arch-mips/syscalls/mincore.S
+++ b/libc/arch-mips/syscalls/mincore.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mincore)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(mincore)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/mkdirat.S b/libc/arch-mips/syscalls/mkdirat.S
index 96a2d08..55dd976 100644
--- a/libc/arch-mips/syscalls/mkdirat.S
+++ b/libc/arch-mips/syscalls/mkdirat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mkdirat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(mkdirat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/mknodat.S b/libc/arch-mips/syscalls/mknodat.S
index a88b906..1a03a8e 100644
--- a/libc/arch-mips/syscalls/mknodat.S
+++ b/libc/arch-mips/syscalls/mknodat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mknodat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(mknodat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/mlock.S b/libc/arch-mips/syscalls/mlock.S
index eff66b8..3cf7c1b 100644
--- a/libc/arch-mips/syscalls/mlock.S
+++ b/libc/arch-mips/syscalls/mlock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlock)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(mlock)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/mlockall.S b/libc/arch-mips/syscalls/mlockall.S
index c31eeaf..3b90f41 100644
--- a/libc/arch-mips/syscalls/mlockall.S
+++ b/libc/arch-mips/syscalls/mlockall.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlockall)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(mlockall)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/mount.S b/libc/arch-mips/syscalls/mount.S
index cb1f1d1..fdf299f 100644
--- a/libc/arch-mips/syscalls/mount.S
+++ b/libc/arch-mips/syscalls/mount.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mount)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(mount)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/mprotect.S b/libc/arch-mips/syscalls/mprotect.S
index 4e390eb..5618310 100644
--- a/libc/arch-mips/syscalls/mprotect.S
+++ b/libc/arch-mips/syscalls/mprotect.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mprotect)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(mprotect)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/mremap.S b/libc/arch-mips/syscalls/mremap.S
index 7b9a68a..7cbb94e 100644
--- a/libc/arch-mips/syscalls/mremap.S
+++ b/libc/arch-mips/syscalls/mremap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mremap)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(mremap)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/msync.S b/libc/arch-mips/syscalls/msync.S
index 7b19a83..fb7462d 100644
--- a/libc/arch-mips/syscalls/msync.S
+++ b/libc/arch-mips/syscalls/msync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(msync)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(msync)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/munlock.S b/libc/arch-mips/syscalls/munlock.S
index 17dc719..6c65c02 100644
--- a/libc/arch-mips/syscalls/munlock.S
+++ b/libc/arch-mips/syscalls/munlock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlock)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(munlock)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/munlockall.S b/libc/arch-mips/syscalls/munlockall.S
index f0dc2d4..e30dddc 100644
--- a/libc/arch-mips/syscalls/munlockall.S
+++ b/libc/arch-mips/syscalls/munlockall.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlockall)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(munlockall)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/munmap.S b/libc/arch-mips/syscalls/munmap.S
index dc3a524..903edde 100644
--- a/libc/arch-mips/syscalls/munmap.S
+++ b/libc/arch-mips/syscalls/munmap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munmap)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(munmap)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/nanosleep.S b/libc/arch-mips/syscalls/nanosleep.S
index fa74288..8dae88b 100644
--- a/libc/arch-mips/syscalls/nanosleep.S
+++ b/libc/arch-mips/syscalls/nanosleep.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(nanosleep)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(nanosleep)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/personality.S b/libc/arch-mips/syscalls/personality.S
index 467f2ec..2f51d39 100644
--- a/libc/arch-mips/syscalls/personality.S
+++ b/libc/arch-mips/syscalls/personality.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(personality)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(personality)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/pipe2.S b/libc/arch-mips/syscalls/pipe2.S
index c505956..b06309c 100644
--- a/libc/arch-mips/syscalls/pipe2.S
+++ b/libc/arch-mips/syscalls/pipe2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pipe2)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(pipe2)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/prctl.S b/libc/arch-mips/syscalls/prctl.S
index 60c18be..71544ee 100644
--- a/libc/arch-mips/syscalls/prctl.S
+++ b/libc/arch-mips/syscalls/prctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prctl)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(prctl)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/pread64.S b/libc/arch-mips/syscalls/pread64.S
index debc558..9e7248b 100644
--- a/libc/arch-mips/syscalls/pread64.S
+++ b/libc/arch-mips/syscalls/pread64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pread64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(pread64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/prlimit64.S b/libc/arch-mips/syscalls/prlimit64.S
index ce1686f..ca913df 100644
--- a/libc/arch-mips/syscalls/prlimit64.S
+++ b/libc/arch-mips/syscalls/prlimit64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prlimit64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(prlimit64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/pwrite64.S b/libc/arch-mips/syscalls/pwrite64.S
index b1ff89b..ac206aa 100644
--- a/libc/arch-mips/syscalls/pwrite64.S
+++ b/libc/arch-mips/syscalls/pwrite64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pwrite64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(pwrite64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/read.S b/libc/arch-mips/syscalls/read.S
index d98c9a6..1355b66 100644
--- a/libc/arch-mips/syscalls/read.S
+++ b/libc/arch-mips/syscalls/read.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(read)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(read)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/readahead.S b/libc/arch-mips/syscalls/readahead.S
index 7dd4473..b28df08 100644
--- a/libc/arch-mips/syscalls/readahead.S
+++ b/libc/arch-mips/syscalls/readahead.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readahead)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(readahead)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/readlinkat.S b/libc/arch-mips/syscalls/readlinkat.S
index 99f07a4..5cf84a2 100644
--- a/libc/arch-mips/syscalls/readlinkat.S
+++ b/libc/arch-mips/syscalls/readlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readlinkat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(readlinkat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/readv.S b/libc/arch-mips/syscalls/readv.S
index 3985c9c..57952a0 100644
--- a/libc/arch-mips/syscalls/readv.S
+++ b/libc/arch-mips/syscalls/readv.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readv)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(readv)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/recvfrom.S b/libc/arch-mips/syscalls/recvfrom.S
index afda11e..707ba4b 100644
--- a/libc/arch-mips/syscalls/recvfrom.S
+++ b/libc/arch-mips/syscalls/recvfrom.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvfrom)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(recvfrom)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/recvmmsg.S b/libc/arch-mips/syscalls/recvmmsg.S
index 1122c01..796d0d8 100644
--- a/libc/arch-mips/syscalls/recvmmsg.S
+++ b/libc/arch-mips/syscalls/recvmmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmmsg)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(recvmmsg)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/recvmsg.S b/libc/arch-mips/syscalls/recvmsg.S
index a64606b..fdcac32 100644
--- a/libc/arch-mips/syscalls/recvmsg.S
+++ b/libc/arch-mips/syscalls/recvmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmsg)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(recvmsg)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/removexattr.S b/libc/arch-mips/syscalls/removexattr.S
index a356160..d99e1ae 100644
--- a/libc/arch-mips/syscalls/removexattr.S
+++ b/libc/arch-mips/syscalls/removexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(removexattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(removexattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/renameat.S b/libc/arch-mips/syscalls/renameat.S
index 63de839..c865d74 100644
--- a/libc/arch-mips/syscalls/renameat.S
+++ b/libc/arch-mips/syscalls/renameat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(renameat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(renameat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sched_get_priority_max.S b/libc/arch-mips/syscalls/sched_get_priority_max.S
index ea88c0f..1c73af6 100644
--- a/libc/arch-mips/syscalls/sched_get_priority_max.S
+++ b/libc/arch-mips/syscalls/sched_get_priority_max.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_max)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sched_get_priority_max)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sched_get_priority_min.S b/libc/arch-mips/syscalls/sched_get_priority_min.S
index 0320847..b69b72b 100644
--- a/libc/arch-mips/syscalls/sched_get_priority_min.S
+++ b/libc/arch-mips/syscalls/sched_get_priority_min.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_min)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sched_get_priority_min)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sched_getparam.S b/libc/arch-mips/syscalls/sched_getparam.S
index 4be69b3..387257a 100644
--- a/libc/arch-mips/syscalls/sched_getparam.S
+++ b/libc/arch-mips/syscalls/sched_getparam.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getparam)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sched_getparam)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sched_getscheduler.S b/libc/arch-mips/syscalls/sched_getscheduler.S
index aaf0e91..9b293db 100644
--- a/libc/arch-mips/syscalls/sched_getscheduler.S
+++ b/libc/arch-mips/syscalls/sched_getscheduler.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getscheduler)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sched_getscheduler)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sched_rr_get_interval.S b/libc/arch-mips/syscalls/sched_rr_get_interval.S
index fcf2bcb..3d7b8a8 100644
--- a/libc/arch-mips/syscalls/sched_rr_get_interval.S
+++ b/libc/arch-mips/syscalls/sched_rr_get_interval.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_rr_get_interval)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sched_rr_get_interval)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sched_setaffinity.S b/libc/arch-mips/syscalls/sched_setaffinity.S
index b9394c5..a0e9f6c 100644
--- a/libc/arch-mips/syscalls/sched_setaffinity.S
+++ b/libc/arch-mips/syscalls/sched_setaffinity.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setaffinity)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sched_setaffinity)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sched_setparam.S b/libc/arch-mips/syscalls/sched_setparam.S
index 90c82fe..a8a8982 100644
--- a/libc/arch-mips/syscalls/sched_setparam.S
+++ b/libc/arch-mips/syscalls/sched_setparam.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setparam)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sched_setparam)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sched_setscheduler.S b/libc/arch-mips/syscalls/sched_setscheduler.S
index 05e4e8b..a2cd7fa 100644
--- a/libc/arch-mips/syscalls/sched_setscheduler.S
+++ b/libc/arch-mips/syscalls/sched_setscheduler.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setscheduler)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sched_setscheduler)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sched_yield.S b/libc/arch-mips/syscalls/sched_yield.S
index 1556580..295266f 100644
--- a/libc/arch-mips/syscalls/sched_yield.S
+++ b/libc/arch-mips/syscalls/sched_yield.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_yield)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sched_yield)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sendfile.S b/libc/arch-mips/syscalls/sendfile.S
index eb99d09..5e5e887 100644
--- a/libc/arch-mips/syscalls/sendfile.S
+++ b/libc/arch-mips/syscalls/sendfile.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendfile)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sendfile)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sendfile64.S b/libc/arch-mips/syscalls/sendfile64.S
index 1d5c5f0..78f1908 100644
--- a/libc/arch-mips/syscalls/sendfile64.S
+++ b/libc/arch-mips/syscalls/sendfile64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendfile64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sendfile64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sendmmsg.S b/libc/arch-mips/syscalls/sendmmsg.S
index 16f37a1..1dc7576 100644
--- a/libc/arch-mips/syscalls/sendmmsg.S
+++ b/libc/arch-mips/syscalls/sendmmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmmsg)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sendmmsg)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sendmsg.S b/libc/arch-mips/syscalls/sendmsg.S
index 31bb563..88c653e 100644
--- a/libc/arch-mips/syscalls/sendmsg.S
+++ b/libc/arch-mips/syscalls/sendmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmsg)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sendmsg)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sendto.S b/libc/arch-mips/syscalls/sendto.S
index 2ba696d..ef3fa9f 100644
--- a/libc/arch-mips/syscalls/sendto.S
+++ b/libc/arch-mips/syscalls/sendto.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendto)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sendto)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setfsgid.S b/libc/arch-mips/syscalls/setfsgid.S
index 81d33d0..158d2c0 100644
--- a/libc/arch-mips/syscalls/setfsgid.S
+++ b/libc/arch-mips/syscalls/setfsgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsgid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setfsgid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setfsuid.S b/libc/arch-mips/syscalls/setfsuid.S
index 6889077..f76fd17 100644
--- a/libc/arch-mips/syscalls/setfsuid.S
+++ b/libc/arch-mips/syscalls/setfsuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsuid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setfsuid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setgid.S b/libc/arch-mips/syscalls/setgid.S
index 83649da..44127cd 100644
--- a/libc/arch-mips/syscalls/setgid.S
+++ b/libc/arch-mips/syscalls/setgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setgid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setgroups.S b/libc/arch-mips/syscalls/setgroups.S
index b98608c..be4dc13 100644
--- a/libc/arch-mips/syscalls/setgroups.S
+++ b/libc/arch-mips/syscalls/setgroups.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgroups)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setgroups)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setitimer.S b/libc/arch-mips/syscalls/setitimer.S
index dc9a8f3..968b453 100644
--- a/libc/arch-mips/syscalls/setitimer.S
+++ b/libc/arch-mips/syscalls/setitimer.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setitimer)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setitimer)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setns.S b/libc/arch-mips/syscalls/setns.S
index 9a4939d..a9270ec 100644
--- a/libc/arch-mips/syscalls/setns.S
+++ b/libc/arch-mips/syscalls/setns.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setns)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setns)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setpgid.S b/libc/arch-mips/syscalls/setpgid.S
index cbc1ff3..d2db62f 100644
--- a/libc/arch-mips/syscalls/setpgid.S
+++ b/libc/arch-mips/syscalls/setpgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpgid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setpgid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setpriority.S b/libc/arch-mips/syscalls/setpriority.S
index 6b8a504..9b68335 100644
--- a/libc/arch-mips/syscalls/setpriority.S
+++ b/libc/arch-mips/syscalls/setpriority.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpriority)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setpriority)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setregid.S b/libc/arch-mips/syscalls/setregid.S
index 6388784..6b7474c 100644
--- a/libc/arch-mips/syscalls/setregid.S
+++ b/libc/arch-mips/syscalls/setregid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setregid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setregid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setresgid.S b/libc/arch-mips/syscalls/setresgid.S
index 76968a8..223a0d0 100644
--- a/libc/arch-mips/syscalls/setresgid.S
+++ b/libc/arch-mips/syscalls/setresgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresgid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setresgid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setresuid.S b/libc/arch-mips/syscalls/setresuid.S
index fae15f8..1f99682 100644
--- a/libc/arch-mips/syscalls/setresuid.S
+++ b/libc/arch-mips/syscalls/setresuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresuid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setresuid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setreuid.S b/libc/arch-mips/syscalls/setreuid.S
index 8350cb7..fa9c3d2 100644
--- a/libc/arch-mips/syscalls/setreuid.S
+++ b/libc/arch-mips/syscalls/setreuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setreuid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setreuid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setrlimit.S b/libc/arch-mips/syscalls/setrlimit.S
index d708c2d..016e24c 100644
--- a/libc/arch-mips/syscalls/setrlimit.S
+++ b/libc/arch-mips/syscalls/setrlimit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setrlimit)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setrlimit)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setsid.S b/libc/arch-mips/syscalls/setsid.S
index cb5838d..9f3cb48 100644
--- a/libc/arch-mips/syscalls/setsid.S
+++ b/libc/arch-mips/syscalls/setsid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setsid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setsockopt.S b/libc/arch-mips/syscalls/setsockopt.S
index da348f1..b2368a1 100644
--- a/libc/arch-mips/syscalls/setsockopt.S
+++ b/libc/arch-mips/syscalls/setsockopt.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsockopt)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setsockopt)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/settimeofday.S b/libc/arch-mips/syscalls/settimeofday.S
index cd52b40..e3a5a06 100644
--- a/libc/arch-mips/syscalls/settimeofday.S
+++ b/libc/arch-mips/syscalls/settimeofday.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(settimeofday)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(settimeofday)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setuid.S b/libc/arch-mips/syscalls/setuid.S
index a80ec5c..ff3da0a 100644
--- a/libc/arch-mips/syscalls/setuid.S
+++ b/libc/arch-mips/syscalls/setuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setuid)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setuid)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/setxattr.S b/libc/arch-mips/syscalls/setxattr.S
index df7bcdb..5b3a241 100644
--- a/libc/arch-mips/syscalls/setxattr.S
+++ b/libc/arch-mips/syscalls/setxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setxattr)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(setxattr)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/shutdown.S b/libc/arch-mips/syscalls/shutdown.S
index 71e6366..5db046f 100644
--- a/libc/arch-mips/syscalls/shutdown.S
+++ b/libc/arch-mips/syscalls/shutdown.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(shutdown)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(shutdown)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sigaltstack.S b/libc/arch-mips/syscalls/sigaltstack.S
index b52c60a..f543759 100644
--- a/libc/arch-mips/syscalls/sigaltstack.S
+++ b/libc/arch-mips/syscalls/sigaltstack.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sigaltstack)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sigaltstack)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/socketpair.S b/libc/arch-mips/syscalls/socketpair.S
index 47223e1..7f85da3 100644
--- a/libc/arch-mips/syscalls/socketpair.S
+++ b/libc/arch-mips/syscalls/socketpair.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(socketpair)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(socketpair)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/splice.S b/libc/arch-mips/syscalls/splice.S
index 611a062..a55b7e8 100644
--- a/libc/arch-mips/syscalls/splice.S
+++ b/libc/arch-mips/syscalls/splice.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(splice)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(splice)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/swapoff.S b/libc/arch-mips/syscalls/swapoff.S
index 8b57068..ce782d0 100644
--- a/libc/arch-mips/syscalls/swapoff.S
+++ b/libc/arch-mips/syscalls/swapoff.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapoff)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(swapoff)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/swapon.S b/libc/arch-mips/syscalls/swapon.S
index ef3a537..127c3a8 100644
--- a/libc/arch-mips/syscalls/swapon.S
+++ b/libc/arch-mips/syscalls/swapon.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapon)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(swapon)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/symlinkat.S b/libc/arch-mips/syscalls/symlinkat.S
index 65971a9..b0690a4 100644
--- a/libc/arch-mips/syscalls/symlinkat.S
+++ b/libc/arch-mips/syscalls/symlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(symlinkat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(symlinkat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sync.S b/libc/arch-mips/syscalls/sync.S
index d62ae76..8858e74 100644
--- a/libc/arch-mips/syscalls/sync.S
+++ b/libc/arch-mips/syscalls/sync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sync)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sync)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/sysinfo.S b/libc/arch-mips/syscalls/sysinfo.S
index 600e086..beefc0e 100644
--- a/libc/arch-mips/syscalls/sysinfo.S
+++ b/libc/arch-mips/syscalls/sysinfo.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sysinfo)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(sysinfo)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/tee.S b/libc/arch-mips/syscalls/tee.S
index 90ec911..1115907 100644
--- a/libc/arch-mips/syscalls/tee.S
+++ b/libc/arch-mips/syscalls/tee.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tee)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(tee)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/tgkill.S b/libc/arch-mips/syscalls/tgkill.S
index 39a148b..bea211d 100644
--- a/libc/arch-mips/syscalls/tgkill.S
+++ b/libc/arch-mips/syscalls/tgkill.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tgkill)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(tgkill)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/timerfd_create.S b/libc/arch-mips/syscalls/timerfd_create.S
index b50903a..116c628 100644
--- a/libc/arch-mips/syscalls/timerfd_create.S
+++ b/libc/arch-mips/syscalls/timerfd_create.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_create)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(timerfd_create)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/timerfd_gettime.S b/libc/arch-mips/syscalls/timerfd_gettime.S
index 97d3045..df7138c 100644
--- a/libc/arch-mips/syscalls/timerfd_gettime.S
+++ b/libc/arch-mips/syscalls/timerfd_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_gettime)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(timerfd_gettime)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/timerfd_settime.S b/libc/arch-mips/syscalls/timerfd_settime.S
index 1e56f86..2bfadb9 100644
--- a/libc/arch-mips/syscalls/timerfd_settime.S
+++ b/libc/arch-mips/syscalls/timerfd_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_settime)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(timerfd_settime)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/times.S b/libc/arch-mips/syscalls/times.S
index 60904d1..90ce97f 100644
--- a/libc/arch-mips/syscalls/times.S
+++ b/libc/arch-mips/syscalls/times.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(times)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(times)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/truncate.S b/libc/arch-mips/syscalls/truncate.S
index ec7bc49..6800705 100644
--- a/libc/arch-mips/syscalls/truncate.S
+++ b/libc/arch-mips/syscalls/truncate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(truncate)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(truncate)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/truncate64.S b/libc/arch-mips/syscalls/truncate64.S
index b6a0234..870e735 100644
--- a/libc/arch-mips/syscalls/truncate64.S
+++ b/libc/arch-mips/syscalls/truncate64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(truncate64)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(truncate64)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/umask.S b/libc/arch-mips/syscalls/umask.S
index 8f66e77..ccf4292 100644
--- a/libc/arch-mips/syscalls/umask.S
+++ b/libc/arch-mips/syscalls/umask.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umask)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(umask)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/umount2.S b/libc/arch-mips/syscalls/umount2.S
index 58e31f3..65a7129 100644
--- a/libc/arch-mips/syscalls/umount2.S
+++ b/libc/arch-mips/syscalls/umount2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umount2)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(umount2)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/uname.S b/libc/arch-mips/syscalls/uname.S
index 401d139..f540b3a 100644
--- a/libc/arch-mips/syscalls/uname.S
+++ b/libc/arch-mips/syscalls/uname.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(uname)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(uname)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/unlinkat.S b/libc/arch-mips/syscalls/unlinkat.S
index b6e849d..001f9cf 100644
--- a/libc/arch-mips/syscalls/unlinkat.S
+++ b/libc/arch-mips/syscalls/unlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unlinkat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(unlinkat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/unshare.S b/libc/arch-mips/syscalls/unshare.S
index 5262832..13ca452 100644
--- a/libc/arch-mips/syscalls/unshare.S
+++ b/libc/arch-mips/syscalls/unshare.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unshare)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(unshare)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/utimensat.S b/libc/arch-mips/syscalls/utimensat.S
index 9ecb5c0..14e5a10 100644
--- a/libc/arch-mips/syscalls/utimensat.S
+++ b/libc/arch-mips/syscalls/utimensat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(utimensat)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(utimensat)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/vmsplice.S b/libc/arch-mips/syscalls/vmsplice.S
index 5ad23a6..0191f53 100644
--- a/libc/arch-mips/syscalls/vmsplice.S
+++ b/libc/arch-mips/syscalls/vmsplice.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(vmsplice)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(vmsplice)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/wait4.S b/libc/arch-mips/syscalls/wait4.S
index 8f8d879..8a12533 100644
--- a/libc/arch-mips/syscalls/wait4.S
+++ b/libc/arch-mips/syscalls/wait4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(wait4)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(wait4)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/write.S b/libc/arch-mips/syscalls/write.S
index 3e37919..62dc36f 100644
--- a/libc/arch-mips/syscalls/write.S
+++ b/libc/arch-mips/syscalls/write.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(write)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(write)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips/syscalls/writev.S b/libc/arch-mips/syscalls/writev.S
index 72ea2f2..d8d6616 100644
--- a/libc/arch-mips/syscalls/writev.S
+++ b/libc/arch-mips/syscalls/writev.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(writev)
.set noreorder
.cpload t9
@@ -14,7 +12,7 @@ ENTRY(writev)
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
diff --git a/libc/arch-mips64/bionic/__bionic_clone.S b/libc/arch-mips64/bionic/__bionic_clone.S
index 4f053f9..0d266ee 100644
--- a/libc/arch-mips64/bionic/__bionic_clone.S
+++ b/libc/arch-mips64/bionic/__bionic_clone.S
@@ -93,7 +93,7 @@ LEAF(__bionic_clone, FRAMESZ)
j t9
.L__error_bc:
- LA t9,__set_errno
+ LA t9,__set_errno_internal
RESTORE_GP64
PTR_ADDU sp,FRAMESZ
j t9
diff --git a/libc/arch-mips64/bionic/syscall.S b/libc/arch-mips64/bionic/syscall.S
index e3710f8..4c739fd 100644
--- a/libc/arch-mips64/bionic/syscall.S
+++ b/libc/arch-mips64/bionic/syscall.S
@@ -61,7 +61,7 @@ LEAF(syscall,FRAMESZ)
PTR_ADDU sp, FRAMESZ
j ra
1:
- LA t9,__set_errno
+ LA t9,__set_errno_internal
RESTORE_GP64
PTR_ADDU sp, FRAMESZ
j t9
diff --git a/libc/arch-mips64/bionic/vfork.S b/libc/arch-mips64/bionic/vfork.S
index 911a264..d180a8c 100644
--- a/libc/arch-mips64/bionic/vfork.S
+++ b/libc/arch-mips64/bionic/vfork.S
@@ -65,7 +65,7 @@ LEAF(vfork,FRAMESZ)
RESTORE_GP64
j ra
1:
- LA t9,__set_errno
+ LA t9,__set_errno_internal
RESTORE_GP64
j t9
END(vfork)
diff --git a/libc/arch-mips64/syscalls/__accept4.S b/libc/arch-mips64/syscalls/__accept4.S
index 0891d7f..ed9b6c7 100644
--- a/libc/arch-mips64/syscalls/__accept4.S
+++ b/libc/arch-mips64/syscalls/__accept4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__accept4)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__accept4)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__brk.S b/libc/arch-mips64/syscalls/__brk.S
index 86f390c..e1f89c7 100644
--- a/libc/arch-mips64/syscalls/__brk.S
+++ b/libc/arch-mips64/syscalls/__brk.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__brk)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__brk)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__connect.S b/libc/arch-mips64/syscalls/__connect.S
index 2efbb2a..8c44464 100644
--- a/libc/arch-mips64/syscalls/__connect.S
+++ b/libc/arch-mips64/syscalls/__connect.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__connect)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__connect)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__epoll_pwait.S b/libc/arch-mips64/syscalls/__epoll_pwait.S
index 430d9bb..5dfb380 100644
--- a/libc/arch-mips64/syscalls/__epoll_pwait.S
+++ b/libc/arch-mips64/syscalls/__epoll_pwait.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__epoll_pwait)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__epoll_pwait)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__exit.S b/libc/arch-mips64/syscalls/__exit.S
index ebee0d1..2d5e03d 100644
--- a/libc/arch-mips64/syscalls/__exit.S
+++ b/libc/arch-mips64/syscalls/__exit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__exit)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__exit)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__getcpu.S b/libc/arch-mips64/syscalls/__getcpu.S
index 34a8acb..a16c21e 100644
--- a/libc/arch-mips64/syscalls/__getcpu.S
+++ b/libc/arch-mips64/syscalls/__getcpu.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcpu)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__getcpu)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__getcwd.S b/libc/arch-mips64/syscalls/__getcwd.S
index e7a09a6..53eeb68 100644
--- a/libc/arch-mips64/syscalls/__getcwd.S
+++ b/libc/arch-mips64/syscalls/__getcwd.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcwd)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__getcwd)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__getdents64.S b/libc/arch-mips64/syscalls/__getdents64.S
index dc51e72..3720b8e 100644
--- a/libc/arch-mips64/syscalls/__getdents64.S
+++ b/libc/arch-mips64/syscalls/__getdents64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getdents64)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__getdents64)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__getpid.S b/libc/arch-mips64/syscalls/__getpid.S
index 86b4071..6d5d926 100644
--- a/libc/arch-mips64/syscalls/__getpid.S
+++ b/libc/arch-mips64/syscalls/__getpid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__getpid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__getpriority.S b/libc/arch-mips64/syscalls/__getpriority.S
index f0c7267..19327ab 100644
--- a/libc/arch-mips64/syscalls/__getpriority.S
+++ b/libc/arch-mips64/syscalls/__getpriority.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpriority)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__getpriority)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__ioctl.S b/libc/arch-mips64/syscalls/__ioctl.S
index 1f94075..7fad0d1 100644
--- a/libc/arch-mips64/syscalls/__ioctl.S
+++ b/libc/arch-mips64/syscalls/__ioctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ioctl)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__ioctl)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__openat.S b/libc/arch-mips64/syscalls/__openat.S
index 6cc56da..d3ac13a 100644
--- a/libc/arch-mips64/syscalls/__openat.S
+++ b/libc/arch-mips64/syscalls/__openat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__openat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__openat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__ppoll.S b/libc/arch-mips64/syscalls/__ppoll.S
index ce3a551..4e6fb8a 100644
--- a/libc/arch-mips64/syscalls/__ppoll.S
+++ b/libc/arch-mips64/syscalls/__ppoll.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ppoll)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__ppoll)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__pselect6.S b/libc/arch-mips64/syscalls/__pselect6.S
index dbfe79f..6d49d1c 100644
--- a/libc/arch-mips64/syscalls/__pselect6.S
+++ b/libc/arch-mips64/syscalls/__pselect6.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__pselect6)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__pselect6)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__ptrace.S b/libc/arch-mips64/syscalls/__ptrace.S
index e26217f..5a3ce16 100644
--- a/libc/arch-mips64/syscalls/__ptrace.S
+++ b/libc/arch-mips64/syscalls/__ptrace.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ptrace)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__ptrace)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__reboot.S b/libc/arch-mips64/syscalls/__reboot.S
index a4f4e71..587310d 100644
--- a/libc/arch-mips64/syscalls/__reboot.S
+++ b/libc/arch-mips64/syscalls/__reboot.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__reboot)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__reboot)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__rt_sigaction.S b/libc/arch-mips64/syscalls/__rt_sigaction.S
index 10f3598..7dd3cae 100644
--- a/libc/arch-mips64/syscalls/__rt_sigaction.S
+++ b/libc/arch-mips64/syscalls/__rt_sigaction.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigaction)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__rt_sigaction)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__rt_sigpending.S b/libc/arch-mips64/syscalls/__rt_sigpending.S
index 7855cca..68ae39a 100644
--- a/libc/arch-mips64/syscalls/__rt_sigpending.S
+++ b/libc/arch-mips64/syscalls/__rt_sigpending.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigpending)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__rt_sigpending)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__rt_sigprocmask.S b/libc/arch-mips64/syscalls/__rt_sigprocmask.S
index f1ba2e9..54620e9 100644
--- a/libc/arch-mips64/syscalls/__rt_sigprocmask.S
+++ b/libc/arch-mips64/syscalls/__rt_sigprocmask.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigprocmask)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__rt_sigprocmask)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__rt_sigsuspend.S b/libc/arch-mips64/syscalls/__rt_sigsuspend.S
index 50ebf5e..ea15def 100644
--- a/libc/arch-mips64/syscalls/__rt_sigsuspend.S
+++ b/libc/arch-mips64/syscalls/__rt_sigsuspend.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigsuspend)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__rt_sigsuspend)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__rt_sigtimedwait.S b/libc/arch-mips64/syscalls/__rt_sigtimedwait.S
index 304d049..177f17c 100644
--- a/libc/arch-mips64/syscalls/__rt_sigtimedwait.S
+++ b/libc/arch-mips64/syscalls/__rt_sigtimedwait.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigtimedwait)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__rt_sigtimedwait)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__sched_getaffinity.S b/libc/arch-mips64/syscalls/__sched_getaffinity.S
index cf590c3..2081706 100644
--- a/libc/arch-mips64/syscalls/__sched_getaffinity.S
+++ b/libc/arch-mips64/syscalls/__sched_getaffinity.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__sched_getaffinity)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__sched_getaffinity)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__set_tid_address.S b/libc/arch-mips64/syscalls/__set_tid_address.S
index d08aa7b..cd966dd 100644
--- a/libc/arch-mips64/syscalls/__set_tid_address.S
+++ b/libc/arch-mips64/syscalls/__set_tid_address.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__set_tid_address)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__set_tid_address)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__set_tls.S b/libc/arch-mips64/syscalls/__set_tls.S
index 430c5fb..cc98150 100644
--- a/libc/arch-mips64/syscalls/__set_tls.S
+++ b/libc/arch-mips64/syscalls/__set_tls.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__set_tls)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__set_tls)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__signalfd4.S b/libc/arch-mips64/syscalls/__signalfd4.S
index 0200138..ea6eef1 100644
--- a/libc/arch-mips64/syscalls/__signalfd4.S
+++ b/libc/arch-mips64/syscalls/__signalfd4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__signalfd4)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__signalfd4)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__socket.S b/libc/arch-mips64/syscalls/__socket.S
index ac7586a..a499359 100644
--- a/libc/arch-mips64/syscalls/__socket.S
+++ b/libc/arch-mips64/syscalls/__socket.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__socket)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__socket)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__timer_create.S b/libc/arch-mips64/syscalls/__timer_create.S
index 518207d..c66d8f9 100644
--- a/libc/arch-mips64/syscalls/__timer_create.S
+++ b/libc/arch-mips64/syscalls/__timer_create.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_create)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__timer_create)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__timer_delete.S b/libc/arch-mips64/syscalls/__timer_delete.S
index 4db1c85..45cf5e8 100644
--- a/libc/arch-mips64/syscalls/__timer_delete.S
+++ b/libc/arch-mips64/syscalls/__timer_delete.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_delete)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__timer_delete)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__timer_getoverrun.S b/libc/arch-mips64/syscalls/__timer_getoverrun.S
index c5aa40f..8a73160 100644
--- a/libc/arch-mips64/syscalls/__timer_getoverrun.S
+++ b/libc/arch-mips64/syscalls/__timer_getoverrun.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_getoverrun)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__timer_getoverrun)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__timer_gettime.S b/libc/arch-mips64/syscalls/__timer_gettime.S
index 8bebdd8..32ee5bf 100644
--- a/libc/arch-mips64/syscalls/__timer_gettime.S
+++ b/libc/arch-mips64/syscalls/__timer_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_gettime)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__timer_gettime)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__timer_settime.S b/libc/arch-mips64/syscalls/__timer_settime.S
index 536c816..59764d8 100644
--- a/libc/arch-mips64/syscalls/__timer_settime.S
+++ b/libc/arch-mips64/syscalls/__timer_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_settime)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__timer_settime)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/__waitid.S b/libc/arch-mips64/syscalls/__waitid.S
index 28b99bc..5ee090d 100644
--- a/libc/arch-mips64/syscalls/__waitid.S
+++ b/libc/arch-mips64/syscalls/__waitid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__waitid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(__waitid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/_exit.S b/libc/arch-mips64/syscalls/_exit.S
index 370960e..da5a2f7 100644
--- a/libc/arch-mips64/syscalls/_exit.S
+++ b/libc/arch-mips64/syscalls/_exit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(_exit)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(_exit)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/acct.S b/libc/arch-mips64/syscalls/acct.S
index 70bdd3e..ff728dc 100644
--- a/libc/arch-mips64/syscalls/acct.S
+++ b/libc/arch-mips64/syscalls/acct.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(acct)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(acct)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/bind.S b/libc/arch-mips64/syscalls/bind.S
index fab9b42..9c2b5b8 100644
--- a/libc/arch-mips64/syscalls/bind.S
+++ b/libc/arch-mips64/syscalls/bind.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(bind)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(bind)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/capget.S b/libc/arch-mips64/syscalls/capget.S
index 6c1a13c..9d05438 100644
--- a/libc/arch-mips64/syscalls/capget.S
+++ b/libc/arch-mips64/syscalls/capget.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capget)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(capget)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/capset.S b/libc/arch-mips64/syscalls/capset.S
index da8e9e6..e947028 100644
--- a/libc/arch-mips64/syscalls/capset.S
+++ b/libc/arch-mips64/syscalls/capset.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capset)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(capset)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/chdir.S b/libc/arch-mips64/syscalls/chdir.S
index 37f8f69..14b22c9 100644
--- a/libc/arch-mips64/syscalls/chdir.S
+++ b/libc/arch-mips64/syscalls/chdir.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chdir)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(chdir)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/chroot.S b/libc/arch-mips64/syscalls/chroot.S
index 7dced37..e805f51 100644
--- a/libc/arch-mips64/syscalls/chroot.S
+++ b/libc/arch-mips64/syscalls/chroot.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chroot)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(chroot)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/clock_getres.S b/libc/arch-mips64/syscalls/clock_getres.S
index 72ad146..41003a0 100644
--- a/libc/arch-mips64/syscalls/clock_getres.S
+++ b/libc/arch-mips64/syscalls/clock_getres.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_getres)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(clock_getres)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/clock_gettime.S b/libc/arch-mips64/syscalls/clock_gettime.S
index 431e667..0813560 100644
--- a/libc/arch-mips64/syscalls/clock_gettime.S
+++ b/libc/arch-mips64/syscalls/clock_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_gettime)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(clock_gettime)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/clock_nanosleep.S b/libc/arch-mips64/syscalls/clock_nanosleep.S
index c0db781..c958a10 100644
--- a/libc/arch-mips64/syscalls/clock_nanosleep.S
+++ b/libc/arch-mips64/syscalls/clock_nanosleep.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_nanosleep)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(clock_nanosleep)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/clock_settime.S b/libc/arch-mips64/syscalls/clock_settime.S
index c9a4a79..77b6ae4 100644
--- a/libc/arch-mips64/syscalls/clock_settime.S
+++ b/libc/arch-mips64/syscalls/clock_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_settime)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(clock_settime)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/close.S b/libc/arch-mips64/syscalls/close.S
index ff093e4..5e237dd 100644
--- a/libc/arch-mips64/syscalls/close.S
+++ b/libc/arch-mips64/syscalls/close.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(close)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(close)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/delete_module.S b/libc/arch-mips64/syscalls/delete_module.S
index 86c64d6..8396537 100644
--- a/libc/arch-mips64/syscalls/delete_module.S
+++ b/libc/arch-mips64/syscalls/delete_module.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(delete_module)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(delete_module)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/dup.S b/libc/arch-mips64/syscalls/dup.S
index 23aa5c0..d1ca5e7 100644
--- a/libc/arch-mips64/syscalls/dup.S
+++ b/libc/arch-mips64/syscalls/dup.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(dup)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/dup3.S b/libc/arch-mips64/syscalls/dup3.S
index a5392dc..5601f31 100644
--- a/libc/arch-mips64/syscalls/dup3.S
+++ b/libc/arch-mips64/syscalls/dup3.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup3)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(dup3)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/epoll_create1.S b/libc/arch-mips64/syscalls/epoll_create1.S
index c3219d4..11f1ceb 100644
--- a/libc/arch-mips64/syscalls/epoll_create1.S
+++ b/libc/arch-mips64/syscalls/epoll_create1.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_create1)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(epoll_create1)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/epoll_ctl.S b/libc/arch-mips64/syscalls/epoll_ctl.S
index 9b740d0..9eba605 100644
--- a/libc/arch-mips64/syscalls/epoll_ctl.S
+++ b/libc/arch-mips64/syscalls/epoll_ctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_ctl)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(epoll_ctl)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/eventfd.S b/libc/arch-mips64/syscalls/eventfd.S
index ea3a2c6..5cd63e4 100644
--- a/libc/arch-mips64/syscalls/eventfd.S
+++ b/libc/arch-mips64/syscalls/eventfd.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(eventfd)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(eventfd)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/execve.S b/libc/arch-mips64/syscalls/execve.S
index af2c6d0..bcd5d60 100644
--- a/libc/arch-mips64/syscalls/execve.S
+++ b/libc/arch-mips64/syscalls/execve.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(execve)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(execve)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/faccessat.S b/libc/arch-mips64/syscalls/faccessat.S
index c8ee9e5..18bb800 100644
--- a/libc/arch-mips64/syscalls/faccessat.S
+++ b/libc/arch-mips64/syscalls/faccessat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(faccessat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(faccessat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fallocate.S b/libc/arch-mips64/syscalls/fallocate.S
index 9e7c89e..c1ef0ed 100644
--- a/libc/arch-mips64/syscalls/fallocate.S
+++ b/libc/arch-mips64/syscalls/fallocate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fallocate)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fallocate)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fchdir.S b/libc/arch-mips64/syscalls/fchdir.S
index 780a8a2..e05625c 100644
--- a/libc/arch-mips64/syscalls/fchdir.S
+++ b/libc/arch-mips64/syscalls/fchdir.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchdir)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fchdir)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fchmod.S b/libc/arch-mips64/syscalls/fchmod.S
index b9e7cab..a877b78 100644
--- a/libc/arch-mips64/syscalls/fchmod.S
+++ b/libc/arch-mips64/syscalls/fchmod.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmod)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fchmod)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fchmodat.S b/libc/arch-mips64/syscalls/fchmodat.S
index ff04c8c..151492a 100644
--- a/libc/arch-mips64/syscalls/fchmodat.S
+++ b/libc/arch-mips64/syscalls/fchmodat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmodat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fchmodat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fchown.S b/libc/arch-mips64/syscalls/fchown.S
index 97bd208..5dc33c0 100644
--- a/libc/arch-mips64/syscalls/fchown.S
+++ b/libc/arch-mips64/syscalls/fchown.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchown)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fchown)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fchownat.S b/libc/arch-mips64/syscalls/fchownat.S
index 0e5635a..f4cefe0 100644
--- a/libc/arch-mips64/syscalls/fchownat.S
+++ b/libc/arch-mips64/syscalls/fchownat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchownat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fchownat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fcntl.S b/libc/arch-mips64/syscalls/fcntl.S
index 325d9fd..dabc65b 100644
--- a/libc/arch-mips64/syscalls/fcntl.S
+++ b/libc/arch-mips64/syscalls/fcntl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fcntl)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fcntl)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fdatasync.S b/libc/arch-mips64/syscalls/fdatasync.S
index 8a714c3..52be110 100644
--- a/libc/arch-mips64/syscalls/fdatasync.S
+++ b/libc/arch-mips64/syscalls/fdatasync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fdatasync)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fdatasync)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fgetxattr.S b/libc/arch-mips64/syscalls/fgetxattr.S
index 87a21ce..44c248a 100644
--- a/libc/arch-mips64/syscalls/fgetxattr.S
+++ b/libc/arch-mips64/syscalls/fgetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fgetxattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fgetxattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/flistxattr.S b/libc/arch-mips64/syscalls/flistxattr.S
index b430931..1d5b1b0 100644
--- a/libc/arch-mips64/syscalls/flistxattr.S
+++ b/libc/arch-mips64/syscalls/flistxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flistxattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(flistxattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/flock.S b/libc/arch-mips64/syscalls/flock.S
index bc4c835..d74a5db 100644
--- a/libc/arch-mips64/syscalls/flock.S
+++ b/libc/arch-mips64/syscalls/flock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flock)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(flock)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fremovexattr.S b/libc/arch-mips64/syscalls/fremovexattr.S
index 4121223..417be4a 100644
--- a/libc/arch-mips64/syscalls/fremovexattr.S
+++ b/libc/arch-mips64/syscalls/fremovexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fremovexattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fremovexattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fsetxattr.S b/libc/arch-mips64/syscalls/fsetxattr.S
index 4180bd0..0ad1f90 100644
--- a/libc/arch-mips64/syscalls/fsetxattr.S
+++ b/libc/arch-mips64/syscalls/fsetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsetxattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fsetxattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fstat64.S b/libc/arch-mips64/syscalls/fstat64.S
index 03cbf69..a14d51c 100644
--- a/libc/arch-mips64/syscalls/fstat64.S
+++ b/libc/arch-mips64/syscalls/fstat64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstat64)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fstat64)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fstatat64.S b/libc/arch-mips64/syscalls/fstatat64.S
index 55ae243..7888a43 100644
--- a/libc/arch-mips64/syscalls/fstatat64.S
+++ b/libc/arch-mips64/syscalls/fstatat64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstatat64)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fstatat64)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fstatfs64.S b/libc/arch-mips64/syscalls/fstatfs64.S
index 5fb5d95..12e885c 100644
--- a/libc/arch-mips64/syscalls/fstatfs64.S
+++ b/libc/arch-mips64/syscalls/fstatfs64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstatfs64)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fstatfs64)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/fsync.S b/libc/arch-mips64/syscalls/fsync.S
index fa5de87..7056e36 100644
--- a/libc/arch-mips64/syscalls/fsync.S
+++ b/libc/arch-mips64/syscalls/fsync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsync)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(fsync)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/ftruncate.S b/libc/arch-mips64/syscalls/ftruncate.S
index b605a37..58b847b 100644
--- a/libc/arch-mips64/syscalls/ftruncate.S
+++ b/libc/arch-mips64/syscalls/ftruncate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(ftruncate)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(ftruncate)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getegid.S b/libc/arch-mips64/syscalls/getegid.S
index 7ef8fe3..439c6f0 100644
--- a/libc/arch-mips64/syscalls/getegid.S
+++ b/libc/arch-mips64/syscalls/getegid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getegid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getegid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/geteuid.S b/libc/arch-mips64/syscalls/geteuid.S
index c21f0ef..5619dc6 100644
--- a/libc/arch-mips64/syscalls/geteuid.S
+++ b/libc/arch-mips64/syscalls/geteuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(geteuid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(geteuid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getgid.S b/libc/arch-mips64/syscalls/getgid.S
index bd690dc..777be1a 100644
--- a/libc/arch-mips64/syscalls/getgid.S
+++ b/libc/arch-mips64/syscalls/getgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getgid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getgroups.S b/libc/arch-mips64/syscalls/getgroups.S
index d7aded7..93c4fa1 100644
--- a/libc/arch-mips64/syscalls/getgroups.S
+++ b/libc/arch-mips64/syscalls/getgroups.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgroups)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getgroups)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getitimer.S b/libc/arch-mips64/syscalls/getitimer.S
index a438faa..fe78a97 100644
--- a/libc/arch-mips64/syscalls/getitimer.S
+++ b/libc/arch-mips64/syscalls/getitimer.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getitimer)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getitimer)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getpeername.S b/libc/arch-mips64/syscalls/getpeername.S
index bf40141..121f1a6 100644
--- a/libc/arch-mips64/syscalls/getpeername.S
+++ b/libc/arch-mips64/syscalls/getpeername.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpeername)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getpeername)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getpgid.S b/libc/arch-mips64/syscalls/getpgid.S
index 739a6e2..19dc77f 100644
--- a/libc/arch-mips64/syscalls/getpgid.S
+++ b/libc/arch-mips64/syscalls/getpgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpgid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getpgid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getppid.S b/libc/arch-mips64/syscalls/getppid.S
index e642a79..d00f309 100644
--- a/libc/arch-mips64/syscalls/getppid.S
+++ b/libc/arch-mips64/syscalls/getppid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getppid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getppid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getresgid.S b/libc/arch-mips64/syscalls/getresgid.S
index d88516f..18cb5a1 100644
--- a/libc/arch-mips64/syscalls/getresgid.S
+++ b/libc/arch-mips64/syscalls/getresgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresgid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getresgid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getresuid.S b/libc/arch-mips64/syscalls/getresuid.S
index b439211..c217bf7 100644
--- a/libc/arch-mips64/syscalls/getresuid.S
+++ b/libc/arch-mips64/syscalls/getresuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresuid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getresuid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getrlimit.S b/libc/arch-mips64/syscalls/getrlimit.S
index 423bc0f..7576c17 100644
--- a/libc/arch-mips64/syscalls/getrlimit.S
+++ b/libc/arch-mips64/syscalls/getrlimit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrlimit)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getrlimit)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getrusage.S b/libc/arch-mips64/syscalls/getrusage.S
index 9f57b84..4bf557e 100644
--- a/libc/arch-mips64/syscalls/getrusage.S
+++ b/libc/arch-mips64/syscalls/getrusage.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrusage)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getrusage)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getsid.S b/libc/arch-mips64/syscalls/getsid.S
index 125da4e..030c91d 100644
--- a/libc/arch-mips64/syscalls/getsid.S
+++ b/libc/arch-mips64/syscalls/getsid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getsid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getsockname.S b/libc/arch-mips64/syscalls/getsockname.S
index 3481d65..88a9426 100644
--- a/libc/arch-mips64/syscalls/getsockname.S
+++ b/libc/arch-mips64/syscalls/getsockname.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockname)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getsockname)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getsockopt.S b/libc/arch-mips64/syscalls/getsockopt.S
index 2e9b6d7..08ee634 100644
--- a/libc/arch-mips64/syscalls/getsockopt.S
+++ b/libc/arch-mips64/syscalls/getsockopt.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockopt)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getsockopt)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/gettimeofday.S b/libc/arch-mips64/syscalls/gettimeofday.S
index 9bbbd28..3a6d417 100644
--- a/libc/arch-mips64/syscalls/gettimeofday.S
+++ b/libc/arch-mips64/syscalls/gettimeofday.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(gettimeofday)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(gettimeofday)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getuid.S b/libc/arch-mips64/syscalls/getuid.S
index 4809a5a..3d5f940 100644
--- a/libc/arch-mips64/syscalls/getuid.S
+++ b/libc/arch-mips64/syscalls/getuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getuid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getuid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/getxattr.S b/libc/arch-mips64/syscalls/getxattr.S
index 7a7a4d4..1c443f2 100644
--- a/libc/arch-mips64/syscalls/getxattr.S
+++ b/libc/arch-mips64/syscalls/getxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getxattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(getxattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/init_module.S b/libc/arch-mips64/syscalls/init_module.S
index e46dedc..3e2f074 100644
--- a/libc/arch-mips64/syscalls/init_module.S
+++ b/libc/arch-mips64/syscalls/init_module.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(init_module)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(init_module)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/inotify_add_watch.S b/libc/arch-mips64/syscalls/inotify_add_watch.S
index 4a4fe5f..bffdad8 100644
--- a/libc/arch-mips64/syscalls/inotify_add_watch.S
+++ b/libc/arch-mips64/syscalls/inotify_add_watch.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_add_watch)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(inotify_add_watch)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/inotify_init1.S b/libc/arch-mips64/syscalls/inotify_init1.S
index 6ef6021..c70d101 100644
--- a/libc/arch-mips64/syscalls/inotify_init1.S
+++ b/libc/arch-mips64/syscalls/inotify_init1.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_init1)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(inotify_init1)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/inotify_rm_watch.S b/libc/arch-mips64/syscalls/inotify_rm_watch.S
index 10e239a..d893787 100644
--- a/libc/arch-mips64/syscalls/inotify_rm_watch.S
+++ b/libc/arch-mips64/syscalls/inotify_rm_watch.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_rm_watch)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(inotify_rm_watch)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/kill.S b/libc/arch-mips64/syscalls/kill.S
index f85a3ef..475b615 100644
--- a/libc/arch-mips64/syscalls/kill.S
+++ b/libc/arch-mips64/syscalls/kill.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(kill)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(kill)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/klogctl.S b/libc/arch-mips64/syscalls/klogctl.S
index 8e94b62..98b9f0b 100644
--- a/libc/arch-mips64/syscalls/klogctl.S
+++ b/libc/arch-mips64/syscalls/klogctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(klogctl)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(klogctl)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/lgetxattr.S b/libc/arch-mips64/syscalls/lgetxattr.S
index c5990ab..55d7c42 100644
--- a/libc/arch-mips64/syscalls/lgetxattr.S
+++ b/libc/arch-mips64/syscalls/lgetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lgetxattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(lgetxattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/linkat.S b/libc/arch-mips64/syscalls/linkat.S
index 88db867..df749eb 100644
--- a/libc/arch-mips64/syscalls/linkat.S
+++ b/libc/arch-mips64/syscalls/linkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(linkat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(linkat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/listen.S b/libc/arch-mips64/syscalls/listen.S
index 4db8789..195cade 100644
--- a/libc/arch-mips64/syscalls/listen.S
+++ b/libc/arch-mips64/syscalls/listen.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listen)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(listen)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/listxattr.S b/libc/arch-mips64/syscalls/listxattr.S
index 56b13f6..30b0f2b 100644
--- a/libc/arch-mips64/syscalls/listxattr.S
+++ b/libc/arch-mips64/syscalls/listxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listxattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(listxattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/llistxattr.S b/libc/arch-mips64/syscalls/llistxattr.S
index d800f7f..d3491163 100644
--- a/libc/arch-mips64/syscalls/llistxattr.S
+++ b/libc/arch-mips64/syscalls/llistxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(llistxattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(llistxattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/lremovexattr.S b/libc/arch-mips64/syscalls/lremovexattr.S
index e05733f..db4e4d3 100644
--- a/libc/arch-mips64/syscalls/lremovexattr.S
+++ b/libc/arch-mips64/syscalls/lremovexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lremovexattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(lremovexattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/lseek.S b/libc/arch-mips64/syscalls/lseek.S
index 34533cf..5c92d70 100644
--- a/libc/arch-mips64/syscalls/lseek.S
+++ b/libc/arch-mips64/syscalls/lseek.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lseek)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(lseek)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/lsetxattr.S b/libc/arch-mips64/syscalls/lsetxattr.S
index dea6add..c161eb3 100644
--- a/libc/arch-mips64/syscalls/lsetxattr.S
+++ b/libc/arch-mips64/syscalls/lsetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lsetxattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(lsetxattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/madvise.S b/libc/arch-mips64/syscalls/madvise.S
index ab174e9..88f3830 100644
--- a/libc/arch-mips64/syscalls/madvise.S
+++ b/libc/arch-mips64/syscalls/madvise.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(madvise)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(madvise)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/mincore.S b/libc/arch-mips64/syscalls/mincore.S
index 349d2f6..695c9b2 100644
--- a/libc/arch-mips64/syscalls/mincore.S
+++ b/libc/arch-mips64/syscalls/mincore.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mincore)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(mincore)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/mkdirat.S b/libc/arch-mips64/syscalls/mkdirat.S
index b395ba4..71cdfd1 100644
--- a/libc/arch-mips64/syscalls/mkdirat.S
+++ b/libc/arch-mips64/syscalls/mkdirat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mkdirat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(mkdirat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/mknodat.S b/libc/arch-mips64/syscalls/mknodat.S
index c13d979..9943e49 100644
--- a/libc/arch-mips64/syscalls/mknodat.S
+++ b/libc/arch-mips64/syscalls/mknodat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mknodat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(mknodat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/mlock.S b/libc/arch-mips64/syscalls/mlock.S
index 82338f3..081f12b 100644
--- a/libc/arch-mips64/syscalls/mlock.S
+++ b/libc/arch-mips64/syscalls/mlock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlock)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(mlock)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/mlockall.S b/libc/arch-mips64/syscalls/mlockall.S
index b34cf81..0e158f4 100644
--- a/libc/arch-mips64/syscalls/mlockall.S
+++ b/libc/arch-mips64/syscalls/mlockall.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlockall)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(mlockall)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/mmap.S b/libc/arch-mips64/syscalls/mmap.S
index 814b745..393271a 100644
--- a/libc/arch-mips64/syscalls/mmap.S
+++ b/libc/arch-mips64/syscalls/mmap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mmap)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(mmap)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/mount.S b/libc/arch-mips64/syscalls/mount.S
index 3f42df5..50c7541 100644
--- a/libc/arch-mips64/syscalls/mount.S
+++ b/libc/arch-mips64/syscalls/mount.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mount)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(mount)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/mprotect.S b/libc/arch-mips64/syscalls/mprotect.S
index adf9a67..d755489 100644
--- a/libc/arch-mips64/syscalls/mprotect.S
+++ b/libc/arch-mips64/syscalls/mprotect.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mprotect)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(mprotect)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/mremap.S b/libc/arch-mips64/syscalls/mremap.S
index 70c8a8c..cf7f1de 100644
--- a/libc/arch-mips64/syscalls/mremap.S
+++ b/libc/arch-mips64/syscalls/mremap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mremap)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(mremap)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/msync.S b/libc/arch-mips64/syscalls/msync.S
index dced6e7..efe31c1 100644
--- a/libc/arch-mips64/syscalls/msync.S
+++ b/libc/arch-mips64/syscalls/msync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(msync)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(msync)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/munlock.S b/libc/arch-mips64/syscalls/munlock.S
index 075c061..44b930a 100644
--- a/libc/arch-mips64/syscalls/munlock.S
+++ b/libc/arch-mips64/syscalls/munlock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlock)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(munlock)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/munlockall.S b/libc/arch-mips64/syscalls/munlockall.S
index 10ff274..ffeb5e1 100644
--- a/libc/arch-mips64/syscalls/munlockall.S
+++ b/libc/arch-mips64/syscalls/munlockall.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlockall)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(munlockall)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/munmap.S b/libc/arch-mips64/syscalls/munmap.S
index 5d0b0b0..cd0c05c 100644
--- a/libc/arch-mips64/syscalls/munmap.S
+++ b/libc/arch-mips64/syscalls/munmap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munmap)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(munmap)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/nanosleep.S b/libc/arch-mips64/syscalls/nanosleep.S
index a0c7d36..bdaf256 100644
--- a/libc/arch-mips64/syscalls/nanosleep.S
+++ b/libc/arch-mips64/syscalls/nanosleep.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(nanosleep)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(nanosleep)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/personality.S b/libc/arch-mips64/syscalls/personality.S
index 326cf24..6a12c95 100644
--- a/libc/arch-mips64/syscalls/personality.S
+++ b/libc/arch-mips64/syscalls/personality.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(personality)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(personality)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/pipe2.S b/libc/arch-mips64/syscalls/pipe2.S
index 8e207ac..1b08a45 100644
--- a/libc/arch-mips64/syscalls/pipe2.S
+++ b/libc/arch-mips64/syscalls/pipe2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pipe2)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(pipe2)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/prctl.S b/libc/arch-mips64/syscalls/prctl.S
index 9e805f4..61bb7c2 100644
--- a/libc/arch-mips64/syscalls/prctl.S
+++ b/libc/arch-mips64/syscalls/prctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prctl)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(prctl)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/pread64.S b/libc/arch-mips64/syscalls/pread64.S
index 3aa0620..90e0612 100644
--- a/libc/arch-mips64/syscalls/pread64.S
+++ b/libc/arch-mips64/syscalls/pread64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pread64)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(pread64)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/prlimit64.S b/libc/arch-mips64/syscalls/prlimit64.S
index f767ac1..5f0ba1d 100644
--- a/libc/arch-mips64/syscalls/prlimit64.S
+++ b/libc/arch-mips64/syscalls/prlimit64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prlimit64)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(prlimit64)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/pwrite64.S b/libc/arch-mips64/syscalls/pwrite64.S
index 8b3bcc0..e34f8db 100644
--- a/libc/arch-mips64/syscalls/pwrite64.S
+++ b/libc/arch-mips64/syscalls/pwrite64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pwrite64)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(pwrite64)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/read.S b/libc/arch-mips64/syscalls/read.S
index ab687d1..74d39df 100644
--- a/libc/arch-mips64/syscalls/read.S
+++ b/libc/arch-mips64/syscalls/read.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(read)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(read)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/readahead.S b/libc/arch-mips64/syscalls/readahead.S
index 1d9b15b..ae511d9 100644
--- a/libc/arch-mips64/syscalls/readahead.S
+++ b/libc/arch-mips64/syscalls/readahead.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readahead)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(readahead)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/readlinkat.S b/libc/arch-mips64/syscalls/readlinkat.S
index 24da46b..473a946 100644
--- a/libc/arch-mips64/syscalls/readlinkat.S
+++ b/libc/arch-mips64/syscalls/readlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readlinkat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(readlinkat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/readv.S b/libc/arch-mips64/syscalls/readv.S
index 6aca131..daa800c 100644
--- a/libc/arch-mips64/syscalls/readv.S
+++ b/libc/arch-mips64/syscalls/readv.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readv)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(readv)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/recvfrom.S b/libc/arch-mips64/syscalls/recvfrom.S
index b9fb037..4c9b5fa 100644
--- a/libc/arch-mips64/syscalls/recvfrom.S
+++ b/libc/arch-mips64/syscalls/recvfrom.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvfrom)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(recvfrom)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/recvmmsg.S b/libc/arch-mips64/syscalls/recvmmsg.S
index b187cf0..817250c 100644
--- a/libc/arch-mips64/syscalls/recvmmsg.S
+++ b/libc/arch-mips64/syscalls/recvmmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmmsg)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(recvmmsg)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/recvmsg.S b/libc/arch-mips64/syscalls/recvmsg.S
index 49dbb48..877899d 100644
--- a/libc/arch-mips64/syscalls/recvmsg.S
+++ b/libc/arch-mips64/syscalls/recvmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmsg)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(recvmsg)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/removexattr.S b/libc/arch-mips64/syscalls/removexattr.S
index 61d6da1..c9d8a0e 100644
--- a/libc/arch-mips64/syscalls/removexattr.S
+++ b/libc/arch-mips64/syscalls/removexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(removexattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(removexattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/renameat.S b/libc/arch-mips64/syscalls/renameat.S
index f012fad..16b9333 100644
--- a/libc/arch-mips64/syscalls/renameat.S
+++ b/libc/arch-mips64/syscalls/renameat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(renameat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(renameat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sched_get_priority_max.S b/libc/arch-mips64/syscalls/sched_get_priority_max.S
index 264545b..67e2675 100644
--- a/libc/arch-mips64/syscalls/sched_get_priority_max.S
+++ b/libc/arch-mips64/syscalls/sched_get_priority_max.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_max)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sched_get_priority_max)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sched_get_priority_min.S b/libc/arch-mips64/syscalls/sched_get_priority_min.S
index 4984abf..957f523 100644
--- a/libc/arch-mips64/syscalls/sched_get_priority_min.S
+++ b/libc/arch-mips64/syscalls/sched_get_priority_min.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_min)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sched_get_priority_min)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sched_getparam.S b/libc/arch-mips64/syscalls/sched_getparam.S
index 2837fc8..77bb4eb 100644
--- a/libc/arch-mips64/syscalls/sched_getparam.S
+++ b/libc/arch-mips64/syscalls/sched_getparam.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getparam)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sched_getparam)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sched_getscheduler.S b/libc/arch-mips64/syscalls/sched_getscheduler.S
index 3f8dbe3..324fa21 100644
--- a/libc/arch-mips64/syscalls/sched_getscheduler.S
+++ b/libc/arch-mips64/syscalls/sched_getscheduler.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getscheduler)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sched_getscheduler)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sched_rr_get_interval.S b/libc/arch-mips64/syscalls/sched_rr_get_interval.S
index 80ea18e..3019554 100644
--- a/libc/arch-mips64/syscalls/sched_rr_get_interval.S
+++ b/libc/arch-mips64/syscalls/sched_rr_get_interval.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_rr_get_interval)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sched_rr_get_interval)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sched_setaffinity.S b/libc/arch-mips64/syscalls/sched_setaffinity.S
index 843e06f..1520902 100644
--- a/libc/arch-mips64/syscalls/sched_setaffinity.S
+++ b/libc/arch-mips64/syscalls/sched_setaffinity.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setaffinity)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sched_setaffinity)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sched_setparam.S b/libc/arch-mips64/syscalls/sched_setparam.S
index 78435b1..a37b15c 100644
--- a/libc/arch-mips64/syscalls/sched_setparam.S
+++ b/libc/arch-mips64/syscalls/sched_setparam.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setparam)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sched_setparam)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sched_setscheduler.S b/libc/arch-mips64/syscalls/sched_setscheduler.S
index 7f78cc7..ea4c6c4 100644
--- a/libc/arch-mips64/syscalls/sched_setscheduler.S
+++ b/libc/arch-mips64/syscalls/sched_setscheduler.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setscheduler)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sched_setscheduler)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sched_yield.S b/libc/arch-mips64/syscalls/sched_yield.S
index f81b7ef..5d86ea5 100644
--- a/libc/arch-mips64/syscalls/sched_yield.S
+++ b/libc/arch-mips64/syscalls/sched_yield.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_yield)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sched_yield)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sendfile.S b/libc/arch-mips64/syscalls/sendfile.S
index c3e80de..f330242 100644
--- a/libc/arch-mips64/syscalls/sendfile.S
+++ b/libc/arch-mips64/syscalls/sendfile.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendfile)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sendfile)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sendmmsg.S b/libc/arch-mips64/syscalls/sendmmsg.S
index 40efcb6..4a8d855 100644
--- a/libc/arch-mips64/syscalls/sendmmsg.S
+++ b/libc/arch-mips64/syscalls/sendmmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmmsg)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sendmmsg)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sendmsg.S b/libc/arch-mips64/syscalls/sendmsg.S
index 9f90717..519dce4 100644
--- a/libc/arch-mips64/syscalls/sendmsg.S
+++ b/libc/arch-mips64/syscalls/sendmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmsg)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sendmsg)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sendto.S b/libc/arch-mips64/syscalls/sendto.S
index 3ebfbae..84efc09 100644
--- a/libc/arch-mips64/syscalls/sendto.S
+++ b/libc/arch-mips64/syscalls/sendto.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendto)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sendto)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setfsgid.S b/libc/arch-mips64/syscalls/setfsgid.S
index 9b36038..db1bd7f 100644
--- a/libc/arch-mips64/syscalls/setfsgid.S
+++ b/libc/arch-mips64/syscalls/setfsgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsgid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setfsgid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setfsuid.S b/libc/arch-mips64/syscalls/setfsuid.S
index e42601f..4254b18 100644
--- a/libc/arch-mips64/syscalls/setfsuid.S
+++ b/libc/arch-mips64/syscalls/setfsuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsuid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setfsuid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setgid.S b/libc/arch-mips64/syscalls/setgid.S
index 7ce8599..166a6d6 100644
--- a/libc/arch-mips64/syscalls/setgid.S
+++ b/libc/arch-mips64/syscalls/setgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setgid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setgroups.S b/libc/arch-mips64/syscalls/setgroups.S
index 2724068..24649f7 100644
--- a/libc/arch-mips64/syscalls/setgroups.S
+++ b/libc/arch-mips64/syscalls/setgroups.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgroups)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setgroups)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setitimer.S b/libc/arch-mips64/syscalls/setitimer.S
index f5dcff0..5764573 100644
--- a/libc/arch-mips64/syscalls/setitimer.S
+++ b/libc/arch-mips64/syscalls/setitimer.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setitimer)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setitimer)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setns.S b/libc/arch-mips64/syscalls/setns.S
index cbe2e06..6b6178f 100644
--- a/libc/arch-mips64/syscalls/setns.S
+++ b/libc/arch-mips64/syscalls/setns.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setns)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setns)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setpgid.S b/libc/arch-mips64/syscalls/setpgid.S
index da44532..233f784 100644
--- a/libc/arch-mips64/syscalls/setpgid.S
+++ b/libc/arch-mips64/syscalls/setpgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpgid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setpgid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setpriority.S b/libc/arch-mips64/syscalls/setpriority.S
index 150a5d4..d88a2ff 100644
--- a/libc/arch-mips64/syscalls/setpriority.S
+++ b/libc/arch-mips64/syscalls/setpriority.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpriority)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setpriority)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setregid.S b/libc/arch-mips64/syscalls/setregid.S
index b80115c..c82b4fd 100644
--- a/libc/arch-mips64/syscalls/setregid.S
+++ b/libc/arch-mips64/syscalls/setregid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setregid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setregid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setresgid.S b/libc/arch-mips64/syscalls/setresgid.S
index 0fbf302..90b2939 100644
--- a/libc/arch-mips64/syscalls/setresgid.S
+++ b/libc/arch-mips64/syscalls/setresgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresgid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setresgid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setresuid.S b/libc/arch-mips64/syscalls/setresuid.S
index 89af745..501ac5d 100644
--- a/libc/arch-mips64/syscalls/setresuid.S
+++ b/libc/arch-mips64/syscalls/setresuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresuid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setresuid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setreuid.S b/libc/arch-mips64/syscalls/setreuid.S
index 797091f..1b3203c 100644
--- a/libc/arch-mips64/syscalls/setreuid.S
+++ b/libc/arch-mips64/syscalls/setreuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setreuid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setreuid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setrlimit.S b/libc/arch-mips64/syscalls/setrlimit.S
index 034f3db..0e5e80e 100644
--- a/libc/arch-mips64/syscalls/setrlimit.S
+++ b/libc/arch-mips64/syscalls/setrlimit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setrlimit)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setrlimit)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setsid.S b/libc/arch-mips64/syscalls/setsid.S
index ef14eba..6d872d3 100644
--- a/libc/arch-mips64/syscalls/setsid.S
+++ b/libc/arch-mips64/syscalls/setsid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setsid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setsockopt.S b/libc/arch-mips64/syscalls/setsockopt.S
index 5c263bd..b2fc736 100644
--- a/libc/arch-mips64/syscalls/setsockopt.S
+++ b/libc/arch-mips64/syscalls/setsockopt.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsockopt)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setsockopt)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/settimeofday.S b/libc/arch-mips64/syscalls/settimeofday.S
index a73638f..9f1acfe 100644
--- a/libc/arch-mips64/syscalls/settimeofday.S
+++ b/libc/arch-mips64/syscalls/settimeofday.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(settimeofday)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(settimeofday)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setuid.S b/libc/arch-mips64/syscalls/setuid.S
index 4321fae..dcd39ff 100644
--- a/libc/arch-mips64/syscalls/setuid.S
+++ b/libc/arch-mips64/syscalls/setuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setuid)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setuid)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/setxattr.S b/libc/arch-mips64/syscalls/setxattr.S
index 58ccb5f..4a1b87a 100644
--- a/libc/arch-mips64/syscalls/setxattr.S
+++ b/libc/arch-mips64/syscalls/setxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setxattr)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(setxattr)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/shutdown.S b/libc/arch-mips64/syscalls/shutdown.S
index cdd6c78..d654288 100644
--- a/libc/arch-mips64/syscalls/shutdown.S
+++ b/libc/arch-mips64/syscalls/shutdown.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(shutdown)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(shutdown)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sigaltstack.S b/libc/arch-mips64/syscalls/sigaltstack.S
index a2e663c..92778c1 100644
--- a/libc/arch-mips64/syscalls/sigaltstack.S
+++ b/libc/arch-mips64/syscalls/sigaltstack.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sigaltstack)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sigaltstack)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/socketpair.S b/libc/arch-mips64/syscalls/socketpair.S
index 7be7814..8fbf7a8 100644
--- a/libc/arch-mips64/syscalls/socketpair.S
+++ b/libc/arch-mips64/syscalls/socketpair.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(socketpair)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(socketpair)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/splice.S b/libc/arch-mips64/syscalls/splice.S
index efee6cd..ea745cf 100644
--- a/libc/arch-mips64/syscalls/splice.S
+++ b/libc/arch-mips64/syscalls/splice.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(splice)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(splice)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/statfs64.S b/libc/arch-mips64/syscalls/statfs64.S
index d377522..74351f7 100644
--- a/libc/arch-mips64/syscalls/statfs64.S
+++ b/libc/arch-mips64/syscalls/statfs64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(statfs64)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(statfs64)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/swapoff.S b/libc/arch-mips64/syscalls/swapoff.S
index b257b1e..8c0048d 100644
--- a/libc/arch-mips64/syscalls/swapoff.S
+++ b/libc/arch-mips64/syscalls/swapoff.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapoff)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(swapoff)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/swapon.S b/libc/arch-mips64/syscalls/swapon.S
index e18ff4c..e8f6ff2 100644
--- a/libc/arch-mips64/syscalls/swapon.S
+++ b/libc/arch-mips64/syscalls/swapon.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapon)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(swapon)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/symlinkat.S b/libc/arch-mips64/syscalls/symlinkat.S
index 560bf0d..592b8e2 100644
--- a/libc/arch-mips64/syscalls/symlinkat.S
+++ b/libc/arch-mips64/syscalls/symlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(symlinkat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(symlinkat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sync.S b/libc/arch-mips64/syscalls/sync.S
index 240a6d4..8997c1b 100644
--- a/libc/arch-mips64/syscalls/sync.S
+++ b/libc/arch-mips64/syscalls/sync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sync)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sync)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/sysinfo.S b/libc/arch-mips64/syscalls/sysinfo.S
index 6b07be3..a54e158 100644
--- a/libc/arch-mips64/syscalls/sysinfo.S
+++ b/libc/arch-mips64/syscalls/sysinfo.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sysinfo)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(sysinfo)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/tee.S b/libc/arch-mips64/syscalls/tee.S
index 0115f71..99cf84b 100644
--- a/libc/arch-mips64/syscalls/tee.S
+++ b/libc/arch-mips64/syscalls/tee.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tee)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(tee)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/tgkill.S b/libc/arch-mips64/syscalls/tgkill.S
index bf30a8d..f37f792 100644
--- a/libc/arch-mips64/syscalls/tgkill.S
+++ b/libc/arch-mips64/syscalls/tgkill.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tgkill)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(tgkill)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/timerfd_create.S b/libc/arch-mips64/syscalls/timerfd_create.S
index e65874f..0e53a15 100644
--- a/libc/arch-mips64/syscalls/timerfd_create.S
+++ b/libc/arch-mips64/syscalls/timerfd_create.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_create)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(timerfd_create)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/timerfd_gettime.S b/libc/arch-mips64/syscalls/timerfd_gettime.S
index a843598..26d6832 100644
--- a/libc/arch-mips64/syscalls/timerfd_gettime.S
+++ b/libc/arch-mips64/syscalls/timerfd_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_gettime)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(timerfd_gettime)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/timerfd_settime.S b/libc/arch-mips64/syscalls/timerfd_settime.S
index 8c5994f..b06290e 100644
--- a/libc/arch-mips64/syscalls/timerfd_settime.S
+++ b/libc/arch-mips64/syscalls/timerfd_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_settime)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(timerfd_settime)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/times.S b/libc/arch-mips64/syscalls/times.S
index ff504e7..fa7f64f 100644
--- a/libc/arch-mips64/syscalls/times.S
+++ b/libc/arch-mips64/syscalls/times.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(times)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(times)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/truncate.S b/libc/arch-mips64/syscalls/truncate.S
index 3fc06a2..fb3b7eb 100644
--- a/libc/arch-mips64/syscalls/truncate.S
+++ b/libc/arch-mips64/syscalls/truncate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(truncate)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(truncate)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/umask.S b/libc/arch-mips64/syscalls/umask.S
index 9e6c910..9349030 100644
--- a/libc/arch-mips64/syscalls/umask.S
+++ b/libc/arch-mips64/syscalls/umask.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umask)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(umask)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/umount2.S b/libc/arch-mips64/syscalls/umount2.S
index f8d1996..cc9ad16 100644
--- a/libc/arch-mips64/syscalls/umount2.S
+++ b/libc/arch-mips64/syscalls/umount2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umount2)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(umount2)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/uname.S b/libc/arch-mips64/syscalls/uname.S
index ce93f08..16157da 100644
--- a/libc/arch-mips64/syscalls/uname.S
+++ b/libc/arch-mips64/syscalls/uname.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(uname)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(uname)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/unlinkat.S b/libc/arch-mips64/syscalls/unlinkat.S
index 870e8d7..4b11679 100644
--- a/libc/arch-mips64/syscalls/unlinkat.S
+++ b/libc/arch-mips64/syscalls/unlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unlinkat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(unlinkat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/unshare.S b/libc/arch-mips64/syscalls/unshare.S
index 231c29a..2c82fea 100644
--- a/libc/arch-mips64/syscalls/unshare.S
+++ b/libc/arch-mips64/syscalls/unshare.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unshare)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(unshare)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/utimensat.S b/libc/arch-mips64/syscalls/utimensat.S
index 4b4243e..48da938 100644
--- a/libc/arch-mips64/syscalls/utimensat.S
+++ b/libc/arch-mips64/syscalls/utimensat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(utimensat)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(utimensat)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/vmsplice.S b/libc/arch-mips64/syscalls/vmsplice.S
index f854004..3bcae74 100644
--- a/libc/arch-mips64/syscalls/vmsplice.S
+++ b/libc/arch-mips64/syscalls/vmsplice.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(vmsplice)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(vmsplice)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/wait4.S b/libc/arch-mips64/syscalls/wait4.S
index 2d2b487..f9c3974 100644
--- a/libc/arch-mips64/syscalls/wait4.S
+++ b/libc/arch-mips64/syscalls/wait4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(wait4)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(wait4)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/write.S b/libc/arch-mips64/syscalls/write.S
index f603fb5..ef9b19e 100644
--- a/libc/arch-mips64/syscalls/write.S
+++ b/libc/arch-mips64/syscalls/write.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(write)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(write)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-mips64/syscalls/writev.S b/libc/arch-mips64/syscalls/writev.S
index 032e749..d103d71 100644
--- a/libc/arch-mips64/syscalls/writev.S
+++ b/libc/arch-mips64/syscalls/writev.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(writev)
.set push
.set noreorder
@@ -19,7 +17,7 @@ ENTRY(writev)
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
diff --git a/libc/arch-x86/bionic/__bionic_clone.S b/libc/arch-x86/bionic/__bionic_clone.S
index 917dc68..ef78aee 100644
--- a/libc/arch-x86/bionic/__bionic_clone.S
+++ b/libc/arch-x86/bionic/__bionic_clone.S
@@ -32,7 +32,7 @@ ENTRY(__bionic_clone)
# An error occurred, so set errno and return -1.
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
jmp .L_bc_return
diff --git a/libc/arch-x86/bionic/syscall.S b/libc/arch-x86/bionic/syscall.S
index 8e76c4e..f85ec39 100644
--- a/libc/arch-x86/bionic/syscall.S
+++ b/libc/arch-x86/bionic/syscall.S
@@ -38,7 +38,7 @@ ENTRY(syscall)
# Yes, so set errno.
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
# Restore the callee save registers.
diff --git a/libc/arch-x86/bionic/vfork.S b/libc/arch-x86/bionic/vfork.S
index ffa6b16..6c02910 100644
--- a/libc/arch-x86/bionic/vfork.S
+++ b/libc/arch-x86/bionic/vfork.S
@@ -38,7 +38,7 @@ ENTRY(vfork)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
1:
jmp *%ecx // Jump to the stored return address.
END(vfork)
diff --git a/libc/arch-x86/syscalls/__accept4.S b/libc/arch-x86/syscalls/__accept4.S
index c28f211..7b16dd4 100644
--- a/libc/arch-x86/syscalls/__accept4.S
+++ b/libc/arch-x86/syscalls/__accept4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__accept4)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(__accept4)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/__brk.S b/libc/arch-x86/syscalls/__brk.S
index c5702cf..22acdad 100644
--- a/libc/arch-x86/syscalls/__brk.S
+++ b/libc/arch-x86/syscalls/__brk.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__brk)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(__brk)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/__connect.S b/libc/arch-x86/syscalls/__connect.S
index 4f845b7..475d452 100644
--- a/libc/arch-x86/syscalls/__connect.S
+++ b/libc/arch-x86/syscalls/__connect.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__connect)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(__connect)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/__epoll_pwait.S b/libc/arch-x86/syscalls/__epoll_pwait.S
index c7acb2b..171caa5 100644
--- a/libc/arch-x86/syscalls/__epoll_pwait.S
+++ b/libc/arch-x86/syscalls/__epoll_pwait.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__epoll_pwait)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -35,7 +33,7 @@ ENTRY(__epoll_pwait)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebp
diff --git a/libc/arch-x86/syscalls/__exit.S b/libc/arch-x86/syscalls/__exit.S
index bf76e04..8cf3663 100644
--- a/libc/arch-x86/syscalls/__exit.S
+++ b/libc/arch-x86/syscalls/__exit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__exit)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(__exit)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/__fcntl64.S b/libc/arch-x86/syscalls/__fcntl64.S
index 7c41c88..d900a52 100644
--- a/libc/arch-x86/syscalls/__fcntl64.S
+++ b/libc/arch-x86/syscalls/__fcntl64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__fcntl64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(__fcntl64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/__fstatfs64.S b/libc/arch-x86/syscalls/__fstatfs64.S
index b182ae3..9b44743 100644
--- a/libc/arch-x86/syscalls/__fstatfs64.S
+++ b/libc/arch-x86/syscalls/__fstatfs64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__fstatfs64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(__fstatfs64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/__getcpu.S b/libc/arch-x86/syscalls/__getcpu.S
index 4cdbafa..bb4c41f 100644
--- a/libc/arch-x86/syscalls/__getcpu.S
+++ b/libc/arch-x86/syscalls/__getcpu.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcpu)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(__getcpu)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/__getcwd.S b/libc/arch-x86/syscalls/__getcwd.S
index f5b9b9c..8decd99 100644
--- a/libc/arch-x86/syscalls/__getcwd.S
+++ b/libc/arch-x86/syscalls/__getcwd.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcwd)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(__getcwd)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/__getdents64.S b/libc/arch-x86/syscalls/__getdents64.S
index 0ff217d..5190a68 100644
--- a/libc/arch-x86/syscalls/__getdents64.S
+++ b/libc/arch-x86/syscalls/__getdents64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getdents64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(__getdents64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/__getpid.S b/libc/arch-x86/syscalls/__getpid.S
index 6a3602e..197202c 100644
--- a/libc/arch-x86/syscalls/__getpid.S
+++ b/libc/arch-x86/syscalls/__getpid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpid)
movl $__NR_getpid, %eax
int $0x80
@@ -11,7 +9,7 @@ ENTRY(__getpid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
ret
diff --git a/libc/arch-x86/syscalls/__getpriority.S b/libc/arch-x86/syscalls/__getpriority.S
index 6a94f43..dd5591f 100644
--- a/libc/arch-x86/syscalls/__getpriority.S
+++ b/libc/arch-x86/syscalls/__getpriority.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpriority)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(__getpriority)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/__ioctl.S b/libc/arch-x86/syscalls/__ioctl.S
index edb990a..b6ee9f2 100644
--- a/libc/arch-x86/syscalls/__ioctl.S
+++ b/libc/arch-x86/syscalls/__ioctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ioctl)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(__ioctl)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/__llseek.S b/libc/arch-x86/syscalls/__llseek.S
index db39106..5cc907a 100644
--- a/libc/arch-x86/syscalls/__llseek.S
+++ b/libc/arch-x86/syscalls/__llseek.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__llseek)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(__llseek)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/__mmap2.S b/libc/arch-x86/syscalls/__mmap2.S
index 5c8f2a3..08314c8 100644
--- a/libc/arch-x86/syscalls/__mmap2.S
+++ b/libc/arch-x86/syscalls/__mmap2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__mmap2)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -35,7 +33,7 @@ ENTRY(__mmap2)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebp
diff --git a/libc/arch-x86/syscalls/__openat.S b/libc/arch-x86/syscalls/__openat.S
index 87687e5..4c11709 100644
--- a/libc/arch-x86/syscalls/__openat.S
+++ b/libc/arch-x86/syscalls/__openat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__openat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(__openat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/__ppoll.S b/libc/arch-x86/syscalls/__ppoll.S
index e48f841..2a1f76e 100644
--- a/libc/arch-x86/syscalls/__ppoll.S
+++ b/libc/arch-x86/syscalls/__ppoll.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ppoll)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(__ppoll)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/__pselect6.S b/libc/arch-x86/syscalls/__pselect6.S
index 53edb8c..8ff102a 100644
--- a/libc/arch-x86/syscalls/__pselect6.S
+++ b/libc/arch-x86/syscalls/__pselect6.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__pselect6)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -35,7 +33,7 @@ ENTRY(__pselect6)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebp
diff --git a/libc/arch-x86/syscalls/__ptrace.S b/libc/arch-x86/syscalls/__ptrace.S
index 9d1e460..d982cec 100644
--- a/libc/arch-x86/syscalls/__ptrace.S
+++ b/libc/arch-x86/syscalls/__ptrace.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ptrace)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(__ptrace)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/__reboot.S b/libc/arch-x86/syscalls/__reboot.S
index 3ef78bb..3d169bf 100644
--- a/libc/arch-x86/syscalls/__reboot.S
+++ b/libc/arch-x86/syscalls/__reboot.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__reboot)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(__reboot)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/__rt_sigaction.S b/libc/arch-x86/syscalls/__rt_sigaction.S
index 1ce7ef9..59c3882 100644
--- a/libc/arch-x86/syscalls/__rt_sigaction.S
+++ b/libc/arch-x86/syscalls/__rt_sigaction.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigaction)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(__rt_sigaction)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/__rt_sigpending.S b/libc/arch-x86/syscalls/__rt_sigpending.S
index a4cb3c1..9c6a106 100644
--- a/libc/arch-x86/syscalls/__rt_sigpending.S
+++ b/libc/arch-x86/syscalls/__rt_sigpending.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigpending)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(__rt_sigpending)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/__rt_sigprocmask.S b/libc/arch-x86/syscalls/__rt_sigprocmask.S
index 9d8e90d..9b1532f 100644
--- a/libc/arch-x86/syscalls/__rt_sigprocmask.S
+++ b/libc/arch-x86/syscalls/__rt_sigprocmask.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigprocmask)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(__rt_sigprocmask)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/__rt_sigsuspend.S b/libc/arch-x86/syscalls/__rt_sigsuspend.S
index e0d0c3d..b05acd8 100644
--- a/libc/arch-x86/syscalls/__rt_sigsuspend.S
+++ b/libc/arch-x86/syscalls/__rt_sigsuspend.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigsuspend)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(__rt_sigsuspend)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/__rt_sigtimedwait.S b/libc/arch-x86/syscalls/__rt_sigtimedwait.S
index 091c1a7..14cb70f 100644
--- a/libc/arch-x86/syscalls/__rt_sigtimedwait.S
+++ b/libc/arch-x86/syscalls/__rt_sigtimedwait.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigtimedwait)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(__rt_sigtimedwait)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/__sched_getaffinity.S b/libc/arch-x86/syscalls/__sched_getaffinity.S
index 2c278db..0b0a970 100644
--- a/libc/arch-x86/syscalls/__sched_getaffinity.S
+++ b/libc/arch-x86/syscalls/__sched_getaffinity.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__sched_getaffinity)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(__sched_getaffinity)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/__set_thread_area.S b/libc/arch-x86/syscalls/__set_thread_area.S
index 29e1238..8cd6880 100644
--- a/libc/arch-x86/syscalls/__set_thread_area.S
+++ b/libc/arch-x86/syscalls/__set_thread_area.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__set_thread_area)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(__set_thread_area)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/__set_tid_address.S b/libc/arch-x86/syscalls/__set_tid_address.S
index 3517442..08acce9 100644
--- a/libc/arch-x86/syscalls/__set_tid_address.S
+++ b/libc/arch-x86/syscalls/__set_tid_address.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__set_tid_address)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(__set_tid_address)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/__sigaction.S b/libc/arch-x86/syscalls/__sigaction.S
index 0a3e77e..0238247 100644
--- a/libc/arch-x86/syscalls/__sigaction.S
+++ b/libc/arch-x86/syscalls/__sigaction.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__sigaction)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(__sigaction)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/__signalfd4.S b/libc/arch-x86/syscalls/__signalfd4.S
index acfced5..02ddc73 100644
--- a/libc/arch-x86/syscalls/__signalfd4.S
+++ b/libc/arch-x86/syscalls/__signalfd4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__signalfd4)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(__signalfd4)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/__socket.S b/libc/arch-x86/syscalls/__socket.S
index 59988f3..75952ee 100644
--- a/libc/arch-x86/syscalls/__socket.S
+++ b/libc/arch-x86/syscalls/__socket.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__socket)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(__socket)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/__statfs64.S b/libc/arch-x86/syscalls/__statfs64.S
index 63d866e..b9bccb0 100644
--- a/libc/arch-x86/syscalls/__statfs64.S
+++ b/libc/arch-x86/syscalls/__statfs64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__statfs64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(__statfs64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/__timer_create.S b/libc/arch-x86/syscalls/__timer_create.S
index 1265aa6..b22f408 100644
--- a/libc/arch-x86/syscalls/__timer_create.S
+++ b/libc/arch-x86/syscalls/__timer_create.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_create)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(__timer_create)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/__timer_delete.S b/libc/arch-x86/syscalls/__timer_delete.S
index bc1fbc5..d77ae3e 100644
--- a/libc/arch-x86/syscalls/__timer_delete.S
+++ b/libc/arch-x86/syscalls/__timer_delete.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_delete)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(__timer_delete)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/__timer_getoverrun.S b/libc/arch-x86/syscalls/__timer_getoverrun.S
index 2a8de1e..f21b08f 100644
--- a/libc/arch-x86/syscalls/__timer_getoverrun.S
+++ b/libc/arch-x86/syscalls/__timer_getoverrun.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_getoverrun)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(__timer_getoverrun)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/__timer_gettime.S b/libc/arch-x86/syscalls/__timer_gettime.S
index 9edd15a..73c8539 100644
--- a/libc/arch-x86/syscalls/__timer_gettime.S
+++ b/libc/arch-x86/syscalls/__timer_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_gettime)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(__timer_gettime)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/__timer_settime.S b/libc/arch-x86/syscalls/__timer_settime.S
index 4bb0790..1a6a8ec 100644
--- a/libc/arch-x86/syscalls/__timer_settime.S
+++ b/libc/arch-x86/syscalls/__timer_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_settime)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(__timer_settime)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/__waitid.S b/libc/arch-x86/syscalls/__waitid.S
index 331baf5..2061abc 100644
--- a/libc/arch-x86/syscalls/__waitid.S
+++ b/libc/arch-x86/syscalls/__waitid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__waitid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(__waitid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/_exit.S b/libc/arch-x86/syscalls/_exit.S
index 0da6e79..8528ee4 100644
--- a/libc/arch-x86/syscalls/_exit.S
+++ b/libc/arch-x86/syscalls/_exit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(_exit)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(_exit)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/acct.S b/libc/arch-x86/syscalls/acct.S
index 34a23a4..d831771 100644
--- a/libc/arch-x86/syscalls/acct.S
+++ b/libc/arch-x86/syscalls/acct.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(acct)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(acct)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/bind.S b/libc/arch-x86/syscalls/bind.S
index 1d45319..9ef817e 100644
--- a/libc/arch-x86/syscalls/bind.S
+++ b/libc/arch-x86/syscalls/bind.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(bind)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(bind)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/capget.S b/libc/arch-x86/syscalls/capget.S
index 82b5b73..81c24e8 100644
--- a/libc/arch-x86/syscalls/capget.S
+++ b/libc/arch-x86/syscalls/capget.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capget)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(capget)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/capset.S b/libc/arch-x86/syscalls/capset.S
index 79e8747..4e311e9 100644
--- a/libc/arch-x86/syscalls/capset.S
+++ b/libc/arch-x86/syscalls/capset.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capset)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(capset)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/chdir.S b/libc/arch-x86/syscalls/chdir.S
index 98bdf37..2226a1a 100644
--- a/libc/arch-x86/syscalls/chdir.S
+++ b/libc/arch-x86/syscalls/chdir.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chdir)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(chdir)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/chroot.S b/libc/arch-x86/syscalls/chroot.S
index 978eec7..95ed0b5 100644
--- a/libc/arch-x86/syscalls/chroot.S
+++ b/libc/arch-x86/syscalls/chroot.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chroot)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(chroot)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/clock_getres.S b/libc/arch-x86/syscalls/clock_getres.S
index c93a279..9501799 100644
--- a/libc/arch-x86/syscalls/clock_getres.S
+++ b/libc/arch-x86/syscalls/clock_getres.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_getres)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(clock_getres)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/clock_gettime.S b/libc/arch-x86/syscalls/clock_gettime.S
index 9c5c240..0875cfb 100644
--- a/libc/arch-x86/syscalls/clock_gettime.S
+++ b/libc/arch-x86/syscalls/clock_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_gettime)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(clock_gettime)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/clock_nanosleep.S b/libc/arch-x86/syscalls/clock_nanosleep.S
index edadec2..5e2cc03 100644
--- a/libc/arch-x86/syscalls/clock_nanosleep.S
+++ b/libc/arch-x86/syscalls/clock_nanosleep.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_nanosleep)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(clock_nanosleep)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/clock_settime.S b/libc/arch-x86/syscalls/clock_settime.S
index 41012d0..96fafed 100644
--- a/libc/arch-x86/syscalls/clock_settime.S
+++ b/libc/arch-x86/syscalls/clock_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_settime)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(clock_settime)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/close.S b/libc/arch-x86/syscalls/close.S
index b73c4b4..f6cce62 100644
--- a/libc/arch-x86/syscalls/close.S
+++ b/libc/arch-x86/syscalls/close.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(close)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(close)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/delete_module.S b/libc/arch-x86/syscalls/delete_module.S
index 73a5128..58b8d6b 100644
--- a/libc/arch-x86/syscalls/delete_module.S
+++ b/libc/arch-x86/syscalls/delete_module.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(delete_module)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(delete_module)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/dup.S b/libc/arch-x86/syscalls/dup.S
index f8e8772..0fd9cce 100644
--- a/libc/arch-x86/syscalls/dup.S
+++ b/libc/arch-x86/syscalls/dup.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(dup)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/dup3.S b/libc/arch-x86/syscalls/dup3.S
index 1203e64..8348660 100644
--- a/libc/arch-x86/syscalls/dup3.S
+++ b/libc/arch-x86/syscalls/dup3.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup3)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(dup3)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/epoll_create1.S b/libc/arch-x86/syscalls/epoll_create1.S
index 6384b92..0fcd09c 100644
--- a/libc/arch-x86/syscalls/epoll_create1.S
+++ b/libc/arch-x86/syscalls/epoll_create1.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_create1)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(epoll_create1)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/epoll_ctl.S b/libc/arch-x86/syscalls/epoll_ctl.S
index cdc880e..092c1e0 100644
--- a/libc/arch-x86/syscalls/epoll_ctl.S
+++ b/libc/arch-x86/syscalls/epoll_ctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_ctl)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(epoll_ctl)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/eventfd.S b/libc/arch-x86/syscalls/eventfd.S
index fe85967..cc165e5 100644
--- a/libc/arch-x86/syscalls/eventfd.S
+++ b/libc/arch-x86/syscalls/eventfd.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(eventfd)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(eventfd)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/execve.S b/libc/arch-x86/syscalls/execve.S
index a897c42..e1c0253 100644
--- a/libc/arch-x86/syscalls/execve.S
+++ b/libc/arch-x86/syscalls/execve.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(execve)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(execve)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/faccessat.S b/libc/arch-x86/syscalls/faccessat.S
index 4ac3e2a..9d52231 100644
--- a/libc/arch-x86/syscalls/faccessat.S
+++ b/libc/arch-x86/syscalls/faccessat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(faccessat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(faccessat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/fallocate64.S b/libc/arch-x86/syscalls/fallocate64.S
index e1dfa08..e2a7c3e 100644
--- a/libc/arch-x86/syscalls/fallocate64.S
+++ b/libc/arch-x86/syscalls/fallocate64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fallocate64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -35,7 +33,7 @@ ENTRY(fallocate64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebp
diff --git a/libc/arch-x86/syscalls/fchdir.S b/libc/arch-x86/syscalls/fchdir.S
index af43acb..c40c2c1 100644
--- a/libc/arch-x86/syscalls/fchdir.S
+++ b/libc/arch-x86/syscalls/fchdir.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchdir)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(fchdir)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/fchmod.S b/libc/arch-x86/syscalls/fchmod.S
index 5c58359..37851ff 100644
--- a/libc/arch-x86/syscalls/fchmod.S
+++ b/libc/arch-x86/syscalls/fchmod.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmod)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(fchmod)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/fchmodat.S b/libc/arch-x86/syscalls/fchmodat.S
index aed8d29..f515512 100644
--- a/libc/arch-x86/syscalls/fchmodat.S
+++ b/libc/arch-x86/syscalls/fchmodat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmodat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(fchmodat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/fchown.S b/libc/arch-x86/syscalls/fchown.S
index da80251..1a4f749 100644
--- a/libc/arch-x86/syscalls/fchown.S
+++ b/libc/arch-x86/syscalls/fchown.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchown)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(fchown)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/fchownat.S b/libc/arch-x86/syscalls/fchownat.S
index 8514243..c2b358e 100644
--- a/libc/arch-x86/syscalls/fchownat.S
+++ b/libc/arch-x86/syscalls/fchownat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchownat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(fchownat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/fdatasync.S b/libc/arch-x86/syscalls/fdatasync.S
index fc2c163..debd4e3 100644
--- a/libc/arch-x86/syscalls/fdatasync.S
+++ b/libc/arch-x86/syscalls/fdatasync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fdatasync)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(fdatasync)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/fgetxattr.S b/libc/arch-x86/syscalls/fgetxattr.S
index 767a675..1eff931 100644
--- a/libc/arch-x86/syscalls/fgetxattr.S
+++ b/libc/arch-x86/syscalls/fgetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fgetxattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(fgetxattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/flistxattr.S b/libc/arch-x86/syscalls/flistxattr.S
index dbb4977..fc81a37 100644
--- a/libc/arch-x86/syscalls/flistxattr.S
+++ b/libc/arch-x86/syscalls/flistxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flistxattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(flistxattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/flock.S b/libc/arch-x86/syscalls/flock.S
index b4b748e..0fc76a8 100644
--- a/libc/arch-x86/syscalls/flock.S
+++ b/libc/arch-x86/syscalls/flock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flock)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(flock)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/fremovexattr.S b/libc/arch-x86/syscalls/fremovexattr.S
index c34cbc4..2053a9a 100644
--- a/libc/arch-x86/syscalls/fremovexattr.S
+++ b/libc/arch-x86/syscalls/fremovexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fremovexattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(fremovexattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/fsetxattr.S b/libc/arch-x86/syscalls/fsetxattr.S
index 5593dca..7af0ef0 100644
--- a/libc/arch-x86/syscalls/fsetxattr.S
+++ b/libc/arch-x86/syscalls/fsetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsetxattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(fsetxattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/fstat64.S b/libc/arch-x86/syscalls/fstat64.S
index 2e29ae5..fc16233 100644
--- a/libc/arch-x86/syscalls/fstat64.S
+++ b/libc/arch-x86/syscalls/fstat64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstat64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(fstat64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/fstatat64.S b/libc/arch-x86/syscalls/fstatat64.S
index 72922cb..a3697e6 100644
--- a/libc/arch-x86/syscalls/fstatat64.S
+++ b/libc/arch-x86/syscalls/fstatat64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstatat64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(fstatat64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/fsync.S b/libc/arch-x86/syscalls/fsync.S
index af10e9a..b19a3ab 100644
--- a/libc/arch-x86/syscalls/fsync.S
+++ b/libc/arch-x86/syscalls/fsync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsync)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(fsync)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/ftruncate.S b/libc/arch-x86/syscalls/ftruncate.S
index 7343985..78d1e18 100644
--- a/libc/arch-x86/syscalls/ftruncate.S
+++ b/libc/arch-x86/syscalls/ftruncate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(ftruncate)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(ftruncate)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/ftruncate64.S b/libc/arch-x86/syscalls/ftruncate64.S
index 47b925b..7233447 100644
--- a/libc/arch-x86/syscalls/ftruncate64.S
+++ b/libc/arch-x86/syscalls/ftruncate64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(ftruncate64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(ftruncate64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/getegid.S b/libc/arch-x86/syscalls/getegid.S
index bc21b5a..729b7ad 100644
--- a/libc/arch-x86/syscalls/getegid.S
+++ b/libc/arch-x86/syscalls/getegid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getegid)
movl $__NR_getegid32, %eax
int $0x80
@@ -11,7 +9,7 @@ ENTRY(getegid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
ret
diff --git a/libc/arch-x86/syscalls/geteuid.S b/libc/arch-x86/syscalls/geteuid.S
index 469f9c9..dcc76b1 100644
--- a/libc/arch-x86/syscalls/geteuid.S
+++ b/libc/arch-x86/syscalls/geteuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(geteuid)
movl $__NR_geteuid32, %eax
int $0x80
@@ -11,7 +9,7 @@ ENTRY(geteuid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
ret
diff --git a/libc/arch-x86/syscalls/getgid.S b/libc/arch-x86/syscalls/getgid.S
index 6b15674..b36a2c9 100644
--- a/libc/arch-x86/syscalls/getgid.S
+++ b/libc/arch-x86/syscalls/getgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgid)
movl $__NR_getgid32, %eax
int $0x80
@@ -11,7 +9,7 @@ ENTRY(getgid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
ret
diff --git a/libc/arch-x86/syscalls/getgroups.S b/libc/arch-x86/syscalls/getgroups.S
index a7aa1b2..0a5de35 100644
--- a/libc/arch-x86/syscalls/getgroups.S
+++ b/libc/arch-x86/syscalls/getgroups.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgroups)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(getgroups)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/getitimer.S b/libc/arch-x86/syscalls/getitimer.S
index 1b424a3..a0cb761 100644
--- a/libc/arch-x86/syscalls/getitimer.S
+++ b/libc/arch-x86/syscalls/getitimer.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getitimer)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(getitimer)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/getpeername.S b/libc/arch-x86/syscalls/getpeername.S
index 94b43fb..6773e6a 100644
--- a/libc/arch-x86/syscalls/getpeername.S
+++ b/libc/arch-x86/syscalls/getpeername.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpeername)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(getpeername)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/getpgid.S b/libc/arch-x86/syscalls/getpgid.S
index 7d7149e..f702cfd 100644
--- a/libc/arch-x86/syscalls/getpgid.S
+++ b/libc/arch-x86/syscalls/getpgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpgid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(getpgid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/getppid.S b/libc/arch-x86/syscalls/getppid.S
index 3103ed2..edbe384 100644
--- a/libc/arch-x86/syscalls/getppid.S
+++ b/libc/arch-x86/syscalls/getppid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getppid)
movl $__NR_getppid, %eax
int $0x80
@@ -11,7 +9,7 @@ ENTRY(getppid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
ret
diff --git a/libc/arch-x86/syscalls/getresgid.S b/libc/arch-x86/syscalls/getresgid.S
index 2f03a03..9f1a9dd 100644
--- a/libc/arch-x86/syscalls/getresgid.S
+++ b/libc/arch-x86/syscalls/getresgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresgid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(getresgid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/getresuid.S b/libc/arch-x86/syscalls/getresuid.S
index d6fe915..61e1370 100644
--- a/libc/arch-x86/syscalls/getresuid.S
+++ b/libc/arch-x86/syscalls/getresuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresuid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(getresuid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/getrlimit.S b/libc/arch-x86/syscalls/getrlimit.S
index 4587a2e..c3acff3 100644
--- a/libc/arch-x86/syscalls/getrlimit.S
+++ b/libc/arch-x86/syscalls/getrlimit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrlimit)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(getrlimit)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/getrusage.S b/libc/arch-x86/syscalls/getrusage.S
index 4b2e38b..0d715cd 100644
--- a/libc/arch-x86/syscalls/getrusage.S
+++ b/libc/arch-x86/syscalls/getrusage.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrusage)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(getrusage)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/getsid.S b/libc/arch-x86/syscalls/getsid.S
index eac9f2c..e142c05 100644
--- a/libc/arch-x86/syscalls/getsid.S
+++ b/libc/arch-x86/syscalls/getsid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(getsid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/getsockname.S b/libc/arch-x86/syscalls/getsockname.S
index 738fa6d..6050190 100644
--- a/libc/arch-x86/syscalls/getsockname.S
+++ b/libc/arch-x86/syscalls/getsockname.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockname)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(getsockname)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/getsockopt.S b/libc/arch-x86/syscalls/getsockopt.S
index f8338f5..aec40cf 100644
--- a/libc/arch-x86/syscalls/getsockopt.S
+++ b/libc/arch-x86/syscalls/getsockopt.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockopt)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(getsockopt)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/gettimeofday.S b/libc/arch-x86/syscalls/gettimeofday.S
index 96c1e11..a508c14 100644
--- a/libc/arch-x86/syscalls/gettimeofday.S
+++ b/libc/arch-x86/syscalls/gettimeofday.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(gettimeofday)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(gettimeofday)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/getuid.S b/libc/arch-x86/syscalls/getuid.S
index cde5da8..cc62884 100644
--- a/libc/arch-x86/syscalls/getuid.S
+++ b/libc/arch-x86/syscalls/getuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getuid)
movl $__NR_getuid32, %eax
int $0x80
@@ -11,7 +9,7 @@ ENTRY(getuid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
ret
diff --git a/libc/arch-x86/syscalls/getxattr.S b/libc/arch-x86/syscalls/getxattr.S
index 7679cbf..a2cf137 100644
--- a/libc/arch-x86/syscalls/getxattr.S
+++ b/libc/arch-x86/syscalls/getxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getxattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(getxattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/init_module.S b/libc/arch-x86/syscalls/init_module.S
index 02e55f0..1d0f111 100644
--- a/libc/arch-x86/syscalls/init_module.S
+++ b/libc/arch-x86/syscalls/init_module.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(init_module)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(init_module)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/inotify_add_watch.S b/libc/arch-x86/syscalls/inotify_add_watch.S
index 74a59f3..8cadc6e 100644
--- a/libc/arch-x86/syscalls/inotify_add_watch.S
+++ b/libc/arch-x86/syscalls/inotify_add_watch.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_add_watch)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(inotify_add_watch)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/inotify_init1.S b/libc/arch-x86/syscalls/inotify_init1.S
index de714c9..23671e0 100644
--- a/libc/arch-x86/syscalls/inotify_init1.S
+++ b/libc/arch-x86/syscalls/inotify_init1.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_init1)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(inotify_init1)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/inotify_rm_watch.S b/libc/arch-x86/syscalls/inotify_rm_watch.S
index 3edc152..c246c00 100644
--- a/libc/arch-x86/syscalls/inotify_rm_watch.S
+++ b/libc/arch-x86/syscalls/inotify_rm_watch.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_rm_watch)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(inotify_rm_watch)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/kill.S b/libc/arch-x86/syscalls/kill.S
index 0cf38a9..edc9cde 100644
--- a/libc/arch-x86/syscalls/kill.S
+++ b/libc/arch-x86/syscalls/kill.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(kill)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(kill)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/klogctl.S b/libc/arch-x86/syscalls/klogctl.S
index 52b04e1..5de9a31 100644
--- a/libc/arch-x86/syscalls/klogctl.S
+++ b/libc/arch-x86/syscalls/klogctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(klogctl)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(klogctl)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/lgetxattr.S b/libc/arch-x86/syscalls/lgetxattr.S
index 8c2eb47..55697a0 100644
--- a/libc/arch-x86/syscalls/lgetxattr.S
+++ b/libc/arch-x86/syscalls/lgetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lgetxattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(lgetxattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/linkat.S b/libc/arch-x86/syscalls/linkat.S
index 56b8368..8b2646d 100644
--- a/libc/arch-x86/syscalls/linkat.S
+++ b/libc/arch-x86/syscalls/linkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(linkat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(linkat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/listen.S b/libc/arch-x86/syscalls/listen.S
index 2c8cc76..8ae4186 100644
--- a/libc/arch-x86/syscalls/listen.S
+++ b/libc/arch-x86/syscalls/listen.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listen)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(listen)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/listxattr.S b/libc/arch-x86/syscalls/listxattr.S
index f43ab3c..a73dc1a 100644
--- a/libc/arch-x86/syscalls/listxattr.S
+++ b/libc/arch-x86/syscalls/listxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listxattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(listxattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/llistxattr.S b/libc/arch-x86/syscalls/llistxattr.S
index d326526..63d4489 100644
--- a/libc/arch-x86/syscalls/llistxattr.S
+++ b/libc/arch-x86/syscalls/llistxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(llistxattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(llistxattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/lremovexattr.S b/libc/arch-x86/syscalls/lremovexattr.S
index b4f4817..42c7e0f 100644
--- a/libc/arch-x86/syscalls/lremovexattr.S
+++ b/libc/arch-x86/syscalls/lremovexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lremovexattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(lremovexattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/lseek.S b/libc/arch-x86/syscalls/lseek.S
index 1115be8..bfe9e63 100644
--- a/libc/arch-x86/syscalls/lseek.S
+++ b/libc/arch-x86/syscalls/lseek.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lseek)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(lseek)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/lsetxattr.S b/libc/arch-x86/syscalls/lsetxattr.S
index fc62cdd..f36fc6a 100644
--- a/libc/arch-x86/syscalls/lsetxattr.S
+++ b/libc/arch-x86/syscalls/lsetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lsetxattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(lsetxattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/madvise.S b/libc/arch-x86/syscalls/madvise.S
index 1de4456..b69f5d4 100644
--- a/libc/arch-x86/syscalls/madvise.S
+++ b/libc/arch-x86/syscalls/madvise.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(madvise)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(madvise)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/mincore.S b/libc/arch-x86/syscalls/mincore.S
index 118063c..6d1df67 100644
--- a/libc/arch-x86/syscalls/mincore.S
+++ b/libc/arch-x86/syscalls/mincore.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mincore)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(mincore)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/mkdirat.S b/libc/arch-x86/syscalls/mkdirat.S
index 6969d2a..5b6ae18 100644
--- a/libc/arch-x86/syscalls/mkdirat.S
+++ b/libc/arch-x86/syscalls/mkdirat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mkdirat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(mkdirat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/mknodat.S b/libc/arch-x86/syscalls/mknodat.S
index 6c743d2..b19d972 100644
--- a/libc/arch-x86/syscalls/mknodat.S
+++ b/libc/arch-x86/syscalls/mknodat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mknodat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(mknodat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/mlock.S b/libc/arch-x86/syscalls/mlock.S
index 5ec799e..517e5a5 100644
--- a/libc/arch-x86/syscalls/mlock.S
+++ b/libc/arch-x86/syscalls/mlock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlock)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(mlock)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/mlockall.S b/libc/arch-x86/syscalls/mlockall.S
index 72a8da5..756ca16 100644
--- a/libc/arch-x86/syscalls/mlockall.S
+++ b/libc/arch-x86/syscalls/mlockall.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlockall)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(mlockall)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/mount.S b/libc/arch-x86/syscalls/mount.S
index 1e06b8e..0537528 100644
--- a/libc/arch-x86/syscalls/mount.S
+++ b/libc/arch-x86/syscalls/mount.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mount)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(mount)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/mprotect.S b/libc/arch-x86/syscalls/mprotect.S
index 11037c3..1ba186c 100644
--- a/libc/arch-x86/syscalls/mprotect.S
+++ b/libc/arch-x86/syscalls/mprotect.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mprotect)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(mprotect)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/mremap.S b/libc/arch-x86/syscalls/mremap.S
index b7f96ff..869ef5d 100644
--- a/libc/arch-x86/syscalls/mremap.S
+++ b/libc/arch-x86/syscalls/mremap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mremap)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(mremap)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/msync.S b/libc/arch-x86/syscalls/msync.S
index e2549f7..81bd598 100644
--- a/libc/arch-x86/syscalls/msync.S
+++ b/libc/arch-x86/syscalls/msync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(msync)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(msync)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/munlock.S b/libc/arch-x86/syscalls/munlock.S
index 6b79e99..67ca3fe 100644
--- a/libc/arch-x86/syscalls/munlock.S
+++ b/libc/arch-x86/syscalls/munlock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlock)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(munlock)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/munlockall.S b/libc/arch-x86/syscalls/munlockall.S
index 96e238b..bf0bfa1 100644
--- a/libc/arch-x86/syscalls/munlockall.S
+++ b/libc/arch-x86/syscalls/munlockall.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlockall)
movl $__NR_munlockall, %eax
int $0x80
@@ -11,7 +9,7 @@ ENTRY(munlockall)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
ret
diff --git a/libc/arch-x86/syscalls/munmap.S b/libc/arch-x86/syscalls/munmap.S
index a77a777..272cb52 100644
--- a/libc/arch-x86/syscalls/munmap.S
+++ b/libc/arch-x86/syscalls/munmap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munmap)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(munmap)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/nanosleep.S b/libc/arch-x86/syscalls/nanosleep.S
index 444aa7e..5c46a4a 100644
--- a/libc/arch-x86/syscalls/nanosleep.S
+++ b/libc/arch-x86/syscalls/nanosleep.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(nanosleep)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(nanosleep)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/personality.S b/libc/arch-x86/syscalls/personality.S
index 5344e1c..d60ced1 100644
--- a/libc/arch-x86/syscalls/personality.S
+++ b/libc/arch-x86/syscalls/personality.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(personality)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(personality)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/pipe2.S b/libc/arch-x86/syscalls/pipe2.S
index 62665a0..ee49ff8 100644
--- a/libc/arch-x86/syscalls/pipe2.S
+++ b/libc/arch-x86/syscalls/pipe2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pipe2)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(pipe2)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/prctl.S b/libc/arch-x86/syscalls/prctl.S
index 28e84d8..496591e 100644
--- a/libc/arch-x86/syscalls/prctl.S
+++ b/libc/arch-x86/syscalls/prctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prctl)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(prctl)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/pread64.S b/libc/arch-x86/syscalls/pread64.S
index e7502b9..42e54ec 100644
--- a/libc/arch-x86/syscalls/pread64.S
+++ b/libc/arch-x86/syscalls/pread64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pread64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(pread64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/prlimit64.S b/libc/arch-x86/syscalls/prlimit64.S
index 2ca8b23..07b5585 100644
--- a/libc/arch-x86/syscalls/prlimit64.S
+++ b/libc/arch-x86/syscalls/prlimit64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prlimit64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(prlimit64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/pwrite64.S b/libc/arch-x86/syscalls/pwrite64.S
index b798a8e..d5c9b31 100644
--- a/libc/arch-x86/syscalls/pwrite64.S
+++ b/libc/arch-x86/syscalls/pwrite64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pwrite64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(pwrite64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/read.S b/libc/arch-x86/syscalls/read.S
index 483c5ef..c10a83b 100644
--- a/libc/arch-x86/syscalls/read.S
+++ b/libc/arch-x86/syscalls/read.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(read)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(read)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/readahead.S b/libc/arch-x86/syscalls/readahead.S
index b1e0870..1c0ccfc 100644
--- a/libc/arch-x86/syscalls/readahead.S
+++ b/libc/arch-x86/syscalls/readahead.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readahead)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(readahead)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/readlinkat.S b/libc/arch-x86/syscalls/readlinkat.S
index a06ae73..4a24c2c 100644
--- a/libc/arch-x86/syscalls/readlinkat.S
+++ b/libc/arch-x86/syscalls/readlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readlinkat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(readlinkat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/readv.S b/libc/arch-x86/syscalls/readv.S
index a0b46b8..c18c1b1 100644
--- a/libc/arch-x86/syscalls/readv.S
+++ b/libc/arch-x86/syscalls/readv.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readv)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(readv)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/recvfrom.S b/libc/arch-x86/syscalls/recvfrom.S
index 86f12c0..88c9d0a 100644
--- a/libc/arch-x86/syscalls/recvfrom.S
+++ b/libc/arch-x86/syscalls/recvfrom.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvfrom)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(recvfrom)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/recvmmsg.S b/libc/arch-x86/syscalls/recvmmsg.S
index f77f794..09404d4 100644
--- a/libc/arch-x86/syscalls/recvmmsg.S
+++ b/libc/arch-x86/syscalls/recvmmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmmsg)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(recvmmsg)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/recvmsg.S b/libc/arch-x86/syscalls/recvmsg.S
index 5d25d7a..6cfcd63 100644
--- a/libc/arch-x86/syscalls/recvmsg.S
+++ b/libc/arch-x86/syscalls/recvmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmsg)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(recvmsg)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/removexattr.S b/libc/arch-x86/syscalls/removexattr.S
index cbbdf4e..b067a9f 100644
--- a/libc/arch-x86/syscalls/removexattr.S
+++ b/libc/arch-x86/syscalls/removexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(removexattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(removexattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/renameat.S b/libc/arch-x86/syscalls/renameat.S
index e424daf..bb2181e 100644
--- a/libc/arch-x86/syscalls/renameat.S
+++ b/libc/arch-x86/syscalls/renameat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(renameat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(renameat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/sched_get_priority_max.S b/libc/arch-x86/syscalls/sched_get_priority_max.S
index eee6f92..be66cfb 100644
--- a/libc/arch-x86/syscalls/sched_get_priority_max.S
+++ b/libc/arch-x86/syscalls/sched_get_priority_max.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_max)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(sched_get_priority_max)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/sched_get_priority_min.S b/libc/arch-x86/syscalls/sched_get_priority_min.S
index 0edcab1..8dde67b 100644
--- a/libc/arch-x86/syscalls/sched_get_priority_min.S
+++ b/libc/arch-x86/syscalls/sched_get_priority_min.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_min)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(sched_get_priority_min)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/sched_getparam.S b/libc/arch-x86/syscalls/sched_getparam.S
index 9a4ebbd..d0551ef 100644
--- a/libc/arch-x86/syscalls/sched_getparam.S
+++ b/libc/arch-x86/syscalls/sched_getparam.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getparam)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(sched_getparam)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/sched_getscheduler.S b/libc/arch-x86/syscalls/sched_getscheduler.S
index 19a925e..5b7c817 100644
--- a/libc/arch-x86/syscalls/sched_getscheduler.S
+++ b/libc/arch-x86/syscalls/sched_getscheduler.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getscheduler)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(sched_getscheduler)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/sched_rr_get_interval.S b/libc/arch-x86/syscalls/sched_rr_get_interval.S
index c2592a9..073f3c7 100644
--- a/libc/arch-x86/syscalls/sched_rr_get_interval.S
+++ b/libc/arch-x86/syscalls/sched_rr_get_interval.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_rr_get_interval)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(sched_rr_get_interval)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/sched_setaffinity.S b/libc/arch-x86/syscalls/sched_setaffinity.S
index 4a0ac86..79ec113 100644
--- a/libc/arch-x86/syscalls/sched_setaffinity.S
+++ b/libc/arch-x86/syscalls/sched_setaffinity.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setaffinity)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(sched_setaffinity)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/sched_setparam.S b/libc/arch-x86/syscalls/sched_setparam.S
index a99c0de..970747d 100644
--- a/libc/arch-x86/syscalls/sched_setparam.S
+++ b/libc/arch-x86/syscalls/sched_setparam.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setparam)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(sched_setparam)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/sched_setscheduler.S b/libc/arch-x86/syscalls/sched_setscheduler.S
index dbfd01e..da50aaf 100644
--- a/libc/arch-x86/syscalls/sched_setscheduler.S
+++ b/libc/arch-x86/syscalls/sched_setscheduler.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setscheduler)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(sched_setscheduler)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/sched_yield.S b/libc/arch-x86/syscalls/sched_yield.S
index 87ebaf9..e3878e3 100644
--- a/libc/arch-x86/syscalls/sched_yield.S
+++ b/libc/arch-x86/syscalls/sched_yield.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_yield)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(sched_yield)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/sendfile.S b/libc/arch-x86/syscalls/sendfile.S
index 58433fb..c5f9a2d 100644
--- a/libc/arch-x86/syscalls/sendfile.S
+++ b/libc/arch-x86/syscalls/sendfile.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendfile)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(sendfile)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/sendfile64.S b/libc/arch-x86/syscalls/sendfile64.S
index 97c7146..bc5d0dd 100644
--- a/libc/arch-x86/syscalls/sendfile64.S
+++ b/libc/arch-x86/syscalls/sendfile64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendfile64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(sendfile64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/sendmmsg.S b/libc/arch-x86/syscalls/sendmmsg.S
index 3c359ee..784c6b6 100644
--- a/libc/arch-x86/syscalls/sendmmsg.S
+++ b/libc/arch-x86/syscalls/sendmmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmmsg)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(sendmmsg)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/sendmsg.S b/libc/arch-x86/syscalls/sendmsg.S
index 51288cc..bf0d1fb 100644
--- a/libc/arch-x86/syscalls/sendmsg.S
+++ b/libc/arch-x86/syscalls/sendmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmsg)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(sendmsg)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/sendto.S b/libc/arch-x86/syscalls/sendto.S
index 4b77f24..b39eaf0 100644
--- a/libc/arch-x86/syscalls/sendto.S
+++ b/libc/arch-x86/syscalls/sendto.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendto)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(sendto)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/setfsgid.S b/libc/arch-x86/syscalls/setfsgid.S
index a8160c3..dc81f72 100644
--- a/libc/arch-x86/syscalls/setfsgid.S
+++ b/libc/arch-x86/syscalls/setfsgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsgid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(setfsgid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/setfsuid.S b/libc/arch-x86/syscalls/setfsuid.S
index abcf0b3..fdf7850 100644
--- a/libc/arch-x86/syscalls/setfsuid.S
+++ b/libc/arch-x86/syscalls/setfsuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsuid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(setfsuid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/setgid.S b/libc/arch-x86/syscalls/setgid.S
index 47c011e..ce6ee26 100644
--- a/libc/arch-x86/syscalls/setgid.S
+++ b/libc/arch-x86/syscalls/setgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(setgid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/setgroups.S b/libc/arch-x86/syscalls/setgroups.S
index 7a58910..7e46ad0 100644
--- a/libc/arch-x86/syscalls/setgroups.S
+++ b/libc/arch-x86/syscalls/setgroups.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgroups)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(setgroups)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/setitimer.S b/libc/arch-x86/syscalls/setitimer.S
index e87a26e..370ab5e 100644
--- a/libc/arch-x86/syscalls/setitimer.S
+++ b/libc/arch-x86/syscalls/setitimer.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setitimer)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(setitimer)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/setns.S b/libc/arch-x86/syscalls/setns.S
index 75f23fa..736df59 100644
--- a/libc/arch-x86/syscalls/setns.S
+++ b/libc/arch-x86/syscalls/setns.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setns)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(setns)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/setpgid.S b/libc/arch-x86/syscalls/setpgid.S
index c20b789..0bff10a 100644
--- a/libc/arch-x86/syscalls/setpgid.S
+++ b/libc/arch-x86/syscalls/setpgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpgid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(setpgid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/setpriority.S b/libc/arch-x86/syscalls/setpriority.S
index 4606c23..4233871 100644
--- a/libc/arch-x86/syscalls/setpriority.S
+++ b/libc/arch-x86/syscalls/setpriority.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpriority)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(setpriority)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/setregid.S b/libc/arch-x86/syscalls/setregid.S
index ff6cf36..a56ccfd 100644
--- a/libc/arch-x86/syscalls/setregid.S
+++ b/libc/arch-x86/syscalls/setregid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setregid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(setregid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/setresgid.S b/libc/arch-x86/syscalls/setresgid.S
index a4846ae..2299831 100644
--- a/libc/arch-x86/syscalls/setresgid.S
+++ b/libc/arch-x86/syscalls/setresgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresgid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(setresgid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/setresuid.S b/libc/arch-x86/syscalls/setresuid.S
index 6ed0fad..8624e15 100644
--- a/libc/arch-x86/syscalls/setresuid.S
+++ b/libc/arch-x86/syscalls/setresuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresuid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(setresuid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/setreuid.S b/libc/arch-x86/syscalls/setreuid.S
index 57d7540..9f6e117 100644
--- a/libc/arch-x86/syscalls/setreuid.S
+++ b/libc/arch-x86/syscalls/setreuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setreuid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(setreuid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/setrlimit.S b/libc/arch-x86/syscalls/setrlimit.S
index 9ca6134..2024688 100644
--- a/libc/arch-x86/syscalls/setrlimit.S
+++ b/libc/arch-x86/syscalls/setrlimit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setrlimit)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(setrlimit)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/setsid.S b/libc/arch-x86/syscalls/setsid.S
index 5c933b3..dda6ad8 100644
--- a/libc/arch-x86/syscalls/setsid.S
+++ b/libc/arch-x86/syscalls/setsid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsid)
movl $__NR_setsid, %eax
int $0x80
@@ -11,7 +9,7 @@ ENTRY(setsid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
ret
diff --git a/libc/arch-x86/syscalls/setsockopt.S b/libc/arch-x86/syscalls/setsockopt.S
index f002344..29e73bb 100644
--- a/libc/arch-x86/syscalls/setsockopt.S
+++ b/libc/arch-x86/syscalls/setsockopt.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsockopt)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(setsockopt)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/settimeofday.S b/libc/arch-x86/syscalls/settimeofday.S
index b35791d..4a861ab 100644
--- a/libc/arch-x86/syscalls/settimeofday.S
+++ b/libc/arch-x86/syscalls/settimeofday.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(settimeofday)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(settimeofday)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/setuid.S b/libc/arch-x86/syscalls/setuid.S
index f5b8315..048e0c1 100644
--- a/libc/arch-x86/syscalls/setuid.S
+++ b/libc/arch-x86/syscalls/setuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setuid)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(setuid)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/setxattr.S b/libc/arch-x86/syscalls/setxattr.S
index 24eb2c4..1e87bf0 100644
--- a/libc/arch-x86/syscalls/setxattr.S
+++ b/libc/arch-x86/syscalls/setxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setxattr)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -31,7 +29,7 @@ ENTRY(setxattr)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edi
diff --git a/libc/arch-x86/syscalls/shutdown.S b/libc/arch-x86/syscalls/shutdown.S
index e5497e6..f224fc6 100644
--- a/libc/arch-x86/syscalls/shutdown.S
+++ b/libc/arch-x86/syscalls/shutdown.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(shutdown)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(shutdown)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/sigaltstack.S b/libc/arch-x86/syscalls/sigaltstack.S
index 150e398..875ef8c 100644
--- a/libc/arch-x86/syscalls/sigaltstack.S
+++ b/libc/arch-x86/syscalls/sigaltstack.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sigaltstack)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(sigaltstack)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/socketpair.S b/libc/arch-x86/syscalls/socketpair.S
index f2188e3..4c5154e 100644
--- a/libc/arch-x86/syscalls/socketpair.S
+++ b/libc/arch-x86/syscalls/socketpair.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(socketpair)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -20,7 +18,7 @@ ENTRY(socketpair)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/splice.S b/libc/arch-x86/syscalls/splice.S
index 38d9ddf..1dc9037 100644
--- a/libc/arch-x86/syscalls/splice.S
+++ b/libc/arch-x86/syscalls/splice.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(splice)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -35,7 +33,7 @@ ENTRY(splice)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebp
diff --git a/libc/arch-x86/syscalls/swapoff.S b/libc/arch-x86/syscalls/swapoff.S
index a0cbc0e..0788529 100644
--- a/libc/arch-x86/syscalls/swapoff.S
+++ b/libc/arch-x86/syscalls/swapoff.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapoff)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(swapoff)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/swapon.S b/libc/arch-x86/syscalls/swapon.S
index 5a2bc94..1070d8e 100644
--- a/libc/arch-x86/syscalls/swapon.S
+++ b/libc/arch-x86/syscalls/swapon.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapon)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(swapon)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/symlinkat.S b/libc/arch-x86/syscalls/symlinkat.S
index 7d7a9da..e7fe69e 100644
--- a/libc/arch-x86/syscalls/symlinkat.S
+++ b/libc/arch-x86/syscalls/symlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(symlinkat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(symlinkat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/sync.S b/libc/arch-x86/syscalls/sync.S
index 423c01d..252c666 100644
--- a/libc/arch-x86/syscalls/sync.S
+++ b/libc/arch-x86/syscalls/sync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sync)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(sync)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/sysinfo.S b/libc/arch-x86/syscalls/sysinfo.S
index 0870761..f59a0c3 100644
--- a/libc/arch-x86/syscalls/sysinfo.S
+++ b/libc/arch-x86/syscalls/sysinfo.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sysinfo)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(sysinfo)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/tee.S b/libc/arch-x86/syscalls/tee.S
index 85ff3cc..b47c460 100644
--- a/libc/arch-x86/syscalls/tee.S
+++ b/libc/arch-x86/syscalls/tee.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tee)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(tee)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/tgkill.S b/libc/arch-x86/syscalls/tgkill.S
index aab80e1..7a43a01 100644
--- a/libc/arch-x86/syscalls/tgkill.S
+++ b/libc/arch-x86/syscalls/tgkill.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tgkill)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(tgkill)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/timerfd_create.S b/libc/arch-x86/syscalls/timerfd_create.S
index f1bef4c..ad099a5 100644
--- a/libc/arch-x86/syscalls/timerfd_create.S
+++ b/libc/arch-x86/syscalls/timerfd_create.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_create)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(timerfd_create)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/timerfd_gettime.S b/libc/arch-x86/syscalls/timerfd_gettime.S
index d7ec28f..c679b7c 100644
--- a/libc/arch-x86/syscalls/timerfd_gettime.S
+++ b/libc/arch-x86/syscalls/timerfd_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_gettime)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(timerfd_gettime)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/timerfd_settime.S b/libc/arch-x86/syscalls/timerfd_settime.S
index 7e03edb..4e889ea 100644
--- a/libc/arch-x86/syscalls/timerfd_settime.S
+++ b/libc/arch-x86/syscalls/timerfd_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_settime)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(timerfd_settime)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/times.S b/libc/arch-x86/syscalls/times.S
index 6a14cff..0ba0b6f 100644
--- a/libc/arch-x86/syscalls/times.S
+++ b/libc/arch-x86/syscalls/times.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(times)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(times)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/truncate.S b/libc/arch-x86/syscalls/truncate.S
index 33ce47f..31fec17 100644
--- a/libc/arch-x86/syscalls/truncate.S
+++ b/libc/arch-x86/syscalls/truncate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(truncate)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(truncate)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/truncate64.S b/libc/arch-x86/syscalls/truncate64.S
index 2168eb4..45e24d0 100644
--- a/libc/arch-x86/syscalls/truncate64.S
+++ b/libc/arch-x86/syscalls/truncate64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(truncate64)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(truncate64)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/umask.S b/libc/arch-x86/syscalls/umask.S
index 03bee20..9b4d3c7 100644
--- a/libc/arch-x86/syscalls/umask.S
+++ b/libc/arch-x86/syscalls/umask.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umask)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(umask)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/umount2.S b/libc/arch-x86/syscalls/umount2.S
index 9701e03..13757ab 100644
--- a/libc/arch-x86/syscalls/umount2.S
+++ b/libc/arch-x86/syscalls/umount2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umount2)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -19,7 +17,7 @@ ENTRY(umount2)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ecx
diff --git a/libc/arch-x86/syscalls/uname.S b/libc/arch-x86/syscalls/uname.S
index 6de3b41..dab7e0d 100644
--- a/libc/arch-x86/syscalls/uname.S
+++ b/libc/arch-x86/syscalls/uname.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(uname)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(uname)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/unlinkat.S b/libc/arch-x86/syscalls/unlinkat.S
index 93ea201..6faf71e 100644
--- a/libc/arch-x86/syscalls/unlinkat.S
+++ b/libc/arch-x86/syscalls/unlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unlinkat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(unlinkat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/unshare.S b/libc/arch-x86/syscalls/unshare.S
index 9d11466..b724798 100644
--- a/libc/arch-x86/syscalls/unshare.S
+++ b/libc/arch-x86/syscalls/unshare.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unshare)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -15,7 +13,7 @@ ENTRY(unshare)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %ebx
diff --git a/libc/arch-x86/syscalls/utimensat.S b/libc/arch-x86/syscalls/utimensat.S
index 62e1525..07eca45 100644
--- a/libc/arch-x86/syscalls/utimensat.S
+++ b/libc/arch-x86/syscalls/utimensat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(utimensat)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(utimensat)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/vmsplice.S b/libc/arch-x86/syscalls/vmsplice.S
index 4707635..f12cc65 100644
--- a/libc/arch-x86/syscalls/vmsplice.S
+++ b/libc/arch-x86/syscalls/vmsplice.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(vmsplice)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(vmsplice)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/wait4.S b/libc/arch-x86/syscalls/wait4.S
index 137b721..bed7c40 100644
--- a/libc/arch-x86/syscalls/wait4.S
+++ b/libc/arch-x86/syscalls/wait4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(wait4)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -27,7 +25,7 @@ ENTRY(wait4)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %esi
diff --git a/libc/arch-x86/syscalls/write.S b/libc/arch-x86/syscalls/write.S
index 2f040b2..e147208 100644
--- a/libc/arch-x86/syscalls/write.S
+++ b/libc/arch-x86/syscalls/write.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(write)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(write)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86/syscalls/writev.S b/libc/arch-x86/syscalls/writev.S
index 2840eea..07ba7b5 100644
--- a/libc/arch-x86/syscalls/writev.S
+++ b/libc/arch-x86/syscalls/writev.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(writev)
pushl %ebx
.cfi_def_cfa_offset 8
@@ -23,7 +21,7 @@ ENTRY(writev)
jb 1f
negl %eax
pushl %eax
- call __set_errno
+ call __set_errno_internal
addl $4, %esp
1:
popl %edx
diff --git a/libc/arch-x86_64/bionic/__bionic_clone.S b/libc/arch-x86_64/bionic/__bionic_clone.S
index e0ce5a6..0c73e5f 100644
--- a/libc/arch-x86_64/bionic/__bionic_clone.S
+++ b/libc/arch-x86_64/bionic/__bionic_clone.S
@@ -54,7 +54,7 @@ ENTRY(__bionic_clone)
# An error occurred, set errno and return -1.
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
ret
.L_bc_child:
diff --git a/libc/arch-x86_64/bionic/syscall.S b/libc/arch-x86_64/bionic/syscall.S
index d5694cb..87939ba 100644
--- a/libc/arch-x86_64/bionic/syscall.S
+++ b/libc/arch-x86_64/bionic/syscall.S
@@ -57,7 +57,7 @@ ENTRY(syscall)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(syscall)
diff --git a/libc/arch-x86_64/bionic/vfork.S b/libc/arch-x86_64/bionic/vfork.S
index 7c14cc0..129f1db 100644
--- a/libc/arch-x86_64/bionic/vfork.S
+++ b/libc/arch-x86_64/bionic/vfork.S
@@ -39,7 +39,7 @@ ENTRY(vfork)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(vfork)
diff --git a/libc/arch-x86_64/syscalls/__accept4.S b/libc/arch-x86_64/syscalls/__accept4.S
index 774cdd5..aa5beba 100644
--- a/libc/arch-x86_64/syscalls/__accept4.S
+++ b/libc/arch-x86_64/syscalls/__accept4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__accept4)
movq %rcx, %r10
movl $__NR_accept4, %eax
@@ -12,7 +10,7 @@ ENTRY(__accept4)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__accept4)
diff --git a/libc/arch-x86_64/syscalls/__arch_prctl.S b/libc/arch-x86_64/syscalls/__arch_prctl.S
index c0dad45..0a604f4 100644
--- a/libc/arch-x86_64/syscalls/__arch_prctl.S
+++ b/libc/arch-x86_64/syscalls/__arch_prctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__arch_prctl)
movl $__NR_arch_prctl, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__arch_prctl)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__arch_prctl)
diff --git a/libc/arch-x86_64/syscalls/__brk.S b/libc/arch-x86_64/syscalls/__brk.S
index df942a1..b6c0f2f 100644
--- a/libc/arch-x86_64/syscalls/__brk.S
+++ b/libc/arch-x86_64/syscalls/__brk.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__brk)
movl $__NR_brk, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__brk)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__brk)
diff --git a/libc/arch-x86_64/syscalls/__clock_gettime.S b/libc/arch-x86_64/syscalls/__clock_gettime.S
index 6c11fb6..ccacdb2 100644
--- a/libc/arch-x86_64/syscalls/__clock_gettime.S
+++ b/libc/arch-x86_64/syscalls/__clock_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__clock_gettime)
movl $__NR_clock_gettime, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__clock_gettime)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__clock_gettime)
diff --git a/libc/arch-x86_64/syscalls/__connect.S b/libc/arch-x86_64/syscalls/__connect.S
index 05a8202..d7531ad 100644
--- a/libc/arch-x86_64/syscalls/__connect.S
+++ b/libc/arch-x86_64/syscalls/__connect.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__connect)
movl $__NR_connect, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__connect)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__connect)
diff --git a/libc/arch-x86_64/syscalls/__epoll_pwait.S b/libc/arch-x86_64/syscalls/__epoll_pwait.S
index b0aee80..b486c4a 100644
--- a/libc/arch-x86_64/syscalls/__epoll_pwait.S
+++ b/libc/arch-x86_64/syscalls/__epoll_pwait.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__epoll_pwait)
movq %rcx, %r10
movl $__NR_epoll_pwait, %eax
@@ -12,7 +10,7 @@ ENTRY(__epoll_pwait)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__epoll_pwait)
diff --git a/libc/arch-x86_64/syscalls/__exit.S b/libc/arch-x86_64/syscalls/__exit.S
index e552f04..99b11fc 100644
--- a/libc/arch-x86_64/syscalls/__exit.S
+++ b/libc/arch-x86_64/syscalls/__exit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__exit)
movl $__NR_exit, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__exit)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__exit)
diff --git a/libc/arch-x86_64/syscalls/__getcpu.S b/libc/arch-x86_64/syscalls/__getcpu.S
index c415fd7..3903e9f 100644
--- a/libc/arch-x86_64/syscalls/__getcpu.S
+++ b/libc/arch-x86_64/syscalls/__getcpu.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcpu)
movl $__NR_getcpu, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__getcpu)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__getcpu)
diff --git a/libc/arch-x86_64/syscalls/__getcwd.S b/libc/arch-x86_64/syscalls/__getcwd.S
index 1ea5651..d39c1d7 100644
--- a/libc/arch-x86_64/syscalls/__getcwd.S
+++ b/libc/arch-x86_64/syscalls/__getcwd.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getcwd)
movl $__NR_getcwd, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__getcwd)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__getcwd)
diff --git a/libc/arch-x86_64/syscalls/__getdents64.S b/libc/arch-x86_64/syscalls/__getdents64.S
index 42c130c..b5eb943 100644
--- a/libc/arch-x86_64/syscalls/__getdents64.S
+++ b/libc/arch-x86_64/syscalls/__getdents64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getdents64)
movl $__NR_getdents64, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__getdents64)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__getdents64)
diff --git a/libc/arch-x86_64/syscalls/__getpid.S b/libc/arch-x86_64/syscalls/__getpid.S
index ae6bb49..ec4316e 100644
--- a/libc/arch-x86_64/syscalls/__getpid.S
+++ b/libc/arch-x86_64/syscalls/__getpid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpid)
movl $__NR_getpid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__getpid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__getpid)
diff --git a/libc/arch-x86_64/syscalls/__getpriority.S b/libc/arch-x86_64/syscalls/__getpriority.S
index c82b008..7c618a1 100644
--- a/libc/arch-x86_64/syscalls/__getpriority.S
+++ b/libc/arch-x86_64/syscalls/__getpriority.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__getpriority)
movl $__NR_getpriority, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__getpriority)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__getpriority)
diff --git a/libc/arch-x86_64/syscalls/__gettimeofday.S b/libc/arch-x86_64/syscalls/__gettimeofday.S
index e4b2409..69b9b6e 100644
--- a/libc/arch-x86_64/syscalls/__gettimeofday.S
+++ b/libc/arch-x86_64/syscalls/__gettimeofday.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__gettimeofday)
movl $__NR_gettimeofday, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__gettimeofday)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__gettimeofday)
diff --git a/libc/arch-x86_64/syscalls/__ioctl.S b/libc/arch-x86_64/syscalls/__ioctl.S
index aa2f538..0eb34f0 100644
--- a/libc/arch-x86_64/syscalls/__ioctl.S
+++ b/libc/arch-x86_64/syscalls/__ioctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ioctl)
movl $__NR_ioctl, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__ioctl)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__ioctl)
diff --git a/libc/arch-x86_64/syscalls/__openat.S b/libc/arch-x86_64/syscalls/__openat.S
index e7f5dc4..14f53ca 100644
--- a/libc/arch-x86_64/syscalls/__openat.S
+++ b/libc/arch-x86_64/syscalls/__openat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__openat)
movq %rcx, %r10
movl $__NR_openat, %eax
@@ -12,7 +10,7 @@ ENTRY(__openat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__openat)
diff --git a/libc/arch-x86_64/syscalls/__ppoll.S b/libc/arch-x86_64/syscalls/__ppoll.S
index eb741ce..82b97dd 100644
--- a/libc/arch-x86_64/syscalls/__ppoll.S
+++ b/libc/arch-x86_64/syscalls/__ppoll.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ppoll)
movq %rcx, %r10
movl $__NR_ppoll, %eax
@@ -12,7 +10,7 @@ ENTRY(__ppoll)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__ppoll)
diff --git a/libc/arch-x86_64/syscalls/__pselect6.S b/libc/arch-x86_64/syscalls/__pselect6.S
index 75ea416..c11d814 100644
--- a/libc/arch-x86_64/syscalls/__pselect6.S
+++ b/libc/arch-x86_64/syscalls/__pselect6.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__pselect6)
movq %rcx, %r10
movl $__NR_pselect6, %eax
@@ -12,7 +10,7 @@ ENTRY(__pselect6)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__pselect6)
diff --git a/libc/arch-x86_64/syscalls/__ptrace.S b/libc/arch-x86_64/syscalls/__ptrace.S
index 45724e4..729e007 100644
--- a/libc/arch-x86_64/syscalls/__ptrace.S
+++ b/libc/arch-x86_64/syscalls/__ptrace.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__ptrace)
movq %rcx, %r10
movl $__NR_ptrace, %eax
@@ -12,7 +10,7 @@ ENTRY(__ptrace)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__ptrace)
diff --git a/libc/arch-x86_64/syscalls/__reboot.S b/libc/arch-x86_64/syscalls/__reboot.S
index bbff3f2..b462dc7 100644
--- a/libc/arch-x86_64/syscalls/__reboot.S
+++ b/libc/arch-x86_64/syscalls/__reboot.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__reboot)
movq %rcx, %r10
movl $__NR_reboot, %eax
@@ -12,7 +10,7 @@ ENTRY(__reboot)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__reboot)
diff --git a/libc/arch-x86_64/syscalls/__rt_sigaction.S b/libc/arch-x86_64/syscalls/__rt_sigaction.S
index 7ce3d8c..17c5995 100644
--- a/libc/arch-x86_64/syscalls/__rt_sigaction.S
+++ b/libc/arch-x86_64/syscalls/__rt_sigaction.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigaction)
movq %rcx, %r10
movl $__NR_rt_sigaction, %eax
@@ -12,7 +10,7 @@ ENTRY(__rt_sigaction)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__rt_sigaction)
diff --git a/libc/arch-x86_64/syscalls/__rt_sigpending.S b/libc/arch-x86_64/syscalls/__rt_sigpending.S
index 78c10ed..b5b81bb 100644
--- a/libc/arch-x86_64/syscalls/__rt_sigpending.S
+++ b/libc/arch-x86_64/syscalls/__rt_sigpending.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigpending)
movl $__NR_rt_sigpending, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__rt_sigpending)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__rt_sigpending)
diff --git a/libc/arch-x86_64/syscalls/__rt_sigprocmask.S b/libc/arch-x86_64/syscalls/__rt_sigprocmask.S
index bf2841c..e8b3f2a 100644
--- a/libc/arch-x86_64/syscalls/__rt_sigprocmask.S
+++ b/libc/arch-x86_64/syscalls/__rt_sigprocmask.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigprocmask)
movq %rcx, %r10
movl $__NR_rt_sigprocmask, %eax
@@ -12,7 +10,7 @@ ENTRY(__rt_sigprocmask)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__rt_sigprocmask)
diff --git a/libc/arch-x86_64/syscalls/__rt_sigsuspend.S b/libc/arch-x86_64/syscalls/__rt_sigsuspend.S
index a82b052..f6366a2 100644
--- a/libc/arch-x86_64/syscalls/__rt_sigsuspend.S
+++ b/libc/arch-x86_64/syscalls/__rt_sigsuspend.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigsuspend)
movl $__NR_rt_sigsuspend, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__rt_sigsuspend)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__rt_sigsuspend)
diff --git a/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S b/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S
index aceacb2..9bcb811 100644
--- a/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S
+++ b/libc/arch-x86_64/syscalls/__rt_sigtimedwait.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__rt_sigtimedwait)
movq %rcx, %r10
movl $__NR_rt_sigtimedwait, %eax
@@ -12,7 +10,7 @@ ENTRY(__rt_sigtimedwait)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__rt_sigtimedwait)
diff --git a/libc/arch-x86_64/syscalls/__sched_getaffinity.S b/libc/arch-x86_64/syscalls/__sched_getaffinity.S
index fd1f607..0ca6818 100644
--- a/libc/arch-x86_64/syscalls/__sched_getaffinity.S
+++ b/libc/arch-x86_64/syscalls/__sched_getaffinity.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__sched_getaffinity)
movl $__NR_sched_getaffinity, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__sched_getaffinity)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__sched_getaffinity)
diff --git a/libc/arch-x86_64/syscalls/__set_tid_address.S b/libc/arch-x86_64/syscalls/__set_tid_address.S
index 7e5226d..3dad660 100644
--- a/libc/arch-x86_64/syscalls/__set_tid_address.S
+++ b/libc/arch-x86_64/syscalls/__set_tid_address.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__set_tid_address)
movl $__NR_set_tid_address, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__set_tid_address)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__set_tid_address)
diff --git a/libc/arch-x86_64/syscalls/__signalfd4.S b/libc/arch-x86_64/syscalls/__signalfd4.S
index d27f63c..b44bfe5 100644
--- a/libc/arch-x86_64/syscalls/__signalfd4.S
+++ b/libc/arch-x86_64/syscalls/__signalfd4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__signalfd4)
movq %rcx, %r10
movl $__NR_signalfd4, %eax
@@ -12,7 +10,7 @@ ENTRY(__signalfd4)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__signalfd4)
diff --git a/libc/arch-x86_64/syscalls/__socket.S b/libc/arch-x86_64/syscalls/__socket.S
index 3b573e8..0563d2f 100644
--- a/libc/arch-x86_64/syscalls/__socket.S
+++ b/libc/arch-x86_64/syscalls/__socket.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__socket)
movl $__NR_socket, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__socket)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__socket)
diff --git a/libc/arch-x86_64/syscalls/__timer_create.S b/libc/arch-x86_64/syscalls/__timer_create.S
index 920c935..cb955a4 100644
--- a/libc/arch-x86_64/syscalls/__timer_create.S
+++ b/libc/arch-x86_64/syscalls/__timer_create.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_create)
movl $__NR_timer_create, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__timer_create)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__timer_create)
diff --git a/libc/arch-x86_64/syscalls/__timer_delete.S b/libc/arch-x86_64/syscalls/__timer_delete.S
index c76830e..7abc7d8 100644
--- a/libc/arch-x86_64/syscalls/__timer_delete.S
+++ b/libc/arch-x86_64/syscalls/__timer_delete.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_delete)
movl $__NR_timer_delete, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__timer_delete)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__timer_delete)
diff --git a/libc/arch-x86_64/syscalls/__timer_getoverrun.S b/libc/arch-x86_64/syscalls/__timer_getoverrun.S
index e35ee93..f2a0e24 100644
--- a/libc/arch-x86_64/syscalls/__timer_getoverrun.S
+++ b/libc/arch-x86_64/syscalls/__timer_getoverrun.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_getoverrun)
movl $__NR_timer_getoverrun, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__timer_getoverrun)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__timer_getoverrun)
diff --git a/libc/arch-x86_64/syscalls/__timer_gettime.S b/libc/arch-x86_64/syscalls/__timer_gettime.S
index 8bb41d9..62c2b47 100644
--- a/libc/arch-x86_64/syscalls/__timer_gettime.S
+++ b/libc/arch-x86_64/syscalls/__timer_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_gettime)
movl $__NR_timer_gettime, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(__timer_gettime)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__timer_gettime)
diff --git a/libc/arch-x86_64/syscalls/__timer_settime.S b/libc/arch-x86_64/syscalls/__timer_settime.S
index 0eace4b..225fa8e 100644
--- a/libc/arch-x86_64/syscalls/__timer_settime.S
+++ b/libc/arch-x86_64/syscalls/__timer_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__timer_settime)
movq %rcx, %r10
movl $__NR_timer_settime, %eax
@@ -12,7 +10,7 @@ ENTRY(__timer_settime)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__timer_settime)
diff --git a/libc/arch-x86_64/syscalls/__waitid.S b/libc/arch-x86_64/syscalls/__waitid.S
index 47bf7b3..ff8a3c5 100644
--- a/libc/arch-x86_64/syscalls/__waitid.S
+++ b/libc/arch-x86_64/syscalls/__waitid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(__waitid)
movq %rcx, %r10
movl $__NR_waitid, %eax
@@ -12,7 +10,7 @@ ENTRY(__waitid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(__waitid)
diff --git a/libc/arch-x86_64/syscalls/_exit.S b/libc/arch-x86_64/syscalls/_exit.S
index 06465c4..c79091d 100644
--- a/libc/arch-x86_64/syscalls/_exit.S
+++ b/libc/arch-x86_64/syscalls/_exit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(_exit)
movl $__NR_exit_group, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(_exit)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(_exit)
diff --git a/libc/arch-x86_64/syscalls/acct.S b/libc/arch-x86_64/syscalls/acct.S
index 6bf59e3..a739707 100644
--- a/libc/arch-x86_64/syscalls/acct.S
+++ b/libc/arch-x86_64/syscalls/acct.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(acct)
movl $__NR_acct, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(acct)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(acct)
diff --git a/libc/arch-x86_64/syscalls/bind.S b/libc/arch-x86_64/syscalls/bind.S
index 4300c00..e5bc263 100644
--- a/libc/arch-x86_64/syscalls/bind.S
+++ b/libc/arch-x86_64/syscalls/bind.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(bind)
movl $__NR_bind, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(bind)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(bind)
diff --git a/libc/arch-x86_64/syscalls/capget.S b/libc/arch-x86_64/syscalls/capget.S
index 8ce1846..9ce1583 100644
--- a/libc/arch-x86_64/syscalls/capget.S
+++ b/libc/arch-x86_64/syscalls/capget.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capget)
movl $__NR_capget, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(capget)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(capget)
diff --git a/libc/arch-x86_64/syscalls/capset.S b/libc/arch-x86_64/syscalls/capset.S
index 3aff07c..2776756 100644
--- a/libc/arch-x86_64/syscalls/capset.S
+++ b/libc/arch-x86_64/syscalls/capset.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(capset)
movl $__NR_capset, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(capset)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(capset)
diff --git a/libc/arch-x86_64/syscalls/chdir.S b/libc/arch-x86_64/syscalls/chdir.S
index f22b40d..269905c 100644
--- a/libc/arch-x86_64/syscalls/chdir.S
+++ b/libc/arch-x86_64/syscalls/chdir.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chdir)
movl $__NR_chdir, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(chdir)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(chdir)
diff --git a/libc/arch-x86_64/syscalls/chroot.S b/libc/arch-x86_64/syscalls/chroot.S
index eb8a463..713b1b3 100644
--- a/libc/arch-x86_64/syscalls/chroot.S
+++ b/libc/arch-x86_64/syscalls/chroot.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(chroot)
movl $__NR_chroot, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(chroot)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(chroot)
diff --git a/libc/arch-x86_64/syscalls/clock_getres.S b/libc/arch-x86_64/syscalls/clock_getres.S
index 00b4ed6..f65d127 100644
--- a/libc/arch-x86_64/syscalls/clock_getres.S
+++ b/libc/arch-x86_64/syscalls/clock_getres.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_getres)
movl $__NR_clock_getres, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(clock_getres)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(clock_getres)
diff --git a/libc/arch-x86_64/syscalls/clock_nanosleep.S b/libc/arch-x86_64/syscalls/clock_nanosleep.S
index 8bc87ae..2a79bdd 100644
--- a/libc/arch-x86_64/syscalls/clock_nanosleep.S
+++ b/libc/arch-x86_64/syscalls/clock_nanosleep.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_nanosleep)
movq %rcx, %r10
movl $__NR_clock_nanosleep, %eax
@@ -12,7 +10,7 @@ ENTRY(clock_nanosleep)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(clock_nanosleep)
diff --git a/libc/arch-x86_64/syscalls/clock_settime.S b/libc/arch-x86_64/syscalls/clock_settime.S
index 5225770..26070a4 100644
--- a/libc/arch-x86_64/syscalls/clock_settime.S
+++ b/libc/arch-x86_64/syscalls/clock_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(clock_settime)
movl $__NR_clock_settime, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(clock_settime)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(clock_settime)
diff --git a/libc/arch-x86_64/syscalls/close.S b/libc/arch-x86_64/syscalls/close.S
index 029d09a..8a7ada1 100644
--- a/libc/arch-x86_64/syscalls/close.S
+++ b/libc/arch-x86_64/syscalls/close.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(close)
movl $__NR_close, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(close)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(close)
diff --git a/libc/arch-x86_64/syscalls/delete_module.S b/libc/arch-x86_64/syscalls/delete_module.S
index fc146bb..63f17ad 100644
--- a/libc/arch-x86_64/syscalls/delete_module.S
+++ b/libc/arch-x86_64/syscalls/delete_module.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(delete_module)
movl $__NR_delete_module, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(delete_module)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(delete_module)
diff --git a/libc/arch-x86_64/syscalls/dup.S b/libc/arch-x86_64/syscalls/dup.S
index 53f06b0..5016f77 100644
--- a/libc/arch-x86_64/syscalls/dup.S
+++ b/libc/arch-x86_64/syscalls/dup.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup)
movl $__NR_dup, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(dup)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(dup)
diff --git a/libc/arch-x86_64/syscalls/dup3.S b/libc/arch-x86_64/syscalls/dup3.S
index fb99941..9abd168 100644
--- a/libc/arch-x86_64/syscalls/dup3.S
+++ b/libc/arch-x86_64/syscalls/dup3.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(dup3)
movl $__NR_dup3, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(dup3)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(dup3)
diff --git a/libc/arch-x86_64/syscalls/epoll_create1.S b/libc/arch-x86_64/syscalls/epoll_create1.S
index 6aa1915..d1e4bfc 100644
--- a/libc/arch-x86_64/syscalls/epoll_create1.S
+++ b/libc/arch-x86_64/syscalls/epoll_create1.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_create1)
movl $__NR_epoll_create1, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(epoll_create1)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(epoll_create1)
diff --git a/libc/arch-x86_64/syscalls/epoll_ctl.S b/libc/arch-x86_64/syscalls/epoll_ctl.S
index c9dda01..f429b96 100644
--- a/libc/arch-x86_64/syscalls/epoll_ctl.S
+++ b/libc/arch-x86_64/syscalls/epoll_ctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(epoll_ctl)
movq %rcx, %r10
movl $__NR_epoll_ctl, %eax
@@ -12,7 +10,7 @@ ENTRY(epoll_ctl)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(epoll_ctl)
diff --git a/libc/arch-x86_64/syscalls/eventfd.S b/libc/arch-x86_64/syscalls/eventfd.S
index ac7537f..dcc5105 100644
--- a/libc/arch-x86_64/syscalls/eventfd.S
+++ b/libc/arch-x86_64/syscalls/eventfd.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(eventfd)
movl $__NR_eventfd2, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(eventfd)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(eventfd)
diff --git a/libc/arch-x86_64/syscalls/execve.S b/libc/arch-x86_64/syscalls/execve.S
index a699303..947baa4 100644
--- a/libc/arch-x86_64/syscalls/execve.S
+++ b/libc/arch-x86_64/syscalls/execve.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(execve)
movl $__NR_execve, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(execve)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(execve)
diff --git a/libc/arch-x86_64/syscalls/faccessat.S b/libc/arch-x86_64/syscalls/faccessat.S
index 9426dd5..05a6e78 100644
--- a/libc/arch-x86_64/syscalls/faccessat.S
+++ b/libc/arch-x86_64/syscalls/faccessat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(faccessat)
movq %rcx, %r10
movl $__NR_faccessat, %eax
@@ -12,7 +10,7 @@ ENTRY(faccessat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(faccessat)
diff --git a/libc/arch-x86_64/syscalls/fallocate.S b/libc/arch-x86_64/syscalls/fallocate.S
index 91a2e65..8307f7e 100644
--- a/libc/arch-x86_64/syscalls/fallocate.S
+++ b/libc/arch-x86_64/syscalls/fallocate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fallocate)
movq %rcx, %r10
movl $__NR_fallocate, %eax
@@ -12,7 +10,7 @@ ENTRY(fallocate)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fallocate)
diff --git a/libc/arch-x86_64/syscalls/fchdir.S b/libc/arch-x86_64/syscalls/fchdir.S
index 01c5030..d005c14 100644
--- a/libc/arch-x86_64/syscalls/fchdir.S
+++ b/libc/arch-x86_64/syscalls/fchdir.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchdir)
movl $__NR_fchdir, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(fchdir)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fchdir)
diff --git a/libc/arch-x86_64/syscalls/fchmod.S b/libc/arch-x86_64/syscalls/fchmod.S
index 1f4d02b..b35bd21 100644
--- a/libc/arch-x86_64/syscalls/fchmod.S
+++ b/libc/arch-x86_64/syscalls/fchmod.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmod)
movl $__NR_fchmod, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(fchmod)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fchmod)
diff --git a/libc/arch-x86_64/syscalls/fchmodat.S b/libc/arch-x86_64/syscalls/fchmodat.S
index cee05e3..2d78d8e 100644
--- a/libc/arch-x86_64/syscalls/fchmodat.S
+++ b/libc/arch-x86_64/syscalls/fchmodat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchmodat)
movq %rcx, %r10
movl $__NR_fchmodat, %eax
@@ -12,7 +10,7 @@ ENTRY(fchmodat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fchmodat)
diff --git a/libc/arch-x86_64/syscalls/fchown.S b/libc/arch-x86_64/syscalls/fchown.S
index 1c43991..d5bdc71 100644
--- a/libc/arch-x86_64/syscalls/fchown.S
+++ b/libc/arch-x86_64/syscalls/fchown.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchown)
movl $__NR_fchown, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(fchown)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fchown)
diff --git a/libc/arch-x86_64/syscalls/fchownat.S b/libc/arch-x86_64/syscalls/fchownat.S
index 8f77888..ff05e9e 100644
--- a/libc/arch-x86_64/syscalls/fchownat.S
+++ b/libc/arch-x86_64/syscalls/fchownat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fchownat)
movq %rcx, %r10
movl $__NR_fchownat, %eax
@@ -12,7 +10,7 @@ ENTRY(fchownat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fchownat)
diff --git a/libc/arch-x86_64/syscalls/fcntl.S b/libc/arch-x86_64/syscalls/fcntl.S
index d415467..f28195b 100644
--- a/libc/arch-x86_64/syscalls/fcntl.S
+++ b/libc/arch-x86_64/syscalls/fcntl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fcntl)
movl $__NR_fcntl, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(fcntl)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fcntl)
diff --git a/libc/arch-x86_64/syscalls/fdatasync.S b/libc/arch-x86_64/syscalls/fdatasync.S
index 8ec4193..27239b9 100644
--- a/libc/arch-x86_64/syscalls/fdatasync.S
+++ b/libc/arch-x86_64/syscalls/fdatasync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fdatasync)
movl $__NR_fdatasync, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(fdatasync)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fdatasync)
diff --git a/libc/arch-x86_64/syscalls/fgetxattr.S b/libc/arch-x86_64/syscalls/fgetxattr.S
index 9aacdbd..7762474 100644
--- a/libc/arch-x86_64/syscalls/fgetxattr.S
+++ b/libc/arch-x86_64/syscalls/fgetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fgetxattr)
movq %rcx, %r10
movl $__NR_fgetxattr, %eax
@@ -12,7 +10,7 @@ ENTRY(fgetxattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fgetxattr)
diff --git a/libc/arch-x86_64/syscalls/flistxattr.S b/libc/arch-x86_64/syscalls/flistxattr.S
index 53c58d0..aa02db1 100644
--- a/libc/arch-x86_64/syscalls/flistxattr.S
+++ b/libc/arch-x86_64/syscalls/flistxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flistxattr)
movl $__NR_flistxattr, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(flistxattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(flistxattr)
diff --git a/libc/arch-x86_64/syscalls/flock.S b/libc/arch-x86_64/syscalls/flock.S
index fe57b47..1bc6678 100644
--- a/libc/arch-x86_64/syscalls/flock.S
+++ b/libc/arch-x86_64/syscalls/flock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(flock)
movl $__NR_flock, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(flock)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(flock)
diff --git a/libc/arch-x86_64/syscalls/fremovexattr.S b/libc/arch-x86_64/syscalls/fremovexattr.S
index c37cc93..517094c 100644
--- a/libc/arch-x86_64/syscalls/fremovexattr.S
+++ b/libc/arch-x86_64/syscalls/fremovexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fremovexattr)
movl $__NR_fremovexattr, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(fremovexattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fremovexattr)
diff --git a/libc/arch-x86_64/syscalls/fsetxattr.S b/libc/arch-x86_64/syscalls/fsetxattr.S
index cc3d7b7..97822c4 100644
--- a/libc/arch-x86_64/syscalls/fsetxattr.S
+++ b/libc/arch-x86_64/syscalls/fsetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsetxattr)
movq %rcx, %r10
movl $__NR_fsetxattr, %eax
@@ -12,7 +10,7 @@ ENTRY(fsetxattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fsetxattr)
diff --git a/libc/arch-x86_64/syscalls/fstat64.S b/libc/arch-x86_64/syscalls/fstat64.S
index dbc6760..de57668 100644
--- a/libc/arch-x86_64/syscalls/fstat64.S
+++ b/libc/arch-x86_64/syscalls/fstat64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstat64)
movl $__NR_fstat, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(fstat64)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fstat64)
diff --git a/libc/arch-x86_64/syscalls/fstatat64.S b/libc/arch-x86_64/syscalls/fstatat64.S
index 28b91fa..47785bb 100644
--- a/libc/arch-x86_64/syscalls/fstatat64.S
+++ b/libc/arch-x86_64/syscalls/fstatat64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstatat64)
movq %rcx, %r10
movl $__NR_newfstatat, %eax
@@ -12,7 +10,7 @@ ENTRY(fstatat64)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fstatat64)
diff --git a/libc/arch-x86_64/syscalls/fstatfs64.S b/libc/arch-x86_64/syscalls/fstatfs64.S
index 4b12afb..f727350 100644
--- a/libc/arch-x86_64/syscalls/fstatfs64.S
+++ b/libc/arch-x86_64/syscalls/fstatfs64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fstatfs64)
movl $__NR_fstatfs, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(fstatfs64)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fstatfs64)
diff --git a/libc/arch-x86_64/syscalls/fsync.S b/libc/arch-x86_64/syscalls/fsync.S
index 820502e..e7ec6da 100644
--- a/libc/arch-x86_64/syscalls/fsync.S
+++ b/libc/arch-x86_64/syscalls/fsync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(fsync)
movl $__NR_fsync, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(fsync)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(fsync)
diff --git a/libc/arch-x86_64/syscalls/ftruncate.S b/libc/arch-x86_64/syscalls/ftruncate.S
index 0b14403..0365368 100644
--- a/libc/arch-x86_64/syscalls/ftruncate.S
+++ b/libc/arch-x86_64/syscalls/ftruncate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(ftruncate)
movl $__NR_ftruncate, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(ftruncate)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(ftruncate)
diff --git a/libc/arch-x86_64/syscalls/getegid.S b/libc/arch-x86_64/syscalls/getegid.S
index 155d37b..84ba240 100644
--- a/libc/arch-x86_64/syscalls/getegid.S
+++ b/libc/arch-x86_64/syscalls/getegid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getegid)
movl $__NR_getegid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getegid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getegid)
diff --git a/libc/arch-x86_64/syscalls/geteuid.S b/libc/arch-x86_64/syscalls/geteuid.S
index 9ffa3cd..18a991a 100644
--- a/libc/arch-x86_64/syscalls/geteuid.S
+++ b/libc/arch-x86_64/syscalls/geteuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(geteuid)
movl $__NR_geteuid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(geteuid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(geteuid)
diff --git a/libc/arch-x86_64/syscalls/getgid.S b/libc/arch-x86_64/syscalls/getgid.S
index d9c9da9..5e4b0ef 100644
--- a/libc/arch-x86_64/syscalls/getgid.S
+++ b/libc/arch-x86_64/syscalls/getgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgid)
movl $__NR_getgid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getgid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getgid)
diff --git a/libc/arch-x86_64/syscalls/getgroups.S b/libc/arch-x86_64/syscalls/getgroups.S
index 9f0701a..b5dd81c 100644
--- a/libc/arch-x86_64/syscalls/getgroups.S
+++ b/libc/arch-x86_64/syscalls/getgroups.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getgroups)
movl $__NR_getgroups, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getgroups)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getgroups)
diff --git a/libc/arch-x86_64/syscalls/getitimer.S b/libc/arch-x86_64/syscalls/getitimer.S
index 2d76430..c4bb120 100644
--- a/libc/arch-x86_64/syscalls/getitimer.S
+++ b/libc/arch-x86_64/syscalls/getitimer.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getitimer)
movl $__NR_getitimer, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getitimer)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getitimer)
diff --git a/libc/arch-x86_64/syscalls/getpeername.S b/libc/arch-x86_64/syscalls/getpeername.S
index b6de183..0b212be 100644
--- a/libc/arch-x86_64/syscalls/getpeername.S
+++ b/libc/arch-x86_64/syscalls/getpeername.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpeername)
movl $__NR_getpeername, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getpeername)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getpeername)
diff --git a/libc/arch-x86_64/syscalls/getpgid.S b/libc/arch-x86_64/syscalls/getpgid.S
index e321b66..d1b0e8b 100644
--- a/libc/arch-x86_64/syscalls/getpgid.S
+++ b/libc/arch-x86_64/syscalls/getpgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getpgid)
movl $__NR_getpgid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getpgid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getpgid)
diff --git a/libc/arch-x86_64/syscalls/getppid.S b/libc/arch-x86_64/syscalls/getppid.S
index 4a238ad..e1cfee0 100644
--- a/libc/arch-x86_64/syscalls/getppid.S
+++ b/libc/arch-x86_64/syscalls/getppid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getppid)
movl $__NR_getppid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getppid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getppid)
diff --git a/libc/arch-x86_64/syscalls/getresgid.S b/libc/arch-x86_64/syscalls/getresgid.S
index 4727d29..0b7ea7a 100644
--- a/libc/arch-x86_64/syscalls/getresgid.S
+++ b/libc/arch-x86_64/syscalls/getresgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresgid)
movl $__NR_getresgid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getresgid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getresgid)
diff --git a/libc/arch-x86_64/syscalls/getresuid.S b/libc/arch-x86_64/syscalls/getresuid.S
index 1098d56..0d7a054 100644
--- a/libc/arch-x86_64/syscalls/getresuid.S
+++ b/libc/arch-x86_64/syscalls/getresuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getresuid)
movl $__NR_getresuid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getresuid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getresuid)
diff --git a/libc/arch-x86_64/syscalls/getrlimit.S b/libc/arch-x86_64/syscalls/getrlimit.S
index 60e5881..2d272a1 100644
--- a/libc/arch-x86_64/syscalls/getrlimit.S
+++ b/libc/arch-x86_64/syscalls/getrlimit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrlimit)
movl $__NR_getrlimit, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getrlimit)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getrlimit)
diff --git a/libc/arch-x86_64/syscalls/getrusage.S b/libc/arch-x86_64/syscalls/getrusage.S
index 0eb0176..eef7fb8 100644
--- a/libc/arch-x86_64/syscalls/getrusage.S
+++ b/libc/arch-x86_64/syscalls/getrusage.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getrusage)
movl $__NR_getrusage, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getrusage)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getrusage)
diff --git a/libc/arch-x86_64/syscalls/getsid.S b/libc/arch-x86_64/syscalls/getsid.S
index 2543b10..022f959 100644
--- a/libc/arch-x86_64/syscalls/getsid.S
+++ b/libc/arch-x86_64/syscalls/getsid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsid)
movl $__NR_getsid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getsid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getsid)
diff --git a/libc/arch-x86_64/syscalls/getsockname.S b/libc/arch-x86_64/syscalls/getsockname.S
index 17cd5ea..36fdcf7 100644
--- a/libc/arch-x86_64/syscalls/getsockname.S
+++ b/libc/arch-x86_64/syscalls/getsockname.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockname)
movl $__NR_getsockname, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getsockname)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getsockname)
diff --git a/libc/arch-x86_64/syscalls/getsockopt.S b/libc/arch-x86_64/syscalls/getsockopt.S
index 988a2cb..c1e11e7 100644
--- a/libc/arch-x86_64/syscalls/getsockopt.S
+++ b/libc/arch-x86_64/syscalls/getsockopt.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getsockopt)
movq %rcx, %r10
movl $__NR_getsockopt, %eax
@@ -12,7 +10,7 @@ ENTRY(getsockopt)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getsockopt)
diff --git a/libc/arch-x86_64/syscalls/getuid.S b/libc/arch-x86_64/syscalls/getuid.S
index 9b7a1d9..93cd0f8 100644
--- a/libc/arch-x86_64/syscalls/getuid.S
+++ b/libc/arch-x86_64/syscalls/getuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getuid)
movl $__NR_getuid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(getuid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getuid)
diff --git a/libc/arch-x86_64/syscalls/getxattr.S b/libc/arch-x86_64/syscalls/getxattr.S
index 4d6aecf..01378b0 100644
--- a/libc/arch-x86_64/syscalls/getxattr.S
+++ b/libc/arch-x86_64/syscalls/getxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(getxattr)
movq %rcx, %r10
movl $__NR_getxattr, %eax
@@ -12,7 +10,7 @@ ENTRY(getxattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(getxattr)
diff --git a/libc/arch-x86_64/syscalls/init_module.S b/libc/arch-x86_64/syscalls/init_module.S
index 2c51414..c005de4 100644
--- a/libc/arch-x86_64/syscalls/init_module.S
+++ b/libc/arch-x86_64/syscalls/init_module.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(init_module)
movl $__NR_init_module, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(init_module)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(init_module)
diff --git a/libc/arch-x86_64/syscalls/inotify_add_watch.S b/libc/arch-x86_64/syscalls/inotify_add_watch.S
index da5aa36..edf2930 100644
--- a/libc/arch-x86_64/syscalls/inotify_add_watch.S
+++ b/libc/arch-x86_64/syscalls/inotify_add_watch.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_add_watch)
movl $__NR_inotify_add_watch, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(inotify_add_watch)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(inotify_add_watch)
diff --git a/libc/arch-x86_64/syscalls/inotify_init1.S b/libc/arch-x86_64/syscalls/inotify_init1.S
index 46e5014..b158018 100644
--- a/libc/arch-x86_64/syscalls/inotify_init1.S
+++ b/libc/arch-x86_64/syscalls/inotify_init1.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_init1)
movl $__NR_inotify_init1, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(inotify_init1)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(inotify_init1)
diff --git a/libc/arch-x86_64/syscalls/inotify_rm_watch.S b/libc/arch-x86_64/syscalls/inotify_rm_watch.S
index 5920c9d..f2fc10e 100644
--- a/libc/arch-x86_64/syscalls/inotify_rm_watch.S
+++ b/libc/arch-x86_64/syscalls/inotify_rm_watch.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(inotify_rm_watch)
movl $__NR_inotify_rm_watch, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(inotify_rm_watch)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(inotify_rm_watch)
diff --git a/libc/arch-x86_64/syscalls/kill.S b/libc/arch-x86_64/syscalls/kill.S
index dff2da6..fe93f34 100644
--- a/libc/arch-x86_64/syscalls/kill.S
+++ b/libc/arch-x86_64/syscalls/kill.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(kill)
movl $__NR_kill, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(kill)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(kill)
diff --git a/libc/arch-x86_64/syscalls/klogctl.S b/libc/arch-x86_64/syscalls/klogctl.S
index 8560d28..fb2aca3 100644
--- a/libc/arch-x86_64/syscalls/klogctl.S
+++ b/libc/arch-x86_64/syscalls/klogctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(klogctl)
movl $__NR_syslog, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(klogctl)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(klogctl)
diff --git a/libc/arch-x86_64/syscalls/lgetxattr.S b/libc/arch-x86_64/syscalls/lgetxattr.S
index b4bc204..36202a2 100644
--- a/libc/arch-x86_64/syscalls/lgetxattr.S
+++ b/libc/arch-x86_64/syscalls/lgetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lgetxattr)
movq %rcx, %r10
movl $__NR_lgetxattr, %eax
@@ -12,7 +10,7 @@ ENTRY(lgetxattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(lgetxattr)
diff --git a/libc/arch-x86_64/syscalls/linkat.S b/libc/arch-x86_64/syscalls/linkat.S
index 509b579..d195e19 100644
--- a/libc/arch-x86_64/syscalls/linkat.S
+++ b/libc/arch-x86_64/syscalls/linkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(linkat)
movq %rcx, %r10
movl $__NR_linkat, %eax
@@ -12,7 +10,7 @@ ENTRY(linkat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(linkat)
diff --git a/libc/arch-x86_64/syscalls/listen.S b/libc/arch-x86_64/syscalls/listen.S
index 6bd46a5..756b629 100644
--- a/libc/arch-x86_64/syscalls/listen.S
+++ b/libc/arch-x86_64/syscalls/listen.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listen)
movl $__NR_listen, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(listen)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(listen)
diff --git a/libc/arch-x86_64/syscalls/listxattr.S b/libc/arch-x86_64/syscalls/listxattr.S
index 102518f..d0b2112 100644
--- a/libc/arch-x86_64/syscalls/listxattr.S
+++ b/libc/arch-x86_64/syscalls/listxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(listxattr)
movl $__NR_listxattr, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(listxattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(listxattr)
diff --git a/libc/arch-x86_64/syscalls/llistxattr.S b/libc/arch-x86_64/syscalls/llistxattr.S
index 74d58a8..49fb969 100644
--- a/libc/arch-x86_64/syscalls/llistxattr.S
+++ b/libc/arch-x86_64/syscalls/llistxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(llistxattr)
movl $__NR_llistxattr, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(llistxattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(llistxattr)
diff --git a/libc/arch-x86_64/syscalls/lremovexattr.S b/libc/arch-x86_64/syscalls/lremovexattr.S
index 2566e33..1e1bc30 100644
--- a/libc/arch-x86_64/syscalls/lremovexattr.S
+++ b/libc/arch-x86_64/syscalls/lremovexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lremovexattr)
movl $__NR_lremovexattr, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(lremovexattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(lremovexattr)
diff --git a/libc/arch-x86_64/syscalls/lseek.S b/libc/arch-x86_64/syscalls/lseek.S
index 93e5f0c..153b935 100644
--- a/libc/arch-x86_64/syscalls/lseek.S
+++ b/libc/arch-x86_64/syscalls/lseek.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lseek)
movl $__NR_lseek, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(lseek)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(lseek)
diff --git a/libc/arch-x86_64/syscalls/lsetxattr.S b/libc/arch-x86_64/syscalls/lsetxattr.S
index 905bd3b..965ee03 100644
--- a/libc/arch-x86_64/syscalls/lsetxattr.S
+++ b/libc/arch-x86_64/syscalls/lsetxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(lsetxattr)
movq %rcx, %r10
movl $__NR_lsetxattr, %eax
@@ -12,7 +10,7 @@ ENTRY(lsetxattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(lsetxattr)
diff --git a/libc/arch-x86_64/syscalls/madvise.S b/libc/arch-x86_64/syscalls/madvise.S
index c565ca3..75d47f6 100644
--- a/libc/arch-x86_64/syscalls/madvise.S
+++ b/libc/arch-x86_64/syscalls/madvise.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(madvise)
movl $__NR_madvise, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(madvise)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(madvise)
diff --git a/libc/arch-x86_64/syscalls/mincore.S b/libc/arch-x86_64/syscalls/mincore.S
index f8acdeb..2d8a28a 100644
--- a/libc/arch-x86_64/syscalls/mincore.S
+++ b/libc/arch-x86_64/syscalls/mincore.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mincore)
movl $__NR_mincore, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(mincore)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(mincore)
diff --git a/libc/arch-x86_64/syscalls/mkdirat.S b/libc/arch-x86_64/syscalls/mkdirat.S
index b554d12..8a76013 100644
--- a/libc/arch-x86_64/syscalls/mkdirat.S
+++ b/libc/arch-x86_64/syscalls/mkdirat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mkdirat)
movl $__NR_mkdirat, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(mkdirat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(mkdirat)
diff --git a/libc/arch-x86_64/syscalls/mknodat.S b/libc/arch-x86_64/syscalls/mknodat.S
index dd6496a..a8859d4 100644
--- a/libc/arch-x86_64/syscalls/mknodat.S
+++ b/libc/arch-x86_64/syscalls/mknodat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mknodat)
movq %rcx, %r10
movl $__NR_mknodat, %eax
@@ -12,7 +10,7 @@ ENTRY(mknodat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(mknodat)
diff --git a/libc/arch-x86_64/syscalls/mlock.S b/libc/arch-x86_64/syscalls/mlock.S
index 78389e2..d34b3ae 100644
--- a/libc/arch-x86_64/syscalls/mlock.S
+++ b/libc/arch-x86_64/syscalls/mlock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlock)
movl $__NR_mlock, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(mlock)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(mlock)
diff --git a/libc/arch-x86_64/syscalls/mlockall.S b/libc/arch-x86_64/syscalls/mlockall.S
index 3ac878a..31ccaa0 100644
--- a/libc/arch-x86_64/syscalls/mlockall.S
+++ b/libc/arch-x86_64/syscalls/mlockall.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mlockall)
movl $__NR_mlockall, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(mlockall)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(mlockall)
diff --git a/libc/arch-x86_64/syscalls/mmap.S b/libc/arch-x86_64/syscalls/mmap.S
index 44189a9..8aa4780 100644
--- a/libc/arch-x86_64/syscalls/mmap.S
+++ b/libc/arch-x86_64/syscalls/mmap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mmap)
movq %rcx, %r10
movl $__NR_mmap, %eax
@@ -12,7 +10,7 @@ ENTRY(mmap)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(mmap)
diff --git a/libc/arch-x86_64/syscalls/mount.S b/libc/arch-x86_64/syscalls/mount.S
index 369e8df..dcbd473 100644
--- a/libc/arch-x86_64/syscalls/mount.S
+++ b/libc/arch-x86_64/syscalls/mount.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mount)
movq %rcx, %r10
movl $__NR_mount, %eax
@@ -12,7 +10,7 @@ ENTRY(mount)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(mount)
diff --git a/libc/arch-x86_64/syscalls/mprotect.S b/libc/arch-x86_64/syscalls/mprotect.S
index 44888da..2ad4b25 100644
--- a/libc/arch-x86_64/syscalls/mprotect.S
+++ b/libc/arch-x86_64/syscalls/mprotect.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mprotect)
movl $__NR_mprotect, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(mprotect)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(mprotect)
diff --git a/libc/arch-x86_64/syscalls/mremap.S b/libc/arch-x86_64/syscalls/mremap.S
index 74a05e2..a6042cb 100644
--- a/libc/arch-x86_64/syscalls/mremap.S
+++ b/libc/arch-x86_64/syscalls/mremap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(mremap)
movq %rcx, %r10
movl $__NR_mremap, %eax
@@ -12,7 +10,7 @@ ENTRY(mremap)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(mremap)
diff --git a/libc/arch-x86_64/syscalls/msync.S b/libc/arch-x86_64/syscalls/msync.S
index 1d0e785..099dbbf 100644
--- a/libc/arch-x86_64/syscalls/msync.S
+++ b/libc/arch-x86_64/syscalls/msync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(msync)
movl $__NR_msync, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(msync)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(msync)
diff --git a/libc/arch-x86_64/syscalls/munlock.S b/libc/arch-x86_64/syscalls/munlock.S
index 17e368b..bb5940c 100644
--- a/libc/arch-x86_64/syscalls/munlock.S
+++ b/libc/arch-x86_64/syscalls/munlock.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlock)
movl $__NR_munlock, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(munlock)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(munlock)
diff --git a/libc/arch-x86_64/syscalls/munlockall.S b/libc/arch-x86_64/syscalls/munlockall.S
index 6bb7aa6..f9579df 100644
--- a/libc/arch-x86_64/syscalls/munlockall.S
+++ b/libc/arch-x86_64/syscalls/munlockall.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munlockall)
movl $__NR_munlockall, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(munlockall)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(munlockall)
diff --git a/libc/arch-x86_64/syscalls/munmap.S b/libc/arch-x86_64/syscalls/munmap.S
index f423a66..d1c580e 100644
--- a/libc/arch-x86_64/syscalls/munmap.S
+++ b/libc/arch-x86_64/syscalls/munmap.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(munmap)
movl $__NR_munmap, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(munmap)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(munmap)
diff --git a/libc/arch-x86_64/syscalls/nanosleep.S b/libc/arch-x86_64/syscalls/nanosleep.S
index caa1ae6..b19f7f5 100644
--- a/libc/arch-x86_64/syscalls/nanosleep.S
+++ b/libc/arch-x86_64/syscalls/nanosleep.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(nanosleep)
movl $__NR_nanosleep, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(nanosleep)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(nanosleep)
diff --git a/libc/arch-x86_64/syscalls/personality.S b/libc/arch-x86_64/syscalls/personality.S
index a742dbf..6937e4c 100644
--- a/libc/arch-x86_64/syscalls/personality.S
+++ b/libc/arch-x86_64/syscalls/personality.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(personality)
movl $__NR_personality, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(personality)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(personality)
diff --git a/libc/arch-x86_64/syscalls/pipe2.S b/libc/arch-x86_64/syscalls/pipe2.S
index e34ca69..d488c87 100644
--- a/libc/arch-x86_64/syscalls/pipe2.S
+++ b/libc/arch-x86_64/syscalls/pipe2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pipe2)
movl $__NR_pipe2, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(pipe2)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(pipe2)
diff --git a/libc/arch-x86_64/syscalls/prctl.S b/libc/arch-x86_64/syscalls/prctl.S
index b4cdaa5..4f3d2ae 100644
--- a/libc/arch-x86_64/syscalls/prctl.S
+++ b/libc/arch-x86_64/syscalls/prctl.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prctl)
movq %rcx, %r10
movl $__NR_prctl, %eax
@@ -12,7 +10,7 @@ ENTRY(prctl)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(prctl)
diff --git a/libc/arch-x86_64/syscalls/pread64.S b/libc/arch-x86_64/syscalls/pread64.S
index 1d042ef..3aa56e5 100644
--- a/libc/arch-x86_64/syscalls/pread64.S
+++ b/libc/arch-x86_64/syscalls/pread64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pread64)
movq %rcx, %r10
movl $__NR_pread64, %eax
@@ -12,7 +10,7 @@ ENTRY(pread64)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(pread64)
diff --git a/libc/arch-x86_64/syscalls/prlimit64.S b/libc/arch-x86_64/syscalls/prlimit64.S
index 52151a8..63ec492 100644
--- a/libc/arch-x86_64/syscalls/prlimit64.S
+++ b/libc/arch-x86_64/syscalls/prlimit64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(prlimit64)
movq %rcx, %r10
movl $__NR_prlimit64, %eax
@@ -12,7 +10,7 @@ ENTRY(prlimit64)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(prlimit64)
diff --git a/libc/arch-x86_64/syscalls/pwrite64.S b/libc/arch-x86_64/syscalls/pwrite64.S
index 2fb0f16..2779fb4 100644
--- a/libc/arch-x86_64/syscalls/pwrite64.S
+++ b/libc/arch-x86_64/syscalls/pwrite64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(pwrite64)
movq %rcx, %r10
movl $__NR_pwrite64, %eax
@@ -12,7 +10,7 @@ ENTRY(pwrite64)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(pwrite64)
diff --git a/libc/arch-x86_64/syscalls/read.S b/libc/arch-x86_64/syscalls/read.S
index 3f2862e..df70e7f 100644
--- a/libc/arch-x86_64/syscalls/read.S
+++ b/libc/arch-x86_64/syscalls/read.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(read)
movl $__NR_read, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(read)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(read)
diff --git a/libc/arch-x86_64/syscalls/readahead.S b/libc/arch-x86_64/syscalls/readahead.S
index df3aba1..38cb1c0 100644
--- a/libc/arch-x86_64/syscalls/readahead.S
+++ b/libc/arch-x86_64/syscalls/readahead.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readahead)
movl $__NR_readahead, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(readahead)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(readahead)
diff --git a/libc/arch-x86_64/syscalls/readlinkat.S b/libc/arch-x86_64/syscalls/readlinkat.S
index 554b8b6..9fd64e5 100644
--- a/libc/arch-x86_64/syscalls/readlinkat.S
+++ b/libc/arch-x86_64/syscalls/readlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readlinkat)
movq %rcx, %r10
movl $__NR_readlinkat, %eax
@@ -12,7 +10,7 @@ ENTRY(readlinkat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(readlinkat)
diff --git a/libc/arch-x86_64/syscalls/readv.S b/libc/arch-x86_64/syscalls/readv.S
index 75d04e9..2510c56 100644
--- a/libc/arch-x86_64/syscalls/readv.S
+++ b/libc/arch-x86_64/syscalls/readv.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(readv)
movl $__NR_readv, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(readv)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(readv)
diff --git a/libc/arch-x86_64/syscalls/recvfrom.S b/libc/arch-x86_64/syscalls/recvfrom.S
index 4ee5631..6c09078 100644
--- a/libc/arch-x86_64/syscalls/recvfrom.S
+++ b/libc/arch-x86_64/syscalls/recvfrom.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvfrom)
movq %rcx, %r10
movl $__NR_recvfrom, %eax
@@ -12,7 +10,7 @@ ENTRY(recvfrom)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(recvfrom)
diff --git a/libc/arch-x86_64/syscalls/recvmmsg.S b/libc/arch-x86_64/syscalls/recvmmsg.S
index 3279325..78da691 100644
--- a/libc/arch-x86_64/syscalls/recvmmsg.S
+++ b/libc/arch-x86_64/syscalls/recvmmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmmsg)
movq %rcx, %r10
movl $__NR_recvmmsg, %eax
@@ -12,7 +10,7 @@ ENTRY(recvmmsg)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(recvmmsg)
diff --git a/libc/arch-x86_64/syscalls/recvmsg.S b/libc/arch-x86_64/syscalls/recvmsg.S
index 7c186fd..945f17b 100644
--- a/libc/arch-x86_64/syscalls/recvmsg.S
+++ b/libc/arch-x86_64/syscalls/recvmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(recvmsg)
movl $__NR_recvmsg, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(recvmsg)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(recvmsg)
diff --git a/libc/arch-x86_64/syscalls/removexattr.S b/libc/arch-x86_64/syscalls/removexattr.S
index 9091647..9b47615 100644
--- a/libc/arch-x86_64/syscalls/removexattr.S
+++ b/libc/arch-x86_64/syscalls/removexattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(removexattr)
movl $__NR_removexattr, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(removexattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(removexattr)
diff --git a/libc/arch-x86_64/syscalls/renameat.S b/libc/arch-x86_64/syscalls/renameat.S
index 7258712..3a94a75 100644
--- a/libc/arch-x86_64/syscalls/renameat.S
+++ b/libc/arch-x86_64/syscalls/renameat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(renameat)
movq %rcx, %r10
movl $__NR_renameat, %eax
@@ -12,7 +10,7 @@ ENTRY(renameat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(renameat)
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 604d6c8..1a0da23 100644
--- a/libc/arch-x86_64/syscalls/sched_get_priority_max.S
+++ b/libc/arch-x86_64/syscalls/sched_get_priority_max.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_max)
movl $__NR_sched_get_priority_max, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sched_get_priority_max)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sched_get_priority_max)
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 eaeb765..3785877 100644
--- a/libc/arch-x86_64/syscalls/sched_get_priority_min.S
+++ b/libc/arch-x86_64/syscalls/sched_get_priority_min.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_get_priority_min)
movl $__NR_sched_get_priority_min, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sched_get_priority_min)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sched_get_priority_min)
diff --git a/libc/arch-x86_64/syscalls/sched_getparam.S b/libc/arch-x86_64/syscalls/sched_getparam.S
index e269c7d..409b501 100644
--- a/libc/arch-x86_64/syscalls/sched_getparam.S
+++ b/libc/arch-x86_64/syscalls/sched_getparam.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getparam)
movl $__NR_sched_getparam, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sched_getparam)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sched_getparam)
diff --git a/libc/arch-x86_64/syscalls/sched_getscheduler.S b/libc/arch-x86_64/syscalls/sched_getscheduler.S
index 0cf3b54..5200504 100644
--- a/libc/arch-x86_64/syscalls/sched_getscheduler.S
+++ b/libc/arch-x86_64/syscalls/sched_getscheduler.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_getscheduler)
movl $__NR_sched_getscheduler, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sched_getscheduler)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sched_getscheduler)
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 662a28c..276feb1 100644
--- a/libc/arch-x86_64/syscalls/sched_rr_get_interval.S
+++ b/libc/arch-x86_64/syscalls/sched_rr_get_interval.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_rr_get_interval)
movl $__NR_sched_rr_get_interval, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sched_rr_get_interval)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sched_rr_get_interval)
diff --git a/libc/arch-x86_64/syscalls/sched_setaffinity.S b/libc/arch-x86_64/syscalls/sched_setaffinity.S
index 79b43fd..1fb87e5 100644
--- a/libc/arch-x86_64/syscalls/sched_setaffinity.S
+++ b/libc/arch-x86_64/syscalls/sched_setaffinity.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setaffinity)
movl $__NR_sched_setaffinity, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sched_setaffinity)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sched_setaffinity)
diff --git a/libc/arch-x86_64/syscalls/sched_setparam.S b/libc/arch-x86_64/syscalls/sched_setparam.S
index 871b492..91ca83b 100644
--- a/libc/arch-x86_64/syscalls/sched_setparam.S
+++ b/libc/arch-x86_64/syscalls/sched_setparam.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setparam)
movl $__NR_sched_setparam, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sched_setparam)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sched_setparam)
diff --git a/libc/arch-x86_64/syscalls/sched_setscheduler.S b/libc/arch-x86_64/syscalls/sched_setscheduler.S
index 0dcb47d..7fa499a 100644
--- a/libc/arch-x86_64/syscalls/sched_setscheduler.S
+++ b/libc/arch-x86_64/syscalls/sched_setscheduler.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_setscheduler)
movl $__NR_sched_setscheduler, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sched_setscheduler)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sched_setscheduler)
diff --git a/libc/arch-x86_64/syscalls/sched_yield.S b/libc/arch-x86_64/syscalls/sched_yield.S
index 12de511..8eb10f6 100644
--- a/libc/arch-x86_64/syscalls/sched_yield.S
+++ b/libc/arch-x86_64/syscalls/sched_yield.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sched_yield)
movl $__NR_sched_yield, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sched_yield)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sched_yield)
diff --git a/libc/arch-x86_64/syscalls/sendfile.S b/libc/arch-x86_64/syscalls/sendfile.S
index 0255bf2..117b0aa 100644
--- a/libc/arch-x86_64/syscalls/sendfile.S
+++ b/libc/arch-x86_64/syscalls/sendfile.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendfile)
movq %rcx, %r10
movl $__NR_sendfile, %eax
@@ -12,7 +10,7 @@ ENTRY(sendfile)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sendfile)
diff --git a/libc/arch-x86_64/syscalls/sendmmsg.S b/libc/arch-x86_64/syscalls/sendmmsg.S
index 47b2e3a..cf4a78d 100644
--- a/libc/arch-x86_64/syscalls/sendmmsg.S
+++ b/libc/arch-x86_64/syscalls/sendmmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmmsg)
movq %rcx, %r10
movl $__NR_sendmmsg, %eax
@@ -12,7 +10,7 @@ ENTRY(sendmmsg)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sendmmsg)
diff --git a/libc/arch-x86_64/syscalls/sendmsg.S b/libc/arch-x86_64/syscalls/sendmsg.S
index e9eecf6..84566b5 100644
--- a/libc/arch-x86_64/syscalls/sendmsg.S
+++ b/libc/arch-x86_64/syscalls/sendmsg.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendmsg)
movl $__NR_sendmsg, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sendmsg)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sendmsg)
diff --git a/libc/arch-x86_64/syscalls/sendto.S b/libc/arch-x86_64/syscalls/sendto.S
index f8cc149..be3bace 100644
--- a/libc/arch-x86_64/syscalls/sendto.S
+++ b/libc/arch-x86_64/syscalls/sendto.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sendto)
movq %rcx, %r10
movl $__NR_sendto, %eax
@@ -12,7 +10,7 @@ ENTRY(sendto)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sendto)
diff --git a/libc/arch-x86_64/syscalls/setfsgid.S b/libc/arch-x86_64/syscalls/setfsgid.S
index bfc9c5d..22a36b2 100644
--- a/libc/arch-x86_64/syscalls/setfsgid.S
+++ b/libc/arch-x86_64/syscalls/setfsgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsgid)
movl $__NR_setfsgid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setfsgid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setfsgid)
diff --git a/libc/arch-x86_64/syscalls/setfsuid.S b/libc/arch-x86_64/syscalls/setfsuid.S
index 2540a36..0bd0c97 100644
--- a/libc/arch-x86_64/syscalls/setfsuid.S
+++ b/libc/arch-x86_64/syscalls/setfsuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setfsuid)
movl $__NR_setfsuid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setfsuid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setfsuid)
diff --git a/libc/arch-x86_64/syscalls/setgid.S b/libc/arch-x86_64/syscalls/setgid.S
index 8f9ce53..650f8e2 100644
--- a/libc/arch-x86_64/syscalls/setgid.S
+++ b/libc/arch-x86_64/syscalls/setgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgid)
movl $__NR_setgid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setgid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setgid)
diff --git a/libc/arch-x86_64/syscalls/setgroups.S b/libc/arch-x86_64/syscalls/setgroups.S
index 81023ab..c798c14 100644
--- a/libc/arch-x86_64/syscalls/setgroups.S
+++ b/libc/arch-x86_64/syscalls/setgroups.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setgroups)
movl $__NR_setgroups, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setgroups)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setgroups)
diff --git a/libc/arch-x86_64/syscalls/setitimer.S b/libc/arch-x86_64/syscalls/setitimer.S
index 6882564..c5fabb2 100644
--- a/libc/arch-x86_64/syscalls/setitimer.S
+++ b/libc/arch-x86_64/syscalls/setitimer.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setitimer)
movl $__NR_setitimer, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setitimer)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setitimer)
diff --git a/libc/arch-x86_64/syscalls/setns.S b/libc/arch-x86_64/syscalls/setns.S
index 15dc51c..c2ae97d 100644
--- a/libc/arch-x86_64/syscalls/setns.S
+++ b/libc/arch-x86_64/syscalls/setns.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setns)
movl $__NR_setns, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setns)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setns)
diff --git a/libc/arch-x86_64/syscalls/setpgid.S b/libc/arch-x86_64/syscalls/setpgid.S
index 0cbb9a3..4d4313c 100644
--- a/libc/arch-x86_64/syscalls/setpgid.S
+++ b/libc/arch-x86_64/syscalls/setpgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpgid)
movl $__NR_setpgid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setpgid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setpgid)
diff --git a/libc/arch-x86_64/syscalls/setpriority.S b/libc/arch-x86_64/syscalls/setpriority.S
index e2ee775..3c508c3 100644
--- a/libc/arch-x86_64/syscalls/setpriority.S
+++ b/libc/arch-x86_64/syscalls/setpriority.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setpriority)
movl $__NR_setpriority, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setpriority)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setpriority)
diff --git a/libc/arch-x86_64/syscalls/setregid.S b/libc/arch-x86_64/syscalls/setregid.S
index 1d53e4c..181a8b9 100644
--- a/libc/arch-x86_64/syscalls/setregid.S
+++ b/libc/arch-x86_64/syscalls/setregid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setregid)
movl $__NR_setregid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setregid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setregid)
diff --git a/libc/arch-x86_64/syscalls/setresgid.S b/libc/arch-x86_64/syscalls/setresgid.S
index 7663cc6..fe44786 100644
--- a/libc/arch-x86_64/syscalls/setresgid.S
+++ b/libc/arch-x86_64/syscalls/setresgid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresgid)
movl $__NR_setresgid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setresgid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setresgid)
diff --git a/libc/arch-x86_64/syscalls/setresuid.S b/libc/arch-x86_64/syscalls/setresuid.S
index 96e691f..58cd2ca 100644
--- a/libc/arch-x86_64/syscalls/setresuid.S
+++ b/libc/arch-x86_64/syscalls/setresuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setresuid)
movl $__NR_setresuid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setresuid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setresuid)
diff --git a/libc/arch-x86_64/syscalls/setreuid.S b/libc/arch-x86_64/syscalls/setreuid.S
index 9ee7208..e25658b 100644
--- a/libc/arch-x86_64/syscalls/setreuid.S
+++ b/libc/arch-x86_64/syscalls/setreuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setreuid)
movl $__NR_setreuid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setreuid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setreuid)
diff --git a/libc/arch-x86_64/syscalls/setrlimit.S b/libc/arch-x86_64/syscalls/setrlimit.S
index 393a5c1..ef03068 100644
--- a/libc/arch-x86_64/syscalls/setrlimit.S
+++ b/libc/arch-x86_64/syscalls/setrlimit.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setrlimit)
movl $__NR_setrlimit, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setrlimit)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setrlimit)
diff --git a/libc/arch-x86_64/syscalls/setsid.S b/libc/arch-x86_64/syscalls/setsid.S
index bed06c9..01d9269 100644
--- a/libc/arch-x86_64/syscalls/setsid.S
+++ b/libc/arch-x86_64/syscalls/setsid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsid)
movl $__NR_setsid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setsid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setsid)
diff --git a/libc/arch-x86_64/syscalls/setsockopt.S b/libc/arch-x86_64/syscalls/setsockopt.S
index 3c12cd6..629fdf0 100644
--- a/libc/arch-x86_64/syscalls/setsockopt.S
+++ b/libc/arch-x86_64/syscalls/setsockopt.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setsockopt)
movq %rcx, %r10
movl $__NR_setsockopt, %eax
@@ -12,7 +10,7 @@ ENTRY(setsockopt)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setsockopt)
diff --git a/libc/arch-x86_64/syscalls/settimeofday.S b/libc/arch-x86_64/syscalls/settimeofday.S
index 317946a..ac5b9b1 100644
--- a/libc/arch-x86_64/syscalls/settimeofday.S
+++ b/libc/arch-x86_64/syscalls/settimeofday.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(settimeofday)
movl $__NR_settimeofday, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(settimeofday)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(settimeofday)
diff --git a/libc/arch-x86_64/syscalls/setuid.S b/libc/arch-x86_64/syscalls/setuid.S
index 8da7d86..f335a76 100644
--- a/libc/arch-x86_64/syscalls/setuid.S
+++ b/libc/arch-x86_64/syscalls/setuid.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setuid)
movl $__NR_setuid, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(setuid)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setuid)
diff --git a/libc/arch-x86_64/syscalls/setxattr.S b/libc/arch-x86_64/syscalls/setxattr.S
index 2abaa76..d750423 100644
--- a/libc/arch-x86_64/syscalls/setxattr.S
+++ b/libc/arch-x86_64/syscalls/setxattr.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(setxattr)
movq %rcx, %r10
movl $__NR_setxattr, %eax
@@ -12,7 +10,7 @@ ENTRY(setxattr)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(setxattr)
diff --git a/libc/arch-x86_64/syscalls/shutdown.S b/libc/arch-x86_64/syscalls/shutdown.S
index b5840d7..a030c97 100644
--- a/libc/arch-x86_64/syscalls/shutdown.S
+++ b/libc/arch-x86_64/syscalls/shutdown.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(shutdown)
movl $__NR_shutdown, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(shutdown)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(shutdown)
diff --git a/libc/arch-x86_64/syscalls/sigaltstack.S b/libc/arch-x86_64/syscalls/sigaltstack.S
index 2dd6aa4..71ce537 100644
--- a/libc/arch-x86_64/syscalls/sigaltstack.S
+++ b/libc/arch-x86_64/syscalls/sigaltstack.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sigaltstack)
movl $__NR_sigaltstack, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sigaltstack)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sigaltstack)
diff --git a/libc/arch-x86_64/syscalls/socketpair.S b/libc/arch-x86_64/syscalls/socketpair.S
index cb32a8a..dbcf50d 100644
--- a/libc/arch-x86_64/syscalls/socketpair.S
+++ b/libc/arch-x86_64/syscalls/socketpair.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(socketpair)
movq %rcx, %r10
movl $__NR_socketpair, %eax
@@ -12,7 +10,7 @@ ENTRY(socketpair)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(socketpair)
diff --git a/libc/arch-x86_64/syscalls/splice.S b/libc/arch-x86_64/syscalls/splice.S
index 351e1c7..1b2ec84 100644
--- a/libc/arch-x86_64/syscalls/splice.S
+++ b/libc/arch-x86_64/syscalls/splice.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(splice)
movq %rcx, %r10
movl $__NR_splice, %eax
@@ -12,7 +10,7 @@ ENTRY(splice)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(splice)
diff --git a/libc/arch-x86_64/syscalls/statfs64.S b/libc/arch-x86_64/syscalls/statfs64.S
index 26c3d53..16f6bdd 100644
--- a/libc/arch-x86_64/syscalls/statfs64.S
+++ b/libc/arch-x86_64/syscalls/statfs64.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(statfs64)
movl $__NR_statfs, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(statfs64)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(statfs64)
diff --git a/libc/arch-x86_64/syscalls/swapoff.S b/libc/arch-x86_64/syscalls/swapoff.S
index 1bf331c..df922a0 100644
--- a/libc/arch-x86_64/syscalls/swapoff.S
+++ b/libc/arch-x86_64/syscalls/swapoff.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapoff)
movl $__NR_swapoff, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(swapoff)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(swapoff)
diff --git a/libc/arch-x86_64/syscalls/swapon.S b/libc/arch-x86_64/syscalls/swapon.S
index 7405ccb..036b422 100644
--- a/libc/arch-x86_64/syscalls/swapon.S
+++ b/libc/arch-x86_64/syscalls/swapon.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(swapon)
movl $__NR_swapon, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(swapon)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(swapon)
diff --git a/libc/arch-x86_64/syscalls/symlinkat.S b/libc/arch-x86_64/syscalls/symlinkat.S
index bea2da8..fdbced5 100644
--- a/libc/arch-x86_64/syscalls/symlinkat.S
+++ b/libc/arch-x86_64/syscalls/symlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(symlinkat)
movl $__NR_symlinkat, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(symlinkat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(symlinkat)
diff --git a/libc/arch-x86_64/syscalls/sync.S b/libc/arch-x86_64/syscalls/sync.S
index 97aa427..a4153fd 100644
--- a/libc/arch-x86_64/syscalls/sync.S
+++ b/libc/arch-x86_64/syscalls/sync.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sync)
movl $__NR_sync, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sync)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sync)
diff --git a/libc/arch-x86_64/syscalls/sysinfo.S b/libc/arch-x86_64/syscalls/sysinfo.S
index de8fb8f..754ef61 100644
--- a/libc/arch-x86_64/syscalls/sysinfo.S
+++ b/libc/arch-x86_64/syscalls/sysinfo.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(sysinfo)
movl $__NR_sysinfo, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(sysinfo)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(sysinfo)
diff --git a/libc/arch-x86_64/syscalls/tee.S b/libc/arch-x86_64/syscalls/tee.S
index 41e2370..31d66dc 100644
--- a/libc/arch-x86_64/syscalls/tee.S
+++ b/libc/arch-x86_64/syscalls/tee.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tee)
movq %rcx, %r10
movl $__NR_tee, %eax
@@ -12,7 +10,7 @@ ENTRY(tee)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(tee)
diff --git a/libc/arch-x86_64/syscalls/tgkill.S b/libc/arch-x86_64/syscalls/tgkill.S
index 00b2b42..9c46887 100644
--- a/libc/arch-x86_64/syscalls/tgkill.S
+++ b/libc/arch-x86_64/syscalls/tgkill.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(tgkill)
movl $__NR_tgkill, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(tgkill)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(tgkill)
diff --git a/libc/arch-x86_64/syscalls/timerfd_create.S b/libc/arch-x86_64/syscalls/timerfd_create.S
index eef3208..56b45e8 100644
--- a/libc/arch-x86_64/syscalls/timerfd_create.S
+++ b/libc/arch-x86_64/syscalls/timerfd_create.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_create)
movl $__NR_timerfd_create, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(timerfd_create)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(timerfd_create)
diff --git a/libc/arch-x86_64/syscalls/timerfd_gettime.S b/libc/arch-x86_64/syscalls/timerfd_gettime.S
index 9f11c5a..8c9b5d6 100644
--- a/libc/arch-x86_64/syscalls/timerfd_gettime.S
+++ b/libc/arch-x86_64/syscalls/timerfd_gettime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_gettime)
movl $__NR_timerfd_gettime, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(timerfd_gettime)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(timerfd_gettime)
diff --git a/libc/arch-x86_64/syscalls/timerfd_settime.S b/libc/arch-x86_64/syscalls/timerfd_settime.S
index 65a17e1..a524c0c 100644
--- a/libc/arch-x86_64/syscalls/timerfd_settime.S
+++ b/libc/arch-x86_64/syscalls/timerfd_settime.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(timerfd_settime)
movq %rcx, %r10
movl $__NR_timerfd_settime, %eax
@@ -12,7 +10,7 @@ ENTRY(timerfd_settime)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(timerfd_settime)
diff --git a/libc/arch-x86_64/syscalls/times.S b/libc/arch-x86_64/syscalls/times.S
index 5ee21be..89502bd 100644
--- a/libc/arch-x86_64/syscalls/times.S
+++ b/libc/arch-x86_64/syscalls/times.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(times)
movl $__NR_times, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(times)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(times)
diff --git a/libc/arch-x86_64/syscalls/truncate.S b/libc/arch-x86_64/syscalls/truncate.S
index 2dc1793..2ecd05b 100644
--- a/libc/arch-x86_64/syscalls/truncate.S
+++ b/libc/arch-x86_64/syscalls/truncate.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(truncate)
movl $__NR_truncate, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(truncate)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(truncate)
diff --git a/libc/arch-x86_64/syscalls/umask.S b/libc/arch-x86_64/syscalls/umask.S
index ad102bd..acd37e8 100644
--- a/libc/arch-x86_64/syscalls/umask.S
+++ b/libc/arch-x86_64/syscalls/umask.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umask)
movl $__NR_umask, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(umask)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(umask)
diff --git a/libc/arch-x86_64/syscalls/umount2.S b/libc/arch-x86_64/syscalls/umount2.S
index 31588de..438aedb 100644
--- a/libc/arch-x86_64/syscalls/umount2.S
+++ b/libc/arch-x86_64/syscalls/umount2.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(umount2)
movl $__NR_umount2, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(umount2)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(umount2)
diff --git a/libc/arch-x86_64/syscalls/uname.S b/libc/arch-x86_64/syscalls/uname.S
index ad2d8f4..6f077df 100644
--- a/libc/arch-x86_64/syscalls/uname.S
+++ b/libc/arch-x86_64/syscalls/uname.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(uname)
movl $__NR_uname, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(uname)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(uname)
diff --git a/libc/arch-x86_64/syscalls/unlinkat.S b/libc/arch-x86_64/syscalls/unlinkat.S
index e6aac2e..80f0251 100644
--- a/libc/arch-x86_64/syscalls/unlinkat.S
+++ b/libc/arch-x86_64/syscalls/unlinkat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unlinkat)
movl $__NR_unlinkat, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(unlinkat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(unlinkat)
diff --git a/libc/arch-x86_64/syscalls/unshare.S b/libc/arch-x86_64/syscalls/unshare.S
index 6594df0..8316d20 100644
--- a/libc/arch-x86_64/syscalls/unshare.S
+++ b/libc/arch-x86_64/syscalls/unshare.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(unshare)
movl $__NR_unshare, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(unshare)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(unshare)
diff --git a/libc/arch-x86_64/syscalls/utimensat.S b/libc/arch-x86_64/syscalls/utimensat.S
index 5eaac1b..3e43826 100644
--- a/libc/arch-x86_64/syscalls/utimensat.S
+++ b/libc/arch-x86_64/syscalls/utimensat.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(utimensat)
movq %rcx, %r10
movl $__NR_utimensat, %eax
@@ -12,7 +10,7 @@ ENTRY(utimensat)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(utimensat)
diff --git a/libc/arch-x86_64/syscalls/vmsplice.S b/libc/arch-x86_64/syscalls/vmsplice.S
index 6f9e5d1..df775c6 100644
--- a/libc/arch-x86_64/syscalls/vmsplice.S
+++ b/libc/arch-x86_64/syscalls/vmsplice.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(vmsplice)
movq %rcx, %r10
movl $__NR_vmsplice, %eax
@@ -12,7 +10,7 @@ ENTRY(vmsplice)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(vmsplice)
diff --git a/libc/arch-x86_64/syscalls/wait4.S b/libc/arch-x86_64/syscalls/wait4.S
index 141fe19..d392dc7 100644
--- a/libc/arch-x86_64/syscalls/wait4.S
+++ b/libc/arch-x86_64/syscalls/wait4.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(wait4)
movq %rcx, %r10
movl $__NR_wait4, %eax
@@ -12,7 +10,7 @@ ENTRY(wait4)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(wait4)
diff --git a/libc/arch-x86_64/syscalls/write.S b/libc/arch-x86_64/syscalls/write.S
index 498fca7..145c793 100644
--- a/libc/arch-x86_64/syscalls/write.S
+++ b/libc/arch-x86_64/syscalls/write.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(write)
movl $__NR_write, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(write)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(write)
diff --git a/libc/arch-x86_64/syscalls/writev.S b/libc/arch-x86_64/syscalls/writev.S
index ef80eb8..8f8956f 100644
--- a/libc/arch-x86_64/syscalls/writev.S
+++ b/libc/arch-x86_64/syscalls/writev.S
@@ -2,8 +2,6 @@
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(writev)
movl $__NR_writev, %eax
syscall
@@ -11,7 +9,7 @@ ENTRY(writev)
jb 1f
negl %eax
movl %eax, %edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(writev)
diff --git a/libc/bionic/__set_errno.cpp b/libc/bionic/__set_errno.cpp
index 236aeac..30df350 100644
--- a/libc/bionic/__set_errno.cpp
+++ b/libc/bionic/__set_errno.cpp
@@ -36,14 +36,20 @@
// system these are the same size, but on a 64-bit system they're not.
// 'long' gives us 32-bit on 32-bit systems, 64-bit on 64-bit systems.
-#if __LP64__
-extern "C" __LIBC_HIDDEN__ long __set_errno(int);
-#else
// __set_errno was mistakenly exposed in <errno.h> in the 32-bit NDK.
-extern "C" long __set_errno(int);
-#endif
+// We need the extra level of indirection so that the .hidden directives
+// in the system call stubs don't cause __set_errno to be hidden, breaking
+// old NDK apps.
-long __set_errno(int n) {
+// This one is for internal use only and used by both LP32 and LP64 assembler.
+extern "C" __LIBC_HIDDEN__ long __set_errno_internal(int n) {
errno = n;
return -1;
}
+
+// This one exists for the LP32 NDK and is not present at all in LP64.
+#if !defined(__LP64__)
+extern "C" long __set_errno(int n) {
+ return __set_errno_internal(n);
+}
+#endif
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py
index 929bec4..4e24077 100755
--- a/libc/tools/gensyscalls.py
+++ b/libc/tools/gensyscalls.py
@@ -52,8 +52,6 @@ syscall_stub_header = "/* " + warning + " */\n" + \
"""
#include <private/bionic_asm.h>
- .hidden __set_errno
-
ENTRY(%(func)s)
"""
@@ -76,7 +74,7 @@ arm_eabi_call_default = syscall_stub_header + """\
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(%(func)s)
"""
@@ -96,7 +94,7 @@ arm_eabi_call_long = syscall_stub_header + """\
cmn r0, #(MAX_ERRNO + 1)
bxls lr
neg r0, r0
- b __set_errno
+ b __set_errno_internal
END(%(func)s)
"""
@@ -111,7 +109,7 @@ arm64_call = syscall_stub_header + """\
cmn x0, #(MAX_ERRNO + 1)
cneg x0, x0, hi
- b.hi __set_errno
+ b.hi __set_errno_internal
ret
END(%(func)s)
@@ -132,7 +130,7 @@ mips_call = syscall_stub_header + """\
j ra
nop
1:
- la t9,__set_errno
+ la t9,__set_errno_internal
j t9
nop
.set reorder
@@ -159,7 +157,7 @@ mips64_call = syscall_stub_header + """\
nop
2:
.cpsetup ra, t1, 2b
- LA t9,__set_errno
+ LA t9,__set_errno_internal
.cpreturn
j t9
move ra, t0
@@ -181,7 +179,7 @@ x86_call = """\
jb 1f
negl %%eax
pushl %%eax
- call __set_errno
+ call __set_errno_internal
addl $4, %%esp
1:
"""
@@ -203,7 +201,7 @@ x86_64_call = """\
jb 1f
negl %%eax
movl %%eax, %%edi
- call __set_errno
+ call __set_errno_internal
1:
ret
END(%(func)s)