summaryrefslogtreecommitdiffstats
path: root/libc/arch-mips64
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-08-08 15:19:20 -0700
committerDan Albert <danalbert@google.com>2014-08-08 15:35:47 -0700
commitbc9f9f25bf1247a6a638a2a2df8441bdd9fabad7 (patch)
tree17328616c29a98aa2eb16b6cb3a7b7b1c93c0322 /libc/arch-mips64
parent3788a1ee8eae4180117010bb9302334acfe1d218 (diff)
downloadbionic-bc9f9f25bf1247a6a638a2a2df8441bdd9fabad7.zip
bionic-bc9f9f25bf1247a6a638a2a2df8441bdd9fabad7.tar.gz
bionic-bc9f9f25bf1247a6a638a2a2df8441bdd9fabad7.tar.bz2
Make __set_errno hidden in asm.
This fixes the build after the -Bsymbolic change. Bug: 16853291 Change-Id: I989c9fec3c32e0289ea257a3bd2b7fd2709b6ce2
Diffstat (limited to 'libc/arch-mips64')
-rw-r--r--libc/arch-mips64/syscalls/__accept4.S2
-rw-r--r--libc/arch-mips64/syscalls/__brk.S2
-rw-r--r--libc/arch-mips64/syscalls/__connect.S2
-rw-r--r--libc/arch-mips64/syscalls/__epoll_pwait.S2
-rw-r--r--libc/arch-mips64/syscalls/__exit.S2
-rw-r--r--libc/arch-mips64/syscalls/__getcpu.S2
-rw-r--r--libc/arch-mips64/syscalls/__getcwd.S2
-rw-r--r--libc/arch-mips64/syscalls/__getdents64.S2
-rw-r--r--libc/arch-mips64/syscalls/__getpid.S2
-rw-r--r--libc/arch-mips64/syscalls/__getpriority.S2
-rw-r--r--libc/arch-mips64/syscalls/__ioctl.S2
-rw-r--r--libc/arch-mips64/syscalls/__openat.S2
-rw-r--r--libc/arch-mips64/syscalls/__ppoll.S2
-rw-r--r--libc/arch-mips64/syscalls/__pselect6.S2
-rw-r--r--libc/arch-mips64/syscalls/__ptrace.S2
-rw-r--r--libc/arch-mips64/syscalls/__reboot.S2
-rw-r--r--libc/arch-mips64/syscalls/__rt_sigaction.S2
-rw-r--r--libc/arch-mips64/syscalls/__rt_sigpending.S2
-rw-r--r--libc/arch-mips64/syscalls/__rt_sigprocmask.S2
-rw-r--r--libc/arch-mips64/syscalls/__rt_sigsuspend.S2
-rw-r--r--libc/arch-mips64/syscalls/__rt_sigtimedwait.S2
-rw-r--r--libc/arch-mips64/syscalls/__sched_getaffinity.S2
-rw-r--r--libc/arch-mips64/syscalls/__set_tid_address.S2
-rw-r--r--libc/arch-mips64/syscalls/__set_tls.S2
-rw-r--r--libc/arch-mips64/syscalls/__signalfd4.S2
-rw-r--r--libc/arch-mips64/syscalls/__socket.S2
-rw-r--r--libc/arch-mips64/syscalls/__timer_create.S2
-rw-r--r--libc/arch-mips64/syscalls/__timer_delete.S2
-rw-r--r--libc/arch-mips64/syscalls/__timer_getoverrun.S2
-rw-r--r--libc/arch-mips64/syscalls/__timer_gettime.S2
-rw-r--r--libc/arch-mips64/syscalls/__timer_settime.S2
-rw-r--r--libc/arch-mips64/syscalls/__waitid.S2
-rw-r--r--libc/arch-mips64/syscalls/_exit.S2
-rw-r--r--libc/arch-mips64/syscalls/_flush_cache.S2
-rw-r--r--libc/arch-mips64/syscalls/acct.S2
-rw-r--r--libc/arch-mips64/syscalls/bind.S2
-rw-r--r--libc/arch-mips64/syscalls/capget.S2
-rw-r--r--libc/arch-mips64/syscalls/capset.S2
-rw-r--r--libc/arch-mips64/syscalls/chdir.S2
-rw-r--r--libc/arch-mips64/syscalls/chroot.S2
-rw-r--r--libc/arch-mips64/syscalls/clock_getres.S2
-rw-r--r--libc/arch-mips64/syscalls/clock_gettime.S2
-rw-r--r--libc/arch-mips64/syscalls/clock_nanosleep.S2
-rw-r--r--libc/arch-mips64/syscalls/clock_settime.S2
-rw-r--r--libc/arch-mips64/syscalls/close.S2
-rw-r--r--libc/arch-mips64/syscalls/delete_module.S2
-rw-r--r--libc/arch-mips64/syscalls/dup.S2
-rw-r--r--libc/arch-mips64/syscalls/dup3.S2
-rw-r--r--libc/arch-mips64/syscalls/epoll_create1.S2
-rw-r--r--libc/arch-mips64/syscalls/epoll_ctl.S2
-rw-r--r--libc/arch-mips64/syscalls/eventfd.S2
-rw-r--r--libc/arch-mips64/syscalls/execve.S2
-rw-r--r--libc/arch-mips64/syscalls/faccessat.S2
-rw-r--r--libc/arch-mips64/syscalls/fallocate.S2
-rw-r--r--libc/arch-mips64/syscalls/fchdir.S2
-rw-r--r--libc/arch-mips64/syscalls/fchmod.S2
-rw-r--r--libc/arch-mips64/syscalls/fchmodat.S2
-rw-r--r--libc/arch-mips64/syscalls/fchown.S2
-rw-r--r--libc/arch-mips64/syscalls/fchownat.S2
-rw-r--r--libc/arch-mips64/syscalls/fcntl.S2
-rw-r--r--libc/arch-mips64/syscalls/fdatasync.S2
-rw-r--r--libc/arch-mips64/syscalls/fgetxattr.S2
-rw-r--r--libc/arch-mips64/syscalls/flistxattr.S2
-rw-r--r--libc/arch-mips64/syscalls/flock.S2
-rw-r--r--libc/arch-mips64/syscalls/fremovexattr.S2
-rw-r--r--libc/arch-mips64/syscalls/fsetxattr.S2
-rw-r--r--libc/arch-mips64/syscalls/fstat64.S2
-rw-r--r--libc/arch-mips64/syscalls/fstatat64.S2
-rw-r--r--libc/arch-mips64/syscalls/fstatfs64.S2
-rw-r--r--libc/arch-mips64/syscalls/fsync.S2
-rw-r--r--libc/arch-mips64/syscalls/ftruncate.S2
-rw-r--r--libc/arch-mips64/syscalls/getegid.S2
-rw-r--r--libc/arch-mips64/syscalls/geteuid.S2
-rw-r--r--libc/arch-mips64/syscalls/getgid.S2
-rw-r--r--libc/arch-mips64/syscalls/getgroups.S2
-rw-r--r--libc/arch-mips64/syscalls/getitimer.S2
-rw-r--r--libc/arch-mips64/syscalls/getpeername.S2
-rw-r--r--libc/arch-mips64/syscalls/getpgid.S2
-rw-r--r--libc/arch-mips64/syscalls/getppid.S2
-rw-r--r--libc/arch-mips64/syscalls/getresgid.S2
-rw-r--r--libc/arch-mips64/syscalls/getresuid.S2
-rw-r--r--libc/arch-mips64/syscalls/getrlimit.S2
-rw-r--r--libc/arch-mips64/syscalls/getrusage.S2
-rw-r--r--libc/arch-mips64/syscalls/getsid.S2
-rw-r--r--libc/arch-mips64/syscalls/getsockname.S2
-rw-r--r--libc/arch-mips64/syscalls/getsockopt.S2
-rw-r--r--libc/arch-mips64/syscalls/gettimeofday.S2
-rw-r--r--libc/arch-mips64/syscalls/getuid.S2
-rw-r--r--libc/arch-mips64/syscalls/getxattr.S2
-rw-r--r--libc/arch-mips64/syscalls/init_module.S2
-rw-r--r--libc/arch-mips64/syscalls/inotify_add_watch.S2
-rw-r--r--libc/arch-mips64/syscalls/inotify_init1.S2
-rw-r--r--libc/arch-mips64/syscalls/inotify_rm_watch.S2
-rw-r--r--libc/arch-mips64/syscalls/kill.S2
-rw-r--r--libc/arch-mips64/syscalls/klogctl.S2
-rw-r--r--libc/arch-mips64/syscalls/lgetxattr.S2
-rw-r--r--libc/arch-mips64/syscalls/linkat.S2
-rw-r--r--libc/arch-mips64/syscalls/listen.S2
-rw-r--r--libc/arch-mips64/syscalls/listxattr.S2
-rw-r--r--libc/arch-mips64/syscalls/llistxattr.S2
-rw-r--r--libc/arch-mips64/syscalls/lremovexattr.S2
-rw-r--r--libc/arch-mips64/syscalls/lseek.S2
-rw-r--r--libc/arch-mips64/syscalls/lsetxattr.S2
-rw-r--r--libc/arch-mips64/syscalls/madvise.S2
-rw-r--r--libc/arch-mips64/syscalls/mincore.S2
-rw-r--r--libc/arch-mips64/syscalls/mkdirat.S2
-rw-r--r--libc/arch-mips64/syscalls/mknodat.S2
-rw-r--r--libc/arch-mips64/syscalls/mlock.S2
-rw-r--r--libc/arch-mips64/syscalls/mlockall.S2
-rw-r--r--libc/arch-mips64/syscalls/mmap.S2
-rw-r--r--libc/arch-mips64/syscalls/mount.S2
-rw-r--r--libc/arch-mips64/syscalls/mprotect.S2
-rw-r--r--libc/arch-mips64/syscalls/mremap.S2
-rw-r--r--libc/arch-mips64/syscalls/msync.S2
-rw-r--r--libc/arch-mips64/syscalls/munlock.S2
-rw-r--r--libc/arch-mips64/syscalls/munlockall.S2
-rw-r--r--libc/arch-mips64/syscalls/munmap.S2
-rw-r--r--libc/arch-mips64/syscalls/nanosleep.S2
-rw-r--r--libc/arch-mips64/syscalls/personality.S2
-rw-r--r--libc/arch-mips64/syscalls/pipe2.S2
-rw-r--r--libc/arch-mips64/syscalls/prctl.S2
-rw-r--r--libc/arch-mips64/syscalls/pread64.S2
-rw-r--r--libc/arch-mips64/syscalls/prlimit64.S2
-rw-r--r--libc/arch-mips64/syscalls/pwrite64.S2
-rw-r--r--libc/arch-mips64/syscalls/read.S2
-rw-r--r--libc/arch-mips64/syscalls/readahead.S2
-rw-r--r--libc/arch-mips64/syscalls/readlinkat.S2
-rw-r--r--libc/arch-mips64/syscalls/readv.S2
-rw-r--r--libc/arch-mips64/syscalls/recvfrom.S2
-rw-r--r--libc/arch-mips64/syscalls/recvmmsg.S2
-rw-r--r--libc/arch-mips64/syscalls/recvmsg.S2
-rw-r--r--libc/arch-mips64/syscalls/removexattr.S2
-rw-r--r--libc/arch-mips64/syscalls/renameat.S2
-rw-r--r--libc/arch-mips64/syscalls/sched_get_priority_max.S2
-rw-r--r--libc/arch-mips64/syscalls/sched_get_priority_min.S2
-rw-r--r--libc/arch-mips64/syscalls/sched_getparam.S2
-rw-r--r--libc/arch-mips64/syscalls/sched_getscheduler.S2
-rw-r--r--libc/arch-mips64/syscalls/sched_rr_get_interval.S2
-rw-r--r--libc/arch-mips64/syscalls/sched_setaffinity.S2
-rw-r--r--libc/arch-mips64/syscalls/sched_setparam.S2
-rw-r--r--libc/arch-mips64/syscalls/sched_setscheduler.S2
-rw-r--r--libc/arch-mips64/syscalls/sched_yield.S2
-rw-r--r--libc/arch-mips64/syscalls/sendfile.S2
-rw-r--r--libc/arch-mips64/syscalls/sendmmsg.S2
-rw-r--r--libc/arch-mips64/syscalls/sendmsg.S2
-rw-r--r--libc/arch-mips64/syscalls/sendto.S2
-rw-r--r--libc/arch-mips64/syscalls/setfsgid.S2
-rw-r--r--libc/arch-mips64/syscalls/setfsuid.S2
-rw-r--r--libc/arch-mips64/syscalls/setgid.S2
-rw-r--r--libc/arch-mips64/syscalls/setgroups.S2
-rw-r--r--libc/arch-mips64/syscalls/setitimer.S2
-rw-r--r--libc/arch-mips64/syscalls/setns.S2
-rw-r--r--libc/arch-mips64/syscalls/setpgid.S2
-rw-r--r--libc/arch-mips64/syscalls/setpriority.S2
-rw-r--r--libc/arch-mips64/syscalls/setregid.S2
-rw-r--r--libc/arch-mips64/syscalls/setresgid.S2
-rw-r--r--libc/arch-mips64/syscalls/setresuid.S2
-rw-r--r--libc/arch-mips64/syscalls/setreuid.S2
-rw-r--r--libc/arch-mips64/syscalls/setrlimit.S2
-rw-r--r--libc/arch-mips64/syscalls/setsid.S2
-rw-r--r--libc/arch-mips64/syscalls/setsockopt.S2
-rw-r--r--libc/arch-mips64/syscalls/settimeofday.S2
-rw-r--r--libc/arch-mips64/syscalls/setuid.S2
-rw-r--r--libc/arch-mips64/syscalls/setxattr.S2
-rw-r--r--libc/arch-mips64/syscalls/shutdown.S2
-rw-r--r--libc/arch-mips64/syscalls/sigaltstack.S2
-rw-r--r--libc/arch-mips64/syscalls/socketpair.S2
-rw-r--r--libc/arch-mips64/syscalls/splice.S2
-rw-r--r--libc/arch-mips64/syscalls/statfs64.S2
-rw-r--r--libc/arch-mips64/syscalls/swapoff.S2
-rw-r--r--libc/arch-mips64/syscalls/swapon.S2
-rw-r--r--libc/arch-mips64/syscalls/symlinkat.S2
-rw-r--r--libc/arch-mips64/syscalls/sync.S2
-rw-r--r--libc/arch-mips64/syscalls/sysinfo.S2
-rw-r--r--libc/arch-mips64/syscalls/tee.S2
-rw-r--r--libc/arch-mips64/syscalls/tgkill.S2
-rw-r--r--libc/arch-mips64/syscalls/timerfd_create.S2
-rw-r--r--libc/arch-mips64/syscalls/timerfd_gettime.S2
-rw-r--r--libc/arch-mips64/syscalls/timerfd_settime.S2
-rw-r--r--libc/arch-mips64/syscalls/times.S2
-rw-r--r--libc/arch-mips64/syscalls/truncate.S2
-rw-r--r--libc/arch-mips64/syscalls/umask.S2
-rw-r--r--libc/arch-mips64/syscalls/umount2.S2
-rw-r--r--libc/arch-mips64/syscalls/uname.S2
-rw-r--r--libc/arch-mips64/syscalls/unlinkat.S2
-rw-r--r--libc/arch-mips64/syscalls/unshare.S2
-rw-r--r--libc/arch-mips64/syscalls/utimensat.S2
-rw-r--r--libc/arch-mips64/syscalls/vmsplice.S2
-rw-r--r--libc/arch-mips64/syscalls/wait4.S2
-rw-r--r--libc/arch-mips64/syscalls/write.S2
-rw-r--r--libc/arch-mips64/syscalls/writev.S2
191 files changed, 382 insertions, 0 deletions
diff --git a/libc/arch-mips64/syscalls/__accept4.S b/libc/arch-mips64/syscalls/__accept4.S
index e68bdb6..0891d7f 100644
--- a/libc/arch-mips64/syscalls/__accept4.S
+++ b/libc/arch-mips64/syscalls/__accept4.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__accept4)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__brk.S b/libc/arch-mips64/syscalls/__brk.S
index 99a108a..86f390c 100644
--- a/libc/arch-mips64/syscalls/__brk.S
+++ b/libc/arch-mips64/syscalls/__brk.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__brk)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__connect.S b/libc/arch-mips64/syscalls/__connect.S
index b1475fb..2efbb2a 100644
--- a/libc/arch-mips64/syscalls/__connect.S
+++ b/libc/arch-mips64/syscalls/__connect.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__connect)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__epoll_pwait.S b/libc/arch-mips64/syscalls/__epoll_pwait.S
index fc3867a..430d9bb 100644
--- a/libc/arch-mips64/syscalls/__epoll_pwait.S
+++ b/libc/arch-mips64/syscalls/__epoll_pwait.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__epoll_pwait)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__exit.S b/libc/arch-mips64/syscalls/__exit.S
index dac53b9..ebee0d1 100644
--- a/libc/arch-mips64/syscalls/__exit.S
+++ b/libc/arch-mips64/syscalls/__exit.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__exit)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__getcpu.S b/libc/arch-mips64/syscalls/__getcpu.S
index 9c08710..34a8acb 100644
--- a/libc/arch-mips64/syscalls/__getcpu.S
+++ b/libc/arch-mips64/syscalls/__getcpu.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__getcpu)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__getcwd.S b/libc/arch-mips64/syscalls/__getcwd.S
index 79fbca3..e7a09a6 100644
--- a/libc/arch-mips64/syscalls/__getcwd.S
+++ b/libc/arch-mips64/syscalls/__getcwd.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__getcwd)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__getdents64.S b/libc/arch-mips64/syscalls/__getdents64.S
index 6df556a..dc51e72 100644
--- a/libc/arch-mips64/syscalls/__getdents64.S
+++ b/libc/arch-mips64/syscalls/__getdents64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__getdents64)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__getpid.S b/libc/arch-mips64/syscalls/__getpid.S
index 0977ff0..86b4071 100644
--- a/libc/arch-mips64/syscalls/__getpid.S
+++ b/libc/arch-mips64/syscalls/__getpid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__getpid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__getpriority.S b/libc/arch-mips64/syscalls/__getpriority.S
index 6ca2e1f..f0c7267 100644
--- a/libc/arch-mips64/syscalls/__getpriority.S
+++ b/libc/arch-mips64/syscalls/__getpriority.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__getpriority)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__ioctl.S b/libc/arch-mips64/syscalls/__ioctl.S
index 013ce18..1f94075 100644
--- a/libc/arch-mips64/syscalls/__ioctl.S
+++ b/libc/arch-mips64/syscalls/__ioctl.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__ioctl)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__openat.S b/libc/arch-mips64/syscalls/__openat.S
index 1d46ef6..6cc56da 100644
--- a/libc/arch-mips64/syscalls/__openat.S
+++ b/libc/arch-mips64/syscalls/__openat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__openat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__ppoll.S b/libc/arch-mips64/syscalls/__ppoll.S
index fb0e19a..ce3a551 100644
--- a/libc/arch-mips64/syscalls/__ppoll.S
+++ b/libc/arch-mips64/syscalls/__ppoll.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__ppoll)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__pselect6.S b/libc/arch-mips64/syscalls/__pselect6.S
index 3055b31..dbfe79f 100644
--- a/libc/arch-mips64/syscalls/__pselect6.S
+++ b/libc/arch-mips64/syscalls/__pselect6.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__pselect6)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__ptrace.S b/libc/arch-mips64/syscalls/__ptrace.S
index bae7733..e26217f 100644
--- a/libc/arch-mips64/syscalls/__ptrace.S
+++ b/libc/arch-mips64/syscalls/__ptrace.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__ptrace)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__reboot.S b/libc/arch-mips64/syscalls/__reboot.S
index 31a97e3..a4f4e71 100644
--- a/libc/arch-mips64/syscalls/__reboot.S
+++ b/libc/arch-mips64/syscalls/__reboot.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__reboot)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__rt_sigaction.S b/libc/arch-mips64/syscalls/__rt_sigaction.S
index 3728c58..10f3598 100644
--- a/libc/arch-mips64/syscalls/__rt_sigaction.S
+++ b/libc/arch-mips64/syscalls/__rt_sigaction.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__rt_sigaction)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__rt_sigpending.S b/libc/arch-mips64/syscalls/__rt_sigpending.S
index e0d40cc..7855cca 100644
--- a/libc/arch-mips64/syscalls/__rt_sigpending.S
+++ b/libc/arch-mips64/syscalls/__rt_sigpending.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__rt_sigpending)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__rt_sigprocmask.S b/libc/arch-mips64/syscalls/__rt_sigprocmask.S
index d34a34b..f1ba2e9 100644
--- a/libc/arch-mips64/syscalls/__rt_sigprocmask.S
+++ b/libc/arch-mips64/syscalls/__rt_sigprocmask.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__rt_sigprocmask)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__rt_sigsuspend.S b/libc/arch-mips64/syscalls/__rt_sigsuspend.S
index f36e1c3..50ebf5e 100644
--- a/libc/arch-mips64/syscalls/__rt_sigsuspend.S
+++ b/libc/arch-mips64/syscalls/__rt_sigsuspend.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__rt_sigsuspend)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__rt_sigtimedwait.S b/libc/arch-mips64/syscalls/__rt_sigtimedwait.S
index 798d6f8..304d049 100644
--- a/libc/arch-mips64/syscalls/__rt_sigtimedwait.S
+++ b/libc/arch-mips64/syscalls/__rt_sigtimedwait.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__rt_sigtimedwait)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__sched_getaffinity.S b/libc/arch-mips64/syscalls/__sched_getaffinity.S
index a287815..cf590c3 100644
--- a/libc/arch-mips64/syscalls/__sched_getaffinity.S
+++ b/libc/arch-mips64/syscalls/__sched_getaffinity.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__sched_getaffinity)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__set_tid_address.S b/libc/arch-mips64/syscalls/__set_tid_address.S
index 8757001..d08aa7b 100644
--- a/libc/arch-mips64/syscalls/__set_tid_address.S
+++ b/libc/arch-mips64/syscalls/__set_tid_address.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__set_tid_address)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__set_tls.S b/libc/arch-mips64/syscalls/__set_tls.S
index f1c31b4..430c5fb 100644
--- a/libc/arch-mips64/syscalls/__set_tls.S
+++ b/libc/arch-mips64/syscalls/__set_tls.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__set_tls)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__signalfd4.S b/libc/arch-mips64/syscalls/__signalfd4.S
index c4fe77b..0200138 100644
--- a/libc/arch-mips64/syscalls/__signalfd4.S
+++ b/libc/arch-mips64/syscalls/__signalfd4.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__signalfd4)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__socket.S b/libc/arch-mips64/syscalls/__socket.S
index d1e0058..ac7586a 100644
--- a/libc/arch-mips64/syscalls/__socket.S
+++ b/libc/arch-mips64/syscalls/__socket.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__socket)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__timer_create.S b/libc/arch-mips64/syscalls/__timer_create.S
index 5a4daac..518207d 100644
--- a/libc/arch-mips64/syscalls/__timer_create.S
+++ b/libc/arch-mips64/syscalls/__timer_create.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__timer_create)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__timer_delete.S b/libc/arch-mips64/syscalls/__timer_delete.S
index 8bbbdb7..4db1c85 100644
--- a/libc/arch-mips64/syscalls/__timer_delete.S
+++ b/libc/arch-mips64/syscalls/__timer_delete.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__timer_delete)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__timer_getoverrun.S b/libc/arch-mips64/syscalls/__timer_getoverrun.S
index 3bf06cc..c5aa40f 100644
--- a/libc/arch-mips64/syscalls/__timer_getoverrun.S
+++ b/libc/arch-mips64/syscalls/__timer_getoverrun.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__timer_getoverrun)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__timer_gettime.S b/libc/arch-mips64/syscalls/__timer_gettime.S
index a15ec17..8bebdd8 100644
--- a/libc/arch-mips64/syscalls/__timer_gettime.S
+++ b/libc/arch-mips64/syscalls/__timer_gettime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__timer_gettime)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__timer_settime.S b/libc/arch-mips64/syscalls/__timer_settime.S
index 10e2ca8..536c816 100644
--- a/libc/arch-mips64/syscalls/__timer_settime.S
+++ b/libc/arch-mips64/syscalls/__timer_settime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__timer_settime)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/__waitid.S b/libc/arch-mips64/syscalls/__waitid.S
index 4d971e6..28b99bc 100644
--- a/libc/arch-mips64/syscalls/__waitid.S
+++ b/libc/arch-mips64/syscalls/__waitid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__waitid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/_exit.S b/libc/arch-mips64/syscalls/_exit.S
index eb84def..370960e 100644
--- a/libc/arch-mips64/syscalls/_exit.S
+++ b/libc/arch-mips64/syscalls/_exit.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(_exit)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/_flush_cache.S b/libc/arch-mips64/syscalls/_flush_cache.S
index 132fd4e..997ccec 100644
--- a/libc/arch-mips64/syscalls/_flush_cache.S
+++ b/libc/arch-mips64/syscalls/_flush_cache.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(_flush_cache)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/acct.S b/libc/arch-mips64/syscalls/acct.S
index 7185877..70bdd3e 100644
--- a/libc/arch-mips64/syscalls/acct.S
+++ b/libc/arch-mips64/syscalls/acct.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(acct)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/bind.S b/libc/arch-mips64/syscalls/bind.S
index cb28bb4..fab9b42 100644
--- a/libc/arch-mips64/syscalls/bind.S
+++ b/libc/arch-mips64/syscalls/bind.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(bind)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/capget.S b/libc/arch-mips64/syscalls/capget.S
index 068e076..6c1a13c 100644
--- a/libc/arch-mips64/syscalls/capget.S
+++ b/libc/arch-mips64/syscalls/capget.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(capget)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/capset.S b/libc/arch-mips64/syscalls/capset.S
index f29501b..da8e9e6 100644
--- a/libc/arch-mips64/syscalls/capset.S
+++ b/libc/arch-mips64/syscalls/capset.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(capset)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/chdir.S b/libc/arch-mips64/syscalls/chdir.S
index c2753bd..37f8f69 100644
--- a/libc/arch-mips64/syscalls/chdir.S
+++ b/libc/arch-mips64/syscalls/chdir.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(chdir)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/chroot.S b/libc/arch-mips64/syscalls/chroot.S
index ca1d4a8..7dced37 100644
--- a/libc/arch-mips64/syscalls/chroot.S
+++ b/libc/arch-mips64/syscalls/chroot.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(chroot)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/clock_getres.S b/libc/arch-mips64/syscalls/clock_getres.S
index e7a8dd3..72ad146 100644
--- a/libc/arch-mips64/syscalls/clock_getres.S
+++ b/libc/arch-mips64/syscalls/clock_getres.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(clock_getres)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/clock_gettime.S b/libc/arch-mips64/syscalls/clock_gettime.S
index 4c92a38..431e667 100644
--- a/libc/arch-mips64/syscalls/clock_gettime.S
+++ b/libc/arch-mips64/syscalls/clock_gettime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(clock_gettime)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/clock_nanosleep.S b/libc/arch-mips64/syscalls/clock_nanosleep.S
index 2934591..c0db781 100644
--- a/libc/arch-mips64/syscalls/clock_nanosleep.S
+++ b/libc/arch-mips64/syscalls/clock_nanosleep.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(clock_nanosleep)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/clock_settime.S b/libc/arch-mips64/syscalls/clock_settime.S
index 1969cb6..c9a4a79 100644
--- a/libc/arch-mips64/syscalls/clock_settime.S
+++ b/libc/arch-mips64/syscalls/clock_settime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(clock_settime)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/close.S b/libc/arch-mips64/syscalls/close.S
index f446000..ff093e4 100644
--- a/libc/arch-mips64/syscalls/close.S
+++ b/libc/arch-mips64/syscalls/close.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(close)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/delete_module.S b/libc/arch-mips64/syscalls/delete_module.S
index d24adf8..86c64d6 100644
--- a/libc/arch-mips64/syscalls/delete_module.S
+++ b/libc/arch-mips64/syscalls/delete_module.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(delete_module)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/dup.S b/libc/arch-mips64/syscalls/dup.S
index 5d2d7de..23aa5c0 100644
--- a/libc/arch-mips64/syscalls/dup.S
+++ b/libc/arch-mips64/syscalls/dup.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(dup)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/dup3.S b/libc/arch-mips64/syscalls/dup3.S
index 90f0f89..a5392dc 100644
--- a/libc/arch-mips64/syscalls/dup3.S
+++ b/libc/arch-mips64/syscalls/dup3.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(dup3)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/epoll_create1.S b/libc/arch-mips64/syscalls/epoll_create1.S
index 312887f..c3219d4 100644
--- a/libc/arch-mips64/syscalls/epoll_create1.S
+++ b/libc/arch-mips64/syscalls/epoll_create1.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(epoll_create1)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/epoll_ctl.S b/libc/arch-mips64/syscalls/epoll_ctl.S
index 461ad7b..9b740d0 100644
--- a/libc/arch-mips64/syscalls/epoll_ctl.S
+++ b/libc/arch-mips64/syscalls/epoll_ctl.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(epoll_ctl)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/eventfd.S b/libc/arch-mips64/syscalls/eventfd.S
index da8866e..ea3a2c6 100644
--- a/libc/arch-mips64/syscalls/eventfd.S
+++ b/libc/arch-mips64/syscalls/eventfd.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(eventfd)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/execve.S b/libc/arch-mips64/syscalls/execve.S
index 3cb49b6..af2c6d0 100644
--- a/libc/arch-mips64/syscalls/execve.S
+++ b/libc/arch-mips64/syscalls/execve.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(execve)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/faccessat.S b/libc/arch-mips64/syscalls/faccessat.S
index d06f420..c8ee9e5 100644
--- a/libc/arch-mips64/syscalls/faccessat.S
+++ b/libc/arch-mips64/syscalls/faccessat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(faccessat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fallocate.S b/libc/arch-mips64/syscalls/fallocate.S
index d1e64b5..9e7c89e 100644
--- a/libc/arch-mips64/syscalls/fallocate.S
+++ b/libc/arch-mips64/syscalls/fallocate.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fallocate)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fchdir.S b/libc/arch-mips64/syscalls/fchdir.S
index 0c8ab73..780a8a2 100644
--- a/libc/arch-mips64/syscalls/fchdir.S
+++ b/libc/arch-mips64/syscalls/fchdir.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fchdir)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fchmod.S b/libc/arch-mips64/syscalls/fchmod.S
index 4ebb796..b9e7cab 100644
--- a/libc/arch-mips64/syscalls/fchmod.S
+++ b/libc/arch-mips64/syscalls/fchmod.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fchmod)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fchmodat.S b/libc/arch-mips64/syscalls/fchmodat.S
index 4887324..ff04c8c 100644
--- a/libc/arch-mips64/syscalls/fchmodat.S
+++ b/libc/arch-mips64/syscalls/fchmodat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fchmodat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fchown.S b/libc/arch-mips64/syscalls/fchown.S
index c21c831..97bd208 100644
--- a/libc/arch-mips64/syscalls/fchown.S
+++ b/libc/arch-mips64/syscalls/fchown.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fchown)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fchownat.S b/libc/arch-mips64/syscalls/fchownat.S
index eba230c..0e5635a 100644
--- a/libc/arch-mips64/syscalls/fchownat.S
+++ b/libc/arch-mips64/syscalls/fchownat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fchownat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fcntl.S b/libc/arch-mips64/syscalls/fcntl.S
index 1f54b0e..325d9fd 100644
--- a/libc/arch-mips64/syscalls/fcntl.S
+++ b/libc/arch-mips64/syscalls/fcntl.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fcntl)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fdatasync.S b/libc/arch-mips64/syscalls/fdatasync.S
index ba1eccc..8a714c3 100644
--- a/libc/arch-mips64/syscalls/fdatasync.S
+++ b/libc/arch-mips64/syscalls/fdatasync.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fdatasync)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fgetxattr.S b/libc/arch-mips64/syscalls/fgetxattr.S
index 5b9c8ed..87a21ce 100644
--- a/libc/arch-mips64/syscalls/fgetxattr.S
+++ b/libc/arch-mips64/syscalls/fgetxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fgetxattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/flistxattr.S b/libc/arch-mips64/syscalls/flistxattr.S
index c0bf93c..b430931 100644
--- a/libc/arch-mips64/syscalls/flistxattr.S
+++ b/libc/arch-mips64/syscalls/flistxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(flistxattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/flock.S b/libc/arch-mips64/syscalls/flock.S
index b63f6fc..bc4c835 100644
--- a/libc/arch-mips64/syscalls/flock.S
+++ b/libc/arch-mips64/syscalls/flock.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(flock)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fremovexattr.S b/libc/arch-mips64/syscalls/fremovexattr.S
index be20d00..4121223 100644
--- a/libc/arch-mips64/syscalls/fremovexattr.S
+++ b/libc/arch-mips64/syscalls/fremovexattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fremovexattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fsetxattr.S b/libc/arch-mips64/syscalls/fsetxattr.S
index 92198ce..4180bd0 100644
--- a/libc/arch-mips64/syscalls/fsetxattr.S
+++ b/libc/arch-mips64/syscalls/fsetxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fsetxattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fstat64.S b/libc/arch-mips64/syscalls/fstat64.S
index 078e3dd..03cbf69 100644
--- a/libc/arch-mips64/syscalls/fstat64.S
+++ b/libc/arch-mips64/syscalls/fstat64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fstat64)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fstatat64.S b/libc/arch-mips64/syscalls/fstatat64.S
index cc38de1..55ae243 100644
--- a/libc/arch-mips64/syscalls/fstatat64.S
+++ b/libc/arch-mips64/syscalls/fstatat64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fstatat64)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fstatfs64.S b/libc/arch-mips64/syscalls/fstatfs64.S
index 3474bc2..5fb5d95 100644
--- a/libc/arch-mips64/syscalls/fstatfs64.S
+++ b/libc/arch-mips64/syscalls/fstatfs64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fstatfs64)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/fsync.S b/libc/arch-mips64/syscalls/fsync.S
index 3543fef..fa5de87 100644
--- a/libc/arch-mips64/syscalls/fsync.S
+++ b/libc/arch-mips64/syscalls/fsync.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fsync)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/ftruncate.S b/libc/arch-mips64/syscalls/ftruncate.S
index cd97b87..b605a37 100644
--- a/libc/arch-mips64/syscalls/ftruncate.S
+++ b/libc/arch-mips64/syscalls/ftruncate.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(ftruncate)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getegid.S b/libc/arch-mips64/syscalls/getegid.S
index d6b3d7f..7ef8fe3 100644
--- a/libc/arch-mips64/syscalls/getegid.S
+++ b/libc/arch-mips64/syscalls/getegid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getegid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/geteuid.S b/libc/arch-mips64/syscalls/geteuid.S
index a1d9713..c21f0ef 100644
--- a/libc/arch-mips64/syscalls/geteuid.S
+++ b/libc/arch-mips64/syscalls/geteuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(geteuid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getgid.S b/libc/arch-mips64/syscalls/getgid.S
index c89d709..bd690dc 100644
--- a/libc/arch-mips64/syscalls/getgid.S
+++ b/libc/arch-mips64/syscalls/getgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getgid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getgroups.S b/libc/arch-mips64/syscalls/getgroups.S
index 8d9cddb..d7aded7 100644
--- a/libc/arch-mips64/syscalls/getgroups.S
+++ b/libc/arch-mips64/syscalls/getgroups.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getgroups)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getitimer.S b/libc/arch-mips64/syscalls/getitimer.S
index 12dad03..a438faa 100644
--- a/libc/arch-mips64/syscalls/getitimer.S
+++ b/libc/arch-mips64/syscalls/getitimer.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getitimer)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getpeername.S b/libc/arch-mips64/syscalls/getpeername.S
index 278428a..bf40141 100644
--- a/libc/arch-mips64/syscalls/getpeername.S
+++ b/libc/arch-mips64/syscalls/getpeername.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getpeername)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getpgid.S b/libc/arch-mips64/syscalls/getpgid.S
index 56551ef..739a6e2 100644
--- a/libc/arch-mips64/syscalls/getpgid.S
+++ b/libc/arch-mips64/syscalls/getpgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getpgid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getppid.S b/libc/arch-mips64/syscalls/getppid.S
index 97066f8..e642a79 100644
--- a/libc/arch-mips64/syscalls/getppid.S
+++ b/libc/arch-mips64/syscalls/getppid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getppid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getresgid.S b/libc/arch-mips64/syscalls/getresgid.S
index f07fc11..d88516f 100644
--- a/libc/arch-mips64/syscalls/getresgid.S
+++ b/libc/arch-mips64/syscalls/getresgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getresgid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getresuid.S b/libc/arch-mips64/syscalls/getresuid.S
index 4f1ba86..b439211 100644
--- a/libc/arch-mips64/syscalls/getresuid.S
+++ b/libc/arch-mips64/syscalls/getresuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getresuid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getrlimit.S b/libc/arch-mips64/syscalls/getrlimit.S
index f825db9..423bc0f 100644
--- a/libc/arch-mips64/syscalls/getrlimit.S
+++ b/libc/arch-mips64/syscalls/getrlimit.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getrlimit)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getrusage.S b/libc/arch-mips64/syscalls/getrusage.S
index 49f3c42..9f57b84 100644
--- a/libc/arch-mips64/syscalls/getrusage.S
+++ b/libc/arch-mips64/syscalls/getrusage.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getrusage)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getsid.S b/libc/arch-mips64/syscalls/getsid.S
index 6fa362c..125da4e 100644
--- a/libc/arch-mips64/syscalls/getsid.S
+++ b/libc/arch-mips64/syscalls/getsid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getsid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getsockname.S b/libc/arch-mips64/syscalls/getsockname.S
index 5e16aff..3481d65 100644
--- a/libc/arch-mips64/syscalls/getsockname.S
+++ b/libc/arch-mips64/syscalls/getsockname.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getsockname)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getsockopt.S b/libc/arch-mips64/syscalls/getsockopt.S
index fab05b1..2e9b6d7 100644
--- a/libc/arch-mips64/syscalls/getsockopt.S
+++ b/libc/arch-mips64/syscalls/getsockopt.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getsockopt)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/gettimeofday.S b/libc/arch-mips64/syscalls/gettimeofday.S
index 07407a4..9bbbd28 100644
--- a/libc/arch-mips64/syscalls/gettimeofday.S
+++ b/libc/arch-mips64/syscalls/gettimeofday.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(gettimeofday)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getuid.S b/libc/arch-mips64/syscalls/getuid.S
index 87c16e1..4809a5a 100644
--- a/libc/arch-mips64/syscalls/getuid.S
+++ b/libc/arch-mips64/syscalls/getuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getuid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/getxattr.S b/libc/arch-mips64/syscalls/getxattr.S
index b42ca1e..7a7a4d4 100644
--- a/libc/arch-mips64/syscalls/getxattr.S
+++ b/libc/arch-mips64/syscalls/getxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getxattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/init_module.S b/libc/arch-mips64/syscalls/init_module.S
index 90fb6b1..e46dedc 100644
--- a/libc/arch-mips64/syscalls/init_module.S
+++ b/libc/arch-mips64/syscalls/init_module.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(init_module)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/inotify_add_watch.S b/libc/arch-mips64/syscalls/inotify_add_watch.S
index 17db414..4a4fe5f 100644
--- a/libc/arch-mips64/syscalls/inotify_add_watch.S
+++ b/libc/arch-mips64/syscalls/inotify_add_watch.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(inotify_add_watch)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/inotify_init1.S b/libc/arch-mips64/syscalls/inotify_init1.S
index 356dd2d..6ef6021 100644
--- a/libc/arch-mips64/syscalls/inotify_init1.S
+++ b/libc/arch-mips64/syscalls/inotify_init1.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(inotify_init1)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/inotify_rm_watch.S b/libc/arch-mips64/syscalls/inotify_rm_watch.S
index 4096ca3..10e239a 100644
--- a/libc/arch-mips64/syscalls/inotify_rm_watch.S
+++ b/libc/arch-mips64/syscalls/inotify_rm_watch.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(inotify_rm_watch)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/kill.S b/libc/arch-mips64/syscalls/kill.S
index 2d8b452..f85a3ef 100644
--- a/libc/arch-mips64/syscalls/kill.S
+++ b/libc/arch-mips64/syscalls/kill.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(kill)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/klogctl.S b/libc/arch-mips64/syscalls/klogctl.S
index 2f9ca6a..8e94b62 100644
--- a/libc/arch-mips64/syscalls/klogctl.S
+++ b/libc/arch-mips64/syscalls/klogctl.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(klogctl)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/lgetxattr.S b/libc/arch-mips64/syscalls/lgetxattr.S
index f8e57b3..c5990ab 100644
--- a/libc/arch-mips64/syscalls/lgetxattr.S
+++ b/libc/arch-mips64/syscalls/lgetxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(lgetxattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/linkat.S b/libc/arch-mips64/syscalls/linkat.S
index a866fa6..88db867 100644
--- a/libc/arch-mips64/syscalls/linkat.S
+++ b/libc/arch-mips64/syscalls/linkat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(linkat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/listen.S b/libc/arch-mips64/syscalls/listen.S
index 0768c72..4db8789 100644
--- a/libc/arch-mips64/syscalls/listen.S
+++ b/libc/arch-mips64/syscalls/listen.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(listen)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/listxattr.S b/libc/arch-mips64/syscalls/listxattr.S
index f2c00f6..56b13f6 100644
--- a/libc/arch-mips64/syscalls/listxattr.S
+++ b/libc/arch-mips64/syscalls/listxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(listxattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/llistxattr.S b/libc/arch-mips64/syscalls/llistxattr.S
index f324e2c..d800f7f 100644
--- a/libc/arch-mips64/syscalls/llistxattr.S
+++ b/libc/arch-mips64/syscalls/llistxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(llistxattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/lremovexattr.S b/libc/arch-mips64/syscalls/lremovexattr.S
index e44c9d0..e05733f 100644
--- a/libc/arch-mips64/syscalls/lremovexattr.S
+++ b/libc/arch-mips64/syscalls/lremovexattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(lremovexattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/lseek.S b/libc/arch-mips64/syscalls/lseek.S
index 2858aa8..34533cf 100644
--- a/libc/arch-mips64/syscalls/lseek.S
+++ b/libc/arch-mips64/syscalls/lseek.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(lseek)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/lsetxattr.S b/libc/arch-mips64/syscalls/lsetxattr.S
index ed1b4df..dea6add 100644
--- a/libc/arch-mips64/syscalls/lsetxattr.S
+++ b/libc/arch-mips64/syscalls/lsetxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(lsetxattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/madvise.S b/libc/arch-mips64/syscalls/madvise.S
index fe6a828..ab174e9 100644
--- a/libc/arch-mips64/syscalls/madvise.S
+++ b/libc/arch-mips64/syscalls/madvise.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(madvise)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/mincore.S b/libc/arch-mips64/syscalls/mincore.S
index 1e0b544..349d2f6 100644
--- a/libc/arch-mips64/syscalls/mincore.S
+++ b/libc/arch-mips64/syscalls/mincore.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mincore)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/mkdirat.S b/libc/arch-mips64/syscalls/mkdirat.S
index b1c94e1..b395ba4 100644
--- a/libc/arch-mips64/syscalls/mkdirat.S
+++ b/libc/arch-mips64/syscalls/mkdirat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mkdirat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/mknodat.S b/libc/arch-mips64/syscalls/mknodat.S
index edbd3b6..c13d979 100644
--- a/libc/arch-mips64/syscalls/mknodat.S
+++ b/libc/arch-mips64/syscalls/mknodat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mknodat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/mlock.S b/libc/arch-mips64/syscalls/mlock.S
index ae599cd..82338f3 100644
--- a/libc/arch-mips64/syscalls/mlock.S
+++ b/libc/arch-mips64/syscalls/mlock.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mlock)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/mlockall.S b/libc/arch-mips64/syscalls/mlockall.S
index b214758..b34cf81 100644
--- a/libc/arch-mips64/syscalls/mlockall.S
+++ b/libc/arch-mips64/syscalls/mlockall.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mlockall)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/mmap.S b/libc/arch-mips64/syscalls/mmap.S
index ba6d4fa..814b745 100644
--- a/libc/arch-mips64/syscalls/mmap.S
+++ b/libc/arch-mips64/syscalls/mmap.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mmap)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/mount.S b/libc/arch-mips64/syscalls/mount.S
index 71e08a7..3f42df5 100644
--- a/libc/arch-mips64/syscalls/mount.S
+++ b/libc/arch-mips64/syscalls/mount.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mount)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/mprotect.S b/libc/arch-mips64/syscalls/mprotect.S
index 66ffa1a..adf9a67 100644
--- a/libc/arch-mips64/syscalls/mprotect.S
+++ b/libc/arch-mips64/syscalls/mprotect.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mprotect)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/mremap.S b/libc/arch-mips64/syscalls/mremap.S
index c73320f..70c8a8c 100644
--- a/libc/arch-mips64/syscalls/mremap.S
+++ b/libc/arch-mips64/syscalls/mremap.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mremap)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/msync.S b/libc/arch-mips64/syscalls/msync.S
index a97cba8..dced6e7 100644
--- a/libc/arch-mips64/syscalls/msync.S
+++ b/libc/arch-mips64/syscalls/msync.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(msync)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/munlock.S b/libc/arch-mips64/syscalls/munlock.S
index f5919ae..075c061 100644
--- a/libc/arch-mips64/syscalls/munlock.S
+++ b/libc/arch-mips64/syscalls/munlock.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(munlock)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/munlockall.S b/libc/arch-mips64/syscalls/munlockall.S
index 39e717c..10ff274 100644
--- a/libc/arch-mips64/syscalls/munlockall.S
+++ b/libc/arch-mips64/syscalls/munlockall.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(munlockall)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/munmap.S b/libc/arch-mips64/syscalls/munmap.S
index c1c9b01..5d0b0b0 100644
--- a/libc/arch-mips64/syscalls/munmap.S
+++ b/libc/arch-mips64/syscalls/munmap.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(munmap)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/nanosleep.S b/libc/arch-mips64/syscalls/nanosleep.S
index 6bfd73e..a0c7d36 100644
--- a/libc/arch-mips64/syscalls/nanosleep.S
+++ b/libc/arch-mips64/syscalls/nanosleep.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(nanosleep)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/personality.S b/libc/arch-mips64/syscalls/personality.S
index e234636..326cf24 100644
--- a/libc/arch-mips64/syscalls/personality.S
+++ b/libc/arch-mips64/syscalls/personality.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(personality)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/pipe2.S b/libc/arch-mips64/syscalls/pipe2.S
index 52d5baa..8e207ac 100644
--- a/libc/arch-mips64/syscalls/pipe2.S
+++ b/libc/arch-mips64/syscalls/pipe2.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(pipe2)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/prctl.S b/libc/arch-mips64/syscalls/prctl.S
index 01d422e..9e805f4 100644
--- a/libc/arch-mips64/syscalls/prctl.S
+++ b/libc/arch-mips64/syscalls/prctl.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(prctl)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/pread64.S b/libc/arch-mips64/syscalls/pread64.S
index 5ab8389..3aa0620 100644
--- a/libc/arch-mips64/syscalls/pread64.S
+++ b/libc/arch-mips64/syscalls/pread64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(pread64)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/prlimit64.S b/libc/arch-mips64/syscalls/prlimit64.S
index e52ca92..f767ac1 100644
--- a/libc/arch-mips64/syscalls/prlimit64.S
+++ b/libc/arch-mips64/syscalls/prlimit64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(prlimit64)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/pwrite64.S b/libc/arch-mips64/syscalls/pwrite64.S
index 8d7a8b5..8b3bcc0 100644
--- a/libc/arch-mips64/syscalls/pwrite64.S
+++ b/libc/arch-mips64/syscalls/pwrite64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(pwrite64)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/read.S b/libc/arch-mips64/syscalls/read.S
index 3f805ca..ab687d1 100644
--- a/libc/arch-mips64/syscalls/read.S
+++ b/libc/arch-mips64/syscalls/read.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(read)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/readahead.S b/libc/arch-mips64/syscalls/readahead.S
index 8f5c8c6..1d9b15b 100644
--- a/libc/arch-mips64/syscalls/readahead.S
+++ b/libc/arch-mips64/syscalls/readahead.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(readahead)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/readlinkat.S b/libc/arch-mips64/syscalls/readlinkat.S
index 1381c22..24da46b 100644
--- a/libc/arch-mips64/syscalls/readlinkat.S
+++ b/libc/arch-mips64/syscalls/readlinkat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(readlinkat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/readv.S b/libc/arch-mips64/syscalls/readv.S
index 9c7afd5..6aca131 100644
--- a/libc/arch-mips64/syscalls/readv.S
+++ b/libc/arch-mips64/syscalls/readv.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(readv)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/recvfrom.S b/libc/arch-mips64/syscalls/recvfrom.S
index d3911c6..b9fb037 100644
--- a/libc/arch-mips64/syscalls/recvfrom.S
+++ b/libc/arch-mips64/syscalls/recvfrom.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(recvfrom)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/recvmmsg.S b/libc/arch-mips64/syscalls/recvmmsg.S
index fa9fbb2..b187cf0 100644
--- a/libc/arch-mips64/syscalls/recvmmsg.S
+++ b/libc/arch-mips64/syscalls/recvmmsg.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(recvmmsg)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/recvmsg.S b/libc/arch-mips64/syscalls/recvmsg.S
index 21ec51d..49dbb48 100644
--- a/libc/arch-mips64/syscalls/recvmsg.S
+++ b/libc/arch-mips64/syscalls/recvmsg.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(recvmsg)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/removexattr.S b/libc/arch-mips64/syscalls/removexattr.S
index ea31771..61d6da1 100644
--- a/libc/arch-mips64/syscalls/removexattr.S
+++ b/libc/arch-mips64/syscalls/removexattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(removexattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/renameat.S b/libc/arch-mips64/syscalls/renameat.S
index 074a6a4..f012fad 100644
--- a/libc/arch-mips64/syscalls/renameat.S
+++ b/libc/arch-mips64/syscalls/renameat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(renameat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sched_get_priority_max.S b/libc/arch-mips64/syscalls/sched_get_priority_max.S
index 1b67bbf..264545b 100644
--- a/libc/arch-mips64/syscalls/sched_get_priority_max.S
+++ b/libc/arch-mips64/syscalls/sched_get_priority_max.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_get_priority_max)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sched_get_priority_min.S b/libc/arch-mips64/syscalls/sched_get_priority_min.S
index 2d68752..4984abf 100644
--- a/libc/arch-mips64/syscalls/sched_get_priority_min.S
+++ b/libc/arch-mips64/syscalls/sched_get_priority_min.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_get_priority_min)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sched_getparam.S b/libc/arch-mips64/syscalls/sched_getparam.S
index d0b2069..2837fc8 100644
--- a/libc/arch-mips64/syscalls/sched_getparam.S
+++ b/libc/arch-mips64/syscalls/sched_getparam.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_getparam)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sched_getscheduler.S b/libc/arch-mips64/syscalls/sched_getscheduler.S
index f25bde5..3f8dbe3 100644
--- a/libc/arch-mips64/syscalls/sched_getscheduler.S
+++ b/libc/arch-mips64/syscalls/sched_getscheduler.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_getscheduler)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sched_rr_get_interval.S b/libc/arch-mips64/syscalls/sched_rr_get_interval.S
index 48233f8..80ea18e 100644
--- a/libc/arch-mips64/syscalls/sched_rr_get_interval.S
+++ b/libc/arch-mips64/syscalls/sched_rr_get_interval.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_rr_get_interval)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sched_setaffinity.S b/libc/arch-mips64/syscalls/sched_setaffinity.S
index e604863..843e06f 100644
--- a/libc/arch-mips64/syscalls/sched_setaffinity.S
+++ b/libc/arch-mips64/syscalls/sched_setaffinity.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_setaffinity)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sched_setparam.S b/libc/arch-mips64/syscalls/sched_setparam.S
index b02439f..78435b1 100644
--- a/libc/arch-mips64/syscalls/sched_setparam.S
+++ b/libc/arch-mips64/syscalls/sched_setparam.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_setparam)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sched_setscheduler.S b/libc/arch-mips64/syscalls/sched_setscheduler.S
index dda1ce5..7f78cc7 100644
--- a/libc/arch-mips64/syscalls/sched_setscheduler.S
+++ b/libc/arch-mips64/syscalls/sched_setscheduler.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_setscheduler)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sched_yield.S b/libc/arch-mips64/syscalls/sched_yield.S
index 509b029..f81b7ef 100644
--- a/libc/arch-mips64/syscalls/sched_yield.S
+++ b/libc/arch-mips64/syscalls/sched_yield.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_yield)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sendfile.S b/libc/arch-mips64/syscalls/sendfile.S
index 684a83a..c3e80de 100644
--- a/libc/arch-mips64/syscalls/sendfile.S
+++ b/libc/arch-mips64/syscalls/sendfile.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sendfile)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sendmmsg.S b/libc/arch-mips64/syscalls/sendmmsg.S
index e4d8019..40efcb6 100644
--- a/libc/arch-mips64/syscalls/sendmmsg.S
+++ b/libc/arch-mips64/syscalls/sendmmsg.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sendmmsg)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sendmsg.S b/libc/arch-mips64/syscalls/sendmsg.S
index 6983f9a..9f90717 100644
--- a/libc/arch-mips64/syscalls/sendmsg.S
+++ b/libc/arch-mips64/syscalls/sendmsg.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sendmsg)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sendto.S b/libc/arch-mips64/syscalls/sendto.S
index cfe774d..3ebfbae 100644
--- a/libc/arch-mips64/syscalls/sendto.S
+++ b/libc/arch-mips64/syscalls/sendto.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sendto)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setfsgid.S b/libc/arch-mips64/syscalls/setfsgid.S
index 7f75ed9..9b36038 100644
--- a/libc/arch-mips64/syscalls/setfsgid.S
+++ b/libc/arch-mips64/syscalls/setfsgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setfsgid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setfsuid.S b/libc/arch-mips64/syscalls/setfsuid.S
index 4cab9d4..e42601f 100644
--- a/libc/arch-mips64/syscalls/setfsuid.S
+++ b/libc/arch-mips64/syscalls/setfsuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setfsuid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setgid.S b/libc/arch-mips64/syscalls/setgid.S
index cc8d3ab..7ce8599 100644
--- a/libc/arch-mips64/syscalls/setgid.S
+++ b/libc/arch-mips64/syscalls/setgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setgid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setgroups.S b/libc/arch-mips64/syscalls/setgroups.S
index 63f2329..2724068 100644
--- a/libc/arch-mips64/syscalls/setgroups.S
+++ b/libc/arch-mips64/syscalls/setgroups.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setgroups)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setitimer.S b/libc/arch-mips64/syscalls/setitimer.S
index 9ee02dc..f5dcff0 100644
--- a/libc/arch-mips64/syscalls/setitimer.S
+++ b/libc/arch-mips64/syscalls/setitimer.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setitimer)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setns.S b/libc/arch-mips64/syscalls/setns.S
index 191a1a0..cbe2e06 100644
--- a/libc/arch-mips64/syscalls/setns.S
+++ b/libc/arch-mips64/syscalls/setns.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setns)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setpgid.S b/libc/arch-mips64/syscalls/setpgid.S
index 8972160..da44532 100644
--- a/libc/arch-mips64/syscalls/setpgid.S
+++ b/libc/arch-mips64/syscalls/setpgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setpgid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setpriority.S b/libc/arch-mips64/syscalls/setpriority.S
index dce3a76..150a5d4 100644
--- a/libc/arch-mips64/syscalls/setpriority.S
+++ b/libc/arch-mips64/syscalls/setpriority.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setpriority)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setregid.S b/libc/arch-mips64/syscalls/setregid.S
index d677b32..b80115c 100644
--- a/libc/arch-mips64/syscalls/setregid.S
+++ b/libc/arch-mips64/syscalls/setregid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setregid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setresgid.S b/libc/arch-mips64/syscalls/setresgid.S
index 312eb3a..0fbf302 100644
--- a/libc/arch-mips64/syscalls/setresgid.S
+++ b/libc/arch-mips64/syscalls/setresgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setresgid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setresuid.S b/libc/arch-mips64/syscalls/setresuid.S
index 4da79d0..89af745 100644
--- a/libc/arch-mips64/syscalls/setresuid.S
+++ b/libc/arch-mips64/syscalls/setresuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setresuid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setreuid.S b/libc/arch-mips64/syscalls/setreuid.S
index 33f6fce..797091f 100644
--- a/libc/arch-mips64/syscalls/setreuid.S
+++ b/libc/arch-mips64/syscalls/setreuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setreuid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setrlimit.S b/libc/arch-mips64/syscalls/setrlimit.S
index 3060298..034f3db 100644
--- a/libc/arch-mips64/syscalls/setrlimit.S
+++ b/libc/arch-mips64/syscalls/setrlimit.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setrlimit)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setsid.S b/libc/arch-mips64/syscalls/setsid.S
index c8d1ad5..ef14eba 100644
--- a/libc/arch-mips64/syscalls/setsid.S
+++ b/libc/arch-mips64/syscalls/setsid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setsid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setsockopt.S b/libc/arch-mips64/syscalls/setsockopt.S
index b40aad1..5c263bd 100644
--- a/libc/arch-mips64/syscalls/setsockopt.S
+++ b/libc/arch-mips64/syscalls/setsockopt.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setsockopt)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/settimeofday.S b/libc/arch-mips64/syscalls/settimeofday.S
index 2e333f8..a73638f 100644
--- a/libc/arch-mips64/syscalls/settimeofday.S
+++ b/libc/arch-mips64/syscalls/settimeofday.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(settimeofday)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setuid.S b/libc/arch-mips64/syscalls/setuid.S
index fb8125e..4321fae 100644
--- a/libc/arch-mips64/syscalls/setuid.S
+++ b/libc/arch-mips64/syscalls/setuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setuid)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/setxattr.S b/libc/arch-mips64/syscalls/setxattr.S
index 04e746d..58ccb5f 100644
--- a/libc/arch-mips64/syscalls/setxattr.S
+++ b/libc/arch-mips64/syscalls/setxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setxattr)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/shutdown.S b/libc/arch-mips64/syscalls/shutdown.S
index 59f437a..cdd6c78 100644
--- a/libc/arch-mips64/syscalls/shutdown.S
+++ b/libc/arch-mips64/syscalls/shutdown.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(shutdown)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sigaltstack.S b/libc/arch-mips64/syscalls/sigaltstack.S
index 0fbd3a1..a2e663c 100644
--- a/libc/arch-mips64/syscalls/sigaltstack.S
+++ b/libc/arch-mips64/syscalls/sigaltstack.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sigaltstack)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/socketpair.S b/libc/arch-mips64/syscalls/socketpair.S
index fa684d1..7be7814 100644
--- a/libc/arch-mips64/syscalls/socketpair.S
+++ b/libc/arch-mips64/syscalls/socketpair.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(socketpair)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/splice.S b/libc/arch-mips64/syscalls/splice.S
index d626904..efee6cd 100644
--- a/libc/arch-mips64/syscalls/splice.S
+++ b/libc/arch-mips64/syscalls/splice.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(splice)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/statfs64.S b/libc/arch-mips64/syscalls/statfs64.S
index e835e41..d377522 100644
--- a/libc/arch-mips64/syscalls/statfs64.S
+++ b/libc/arch-mips64/syscalls/statfs64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(statfs64)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/swapoff.S b/libc/arch-mips64/syscalls/swapoff.S
index dfaf185..b257b1e 100644
--- a/libc/arch-mips64/syscalls/swapoff.S
+++ b/libc/arch-mips64/syscalls/swapoff.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(swapoff)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/swapon.S b/libc/arch-mips64/syscalls/swapon.S
index 8e844c4..e18ff4c 100644
--- a/libc/arch-mips64/syscalls/swapon.S
+++ b/libc/arch-mips64/syscalls/swapon.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(swapon)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/symlinkat.S b/libc/arch-mips64/syscalls/symlinkat.S
index e43d597..560bf0d 100644
--- a/libc/arch-mips64/syscalls/symlinkat.S
+++ b/libc/arch-mips64/syscalls/symlinkat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(symlinkat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sync.S b/libc/arch-mips64/syscalls/sync.S
index ec342a3..240a6d4 100644
--- a/libc/arch-mips64/syscalls/sync.S
+++ b/libc/arch-mips64/syscalls/sync.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sync)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/sysinfo.S b/libc/arch-mips64/syscalls/sysinfo.S
index 16486fd..6b07be3 100644
--- a/libc/arch-mips64/syscalls/sysinfo.S
+++ b/libc/arch-mips64/syscalls/sysinfo.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sysinfo)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/tee.S b/libc/arch-mips64/syscalls/tee.S
index 429700c..0115f71 100644
--- a/libc/arch-mips64/syscalls/tee.S
+++ b/libc/arch-mips64/syscalls/tee.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(tee)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/tgkill.S b/libc/arch-mips64/syscalls/tgkill.S
index d98d9ae..bf30a8d 100644
--- a/libc/arch-mips64/syscalls/tgkill.S
+++ b/libc/arch-mips64/syscalls/tgkill.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(tgkill)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/timerfd_create.S b/libc/arch-mips64/syscalls/timerfd_create.S
index ab8e9e0..e65874f 100644
--- a/libc/arch-mips64/syscalls/timerfd_create.S
+++ b/libc/arch-mips64/syscalls/timerfd_create.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(timerfd_create)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/timerfd_gettime.S b/libc/arch-mips64/syscalls/timerfd_gettime.S
index 2ec7b9c..a843598 100644
--- a/libc/arch-mips64/syscalls/timerfd_gettime.S
+++ b/libc/arch-mips64/syscalls/timerfd_gettime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(timerfd_gettime)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/timerfd_settime.S b/libc/arch-mips64/syscalls/timerfd_settime.S
index 0aec09f..8c5994f 100644
--- a/libc/arch-mips64/syscalls/timerfd_settime.S
+++ b/libc/arch-mips64/syscalls/timerfd_settime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(timerfd_settime)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/times.S b/libc/arch-mips64/syscalls/times.S
index 2457e0c..ff504e7 100644
--- a/libc/arch-mips64/syscalls/times.S
+++ b/libc/arch-mips64/syscalls/times.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(times)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/truncate.S b/libc/arch-mips64/syscalls/truncate.S
index a0cbe51..3fc06a2 100644
--- a/libc/arch-mips64/syscalls/truncate.S
+++ b/libc/arch-mips64/syscalls/truncate.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(truncate)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/umask.S b/libc/arch-mips64/syscalls/umask.S
index 33624d2..9e6c910 100644
--- a/libc/arch-mips64/syscalls/umask.S
+++ b/libc/arch-mips64/syscalls/umask.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(umask)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/umount2.S b/libc/arch-mips64/syscalls/umount2.S
index 6193459..f8d1996 100644
--- a/libc/arch-mips64/syscalls/umount2.S
+++ b/libc/arch-mips64/syscalls/umount2.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(umount2)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/uname.S b/libc/arch-mips64/syscalls/uname.S
index df50f45..ce93f08 100644
--- a/libc/arch-mips64/syscalls/uname.S
+++ b/libc/arch-mips64/syscalls/uname.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(uname)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/unlinkat.S b/libc/arch-mips64/syscalls/unlinkat.S
index 29d4442..870e8d7 100644
--- a/libc/arch-mips64/syscalls/unlinkat.S
+++ b/libc/arch-mips64/syscalls/unlinkat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(unlinkat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/unshare.S b/libc/arch-mips64/syscalls/unshare.S
index 6d8fbf3..231c29a 100644
--- a/libc/arch-mips64/syscalls/unshare.S
+++ b/libc/arch-mips64/syscalls/unshare.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(unshare)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/utimensat.S b/libc/arch-mips64/syscalls/utimensat.S
index 654b8a4..4b4243e 100644
--- a/libc/arch-mips64/syscalls/utimensat.S
+++ b/libc/arch-mips64/syscalls/utimensat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(utimensat)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/vmsplice.S b/libc/arch-mips64/syscalls/vmsplice.S
index aa03585..f854004 100644
--- a/libc/arch-mips64/syscalls/vmsplice.S
+++ b/libc/arch-mips64/syscalls/vmsplice.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(vmsplice)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/wait4.S b/libc/arch-mips64/syscalls/wait4.S
index e3755b5..2d2b487 100644
--- a/libc/arch-mips64/syscalls/wait4.S
+++ b/libc/arch-mips64/syscalls/wait4.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(wait4)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/write.S b/libc/arch-mips64/syscalls/write.S
index ce7f702..f603fb5 100644
--- a/libc/arch-mips64/syscalls/write.S
+++ b/libc/arch-mips64/syscalls/write.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(write)
.set push
.set noreorder
diff --git a/libc/arch-mips64/syscalls/writev.S b/libc/arch-mips64/syscalls/writev.S
index e2c7875..032e749 100644
--- a/libc/arch-mips64/syscalls/writev.S
+++ b/libc/arch-mips64/syscalls/writev.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(writev)
.set push
.set noreorder