summaryrefslogtreecommitdiffstats
path: root/libc/arch-mips/syscalls
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-mips/syscalls')
-rw-r--r--libc/arch-mips/syscalls/__accept4.S2
-rw-r--r--libc/arch-mips/syscalls/__brk.S2
-rw-r--r--libc/arch-mips/syscalls/__connect.S2
-rw-r--r--libc/arch-mips/syscalls/__epoll_pwait.S2
-rw-r--r--libc/arch-mips/syscalls/__exit.S2
-rw-r--r--libc/arch-mips/syscalls/__fcntl64.S2
-rw-r--r--libc/arch-mips/syscalls/__fstatfs64.S2
-rw-r--r--libc/arch-mips/syscalls/__getcpu.S2
-rw-r--r--libc/arch-mips/syscalls/__getcwd.S2
-rw-r--r--libc/arch-mips/syscalls/__getdents64.S2
-rw-r--r--libc/arch-mips/syscalls/__getpid.S2
-rw-r--r--libc/arch-mips/syscalls/__getpriority.S2
-rw-r--r--libc/arch-mips/syscalls/__ioctl.S2
-rw-r--r--libc/arch-mips/syscalls/__llseek.S2
-rw-r--r--libc/arch-mips/syscalls/__mmap2.S2
-rw-r--r--libc/arch-mips/syscalls/__openat.S2
-rw-r--r--libc/arch-mips/syscalls/__ppoll.S2
-rw-r--r--libc/arch-mips/syscalls/__pselect6.S2
-rw-r--r--libc/arch-mips/syscalls/__ptrace.S2
-rw-r--r--libc/arch-mips/syscalls/__reboot.S2
-rw-r--r--libc/arch-mips/syscalls/__rt_sigaction.S2
-rw-r--r--libc/arch-mips/syscalls/__rt_sigpending.S2
-rw-r--r--libc/arch-mips/syscalls/__rt_sigprocmask.S2
-rw-r--r--libc/arch-mips/syscalls/__rt_sigsuspend.S2
-rw-r--r--libc/arch-mips/syscalls/__rt_sigtimedwait.S2
-rw-r--r--libc/arch-mips/syscalls/__sched_getaffinity.S2
-rw-r--r--libc/arch-mips/syscalls/__set_tid_address.S2
-rw-r--r--libc/arch-mips/syscalls/__set_tls.S2
-rw-r--r--libc/arch-mips/syscalls/__sigaction.S2
-rw-r--r--libc/arch-mips/syscalls/__signalfd4.S2
-rw-r--r--libc/arch-mips/syscalls/__socket.S2
-rw-r--r--libc/arch-mips/syscalls/__statfs64.S2
-rw-r--r--libc/arch-mips/syscalls/__timer_create.S2
-rw-r--r--libc/arch-mips/syscalls/__timer_delete.S2
-rw-r--r--libc/arch-mips/syscalls/__timer_getoverrun.S2
-rw-r--r--libc/arch-mips/syscalls/__timer_gettime.S2
-rw-r--r--libc/arch-mips/syscalls/__timer_settime.S2
-rw-r--r--libc/arch-mips/syscalls/__waitid.S2
-rw-r--r--libc/arch-mips/syscalls/_exit.S2
-rw-r--r--libc/arch-mips/syscalls/_flush_cache.S2
-rw-r--r--libc/arch-mips/syscalls/acct.S2
-rw-r--r--libc/arch-mips/syscalls/bind.S2
-rw-r--r--libc/arch-mips/syscalls/capget.S2
-rw-r--r--libc/arch-mips/syscalls/capset.S2
-rw-r--r--libc/arch-mips/syscalls/chdir.S2
-rw-r--r--libc/arch-mips/syscalls/chroot.S2
-rw-r--r--libc/arch-mips/syscalls/clock_getres.S2
-rw-r--r--libc/arch-mips/syscalls/clock_gettime.S2
-rw-r--r--libc/arch-mips/syscalls/clock_nanosleep.S2
-rw-r--r--libc/arch-mips/syscalls/clock_settime.S2
-rw-r--r--libc/arch-mips/syscalls/close.S2
-rw-r--r--libc/arch-mips/syscalls/delete_module.S2
-rw-r--r--libc/arch-mips/syscalls/dup.S2
-rw-r--r--libc/arch-mips/syscalls/dup3.S2
-rw-r--r--libc/arch-mips/syscalls/epoll_create1.S2
-rw-r--r--libc/arch-mips/syscalls/epoll_ctl.S2
-rw-r--r--libc/arch-mips/syscalls/eventfd.S2
-rw-r--r--libc/arch-mips/syscalls/execve.S2
-rw-r--r--libc/arch-mips/syscalls/faccessat.S2
-rw-r--r--libc/arch-mips/syscalls/fallocate64.S2
-rw-r--r--libc/arch-mips/syscalls/fchdir.S2
-rw-r--r--libc/arch-mips/syscalls/fchmod.S2
-rw-r--r--libc/arch-mips/syscalls/fchmodat.S2
-rw-r--r--libc/arch-mips/syscalls/fchown.S2
-rw-r--r--libc/arch-mips/syscalls/fchownat.S2
-rw-r--r--libc/arch-mips/syscalls/fdatasync.S2
-rw-r--r--libc/arch-mips/syscalls/fgetxattr.S2
-rw-r--r--libc/arch-mips/syscalls/flistxattr.S2
-rw-r--r--libc/arch-mips/syscalls/flock.S2
-rw-r--r--libc/arch-mips/syscalls/fremovexattr.S2
-rw-r--r--libc/arch-mips/syscalls/fsetxattr.S2
-rw-r--r--libc/arch-mips/syscalls/fstat64.S2
-rw-r--r--libc/arch-mips/syscalls/fstatat64.S2
-rw-r--r--libc/arch-mips/syscalls/fsync.S2
-rw-r--r--libc/arch-mips/syscalls/ftruncate.S2
-rw-r--r--libc/arch-mips/syscalls/ftruncate64.S2
-rw-r--r--libc/arch-mips/syscalls/getegid.S2
-rw-r--r--libc/arch-mips/syscalls/geteuid.S2
-rw-r--r--libc/arch-mips/syscalls/getgid.S2
-rw-r--r--libc/arch-mips/syscalls/getgroups.S2
-rw-r--r--libc/arch-mips/syscalls/getitimer.S2
-rw-r--r--libc/arch-mips/syscalls/getpeername.S2
-rw-r--r--libc/arch-mips/syscalls/getpgid.S2
-rw-r--r--libc/arch-mips/syscalls/getppid.S2
-rw-r--r--libc/arch-mips/syscalls/getresgid.S2
-rw-r--r--libc/arch-mips/syscalls/getresuid.S2
-rw-r--r--libc/arch-mips/syscalls/getrlimit.S2
-rw-r--r--libc/arch-mips/syscalls/getrusage.S2
-rw-r--r--libc/arch-mips/syscalls/getsid.S2
-rw-r--r--libc/arch-mips/syscalls/getsockname.S2
-rw-r--r--libc/arch-mips/syscalls/getsockopt.S2
-rw-r--r--libc/arch-mips/syscalls/gettimeofday.S2
-rw-r--r--libc/arch-mips/syscalls/getuid.S2
-rw-r--r--libc/arch-mips/syscalls/getxattr.S2
-rw-r--r--libc/arch-mips/syscalls/init_module.S2
-rw-r--r--libc/arch-mips/syscalls/inotify_add_watch.S2
-rw-r--r--libc/arch-mips/syscalls/inotify_init1.S2
-rw-r--r--libc/arch-mips/syscalls/inotify_rm_watch.S2
-rw-r--r--libc/arch-mips/syscalls/kill.S2
-rw-r--r--libc/arch-mips/syscalls/klogctl.S2
-rw-r--r--libc/arch-mips/syscalls/lgetxattr.S2
-rw-r--r--libc/arch-mips/syscalls/linkat.S2
-rw-r--r--libc/arch-mips/syscalls/listen.S2
-rw-r--r--libc/arch-mips/syscalls/listxattr.S2
-rw-r--r--libc/arch-mips/syscalls/llistxattr.S2
-rw-r--r--libc/arch-mips/syscalls/lremovexattr.S2
-rw-r--r--libc/arch-mips/syscalls/lseek.S2
-rw-r--r--libc/arch-mips/syscalls/lsetxattr.S2
-rw-r--r--libc/arch-mips/syscalls/madvise.S2
-rw-r--r--libc/arch-mips/syscalls/mincore.S2
-rw-r--r--libc/arch-mips/syscalls/mkdirat.S2
-rw-r--r--libc/arch-mips/syscalls/mknodat.S2
-rw-r--r--libc/arch-mips/syscalls/mlock.S2
-rw-r--r--libc/arch-mips/syscalls/mlockall.S2
-rw-r--r--libc/arch-mips/syscalls/mount.S2
-rw-r--r--libc/arch-mips/syscalls/mprotect.S2
-rw-r--r--libc/arch-mips/syscalls/mremap.S2
-rw-r--r--libc/arch-mips/syscalls/msync.S2
-rw-r--r--libc/arch-mips/syscalls/munlock.S2
-rw-r--r--libc/arch-mips/syscalls/munlockall.S2
-rw-r--r--libc/arch-mips/syscalls/munmap.S2
-rw-r--r--libc/arch-mips/syscalls/nanosleep.S2
-rw-r--r--libc/arch-mips/syscalls/personality.S2
-rw-r--r--libc/arch-mips/syscalls/pipe2.S2
-rw-r--r--libc/arch-mips/syscalls/prctl.S2
-rw-r--r--libc/arch-mips/syscalls/pread64.S2
-rw-r--r--libc/arch-mips/syscalls/prlimit64.S2
-rw-r--r--libc/arch-mips/syscalls/pwrite64.S2
-rw-r--r--libc/arch-mips/syscalls/read.S2
-rw-r--r--libc/arch-mips/syscalls/readahead.S2
-rw-r--r--libc/arch-mips/syscalls/readlinkat.S2
-rw-r--r--libc/arch-mips/syscalls/readv.S2
-rw-r--r--libc/arch-mips/syscalls/recvfrom.S2
-rw-r--r--libc/arch-mips/syscalls/recvmmsg.S2
-rw-r--r--libc/arch-mips/syscalls/recvmsg.S2
-rw-r--r--libc/arch-mips/syscalls/removexattr.S2
-rw-r--r--libc/arch-mips/syscalls/renameat.S2
-rw-r--r--libc/arch-mips/syscalls/sched_get_priority_max.S2
-rw-r--r--libc/arch-mips/syscalls/sched_get_priority_min.S2
-rw-r--r--libc/arch-mips/syscalls/sched_getparam.S2
-rw-r--r--libc/arch-mips/syscalls/sched_getscheduler.S2
-rw-r--r--libc/arch-mips/syscalls/sched_rr_get_interval.S2
-rw-r--r--libc/arch-mips/syscalls/sched_setaffinity.S2
-rw-r--r--libc/arch-mips/syscalls/sched_setparam.S2
-rw-r--r--libc/arch-mips/syscalls/sched_setscheduler.S2
-rw-r--r--libc/arch-mips/syscalls/sched_yield.S2
-rw-r--r--libc/arch-mips/syscalls/sendfile.S2
-rw-r--r--libc/arch-mips/syscalls/sendfile64.S2
-rw-r--r--libc/arch-mips/syscalls/sendmmsg.S2
-rw-r--r--libc/arch-mips/syscalls/sendmsg.S2
-rw-r--r--libc/arch-mips/syscalls/sendto.S2
-rw-r--r--libc/arch-mips/syscalls/setfsgid.S2
-rw-r--r--libc/arch-mips/syscalls/setfsuid.S2
-rw-r--r--libc/arch-mips/syscalls/setgid.S2
-rw-r--r--libc/arch-mips/syscalls/setgroups.S2
-rw-r--r--libc/arch-mips/syscalls/setitimer.S2
-rw-r--r--libc/arch-mips/syscalls/setns.S2
-rw-r--r--libc/arch-mips/syscalls/setpgid.S2
-rw-r--r--libc/arch-mips/syscalls/setpriority.S2
-rw-r--r--libc/arch-mips/syscalls/setregid.S2
-rw-r--r--libc/arch-mips/syscalls/setresgid.S2
-rw-r--r--libc/arch-mips/syscalls/setresuid.S2
-rw-r--r--libc/arch-mips/syscalls/setreuid.S2
-rw-r--r--libc/arch-mips/syscalls/setrlimit.S2
-rw-r--r--libc/arch-mips/syscalls/setsid.S2
-rw-r--r--libc/arch-mips/syscalls/setsockopt.S2
-rw-r--r--libc/arch-mips/syscalls/settimeofday.S2
-rw-r--r--libc/arch-mips/syscalls/setuid.S2
-rw-r--r--libc/arch-mips/syscalls/setxattr.S2
-rw-r--r--libc/arch-mips/syscalls/shutdown.S2
-rw-r--r--libc/arch-mips/syscalls/sigaltstack.S2
-rw-r--r--libc/arch-mips/syscalls/socketpair.S2
-rw-r--r--libc/arch-mips/syscalls/splice.S2
-rw-r--r--libc/arch-mips/syscalls/swapoff.S2
-rw-r--r--libc/arch-mips/syscalls/swapon.S2
-rw-r--r--libc/arch-mips/syscalls/symlinkat.S2
-rw-r--r--libc/arch-mips/syscalls/sync.S2
-rw-r--r--libc/arch-mips/syscalls/sysinfo.S2
-rw-r--r--libc/arch-mips/syscalls/tee.S2
-rw-r--r--libc/arch-mips/syscalls/tgkill.S2
-rw-r--r--libc/arch-mips/syscalls/timerfd_create.S2
-rw-r--r--libc/arch-mips/syscalls/timerfd_gettime.S2
-rw-r--r--libc/arch-mips/syscalls/timerfd_settime.S2
-rw-r--r--libc/arch-mips/syscalls/times.S2
-rw-r--r--libc/arch-mips/syscalls/truncate.S2
-rw-r--r--libc/arch-mips/syscalls/truncate64.S2
-rw-r--r--libc/arch-mips/syscalls/umask.S2
-rw-r--r--libc/arch-mips/syscalls/umount2.S2
-rw-r--r--libc/arch-mips/syscalls/uname.S2
-rw-r--r--libc/arch-mips/syscalls/unlinkat.S2
-rw-r--r--libc/arch-mips/syscalls/unshare.S2
-rw-r--r--libc/arch-mips/syscalls/utimensat.S2
-rw-r--r--libc/arch-mips/syscalls/vmsplice.S2
-rw-r--r--libc/arch-mips/syscalls/wait4.S2
-rw-r--r--libc/arch-mips/syscalls/write.S2
-rw-r--r--libc/arch-mips/syscalls/writev.S2
196 files changed, 392 insertions, 0 deletions
diff --git a/libc/arch-mips/syscalls/__accept4.S b/libc/arch-mips/syscalls/__accept4.S
index 8634a35..2fc8b2a 100644
--- a/libc/arch-mips/syscalls/__accept4.S
+++ b/libc/arch-mips/syscalls/__accept4.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__accept4)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__brk.S b/libc/arch-mips/syscalls/__brk.S
index 9325c26..0593b4f 100644
--- a/libc/arch-mips/syscalls/__brk.S
+++ b/libc/arch-mips/syscalls/__brk.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__brk)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__connect.S b/libc/arch-mips/syscalls/__connect.S
index f7ac916..20f60e4 100644
--- a/libc/arch-mips/syscalls/__connect.S
+++ b/libc/arch-mips/syscalls/__connect.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__connect)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__epoll_pwait.S b/libc/arch-mips/syscalls/__epoll_pwait.S
index a417cdd..3e735f1 100644
--- a/libc/arch-mips/syscalls/__epoll_pwait.S
+++ b/libc/arch-mips/syscalls/__epoll_pwait.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__epoll_pwait)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__exit.S b/libc/arch-mips/syscalls/__exit.S
index 1515b41..40c2f87 100644
--- a/libc/arch-mips/syscalls/__exit.S
+++ b/libc/arch-mips/syscalls/__exit.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__exit)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__fcntl64.S b/libc/arch-mips/syscalls/__fcntl64.S
index b9815a1..b541edd 100644
--- a/libc/arch-mips/syscalls/__fcntl64.S
+++ b/libc/arch-mips/syscalls/__fcntl64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__fcntl64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__fstatfs64.S b/libc/arch-mips/syscalls/__fstatfs64.S
index 8774a53..d1d68ab 100644
--- a/libc/arch-mips/syscalls/__fstatfs64.S
+++ b/libc/arch-mips/syscalls/__fstatfs64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__fstatfs64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__getcpu.S b/libc/arch-mips/syscalls/__getcpu.S
index 2352e01..ab3acca 100644
--- a/libc/arch-mips/syscalls/__getcpu.S
+++ b/libc/arch-mips/syscalls/__getcpu.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__getcpu)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__getcwd.S b/libc/arch-mips/syscalls/__getcwd.S
index e844f9a..af1c494 100644
--- a/libc/arch-mips/syscalls/__getcwd.S
+++ b/libc/arch-mips/syscalls/__getcwd.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__getcwd)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__getdents64.S b/libc/arch-mips/syscalls/__getdents64.S
index 136b408..e88c6df 100644
--- a/libc/arch-mips/syscalls/__getdents64.S
+++ b/libc/arch-mips/syscalls/__getdents64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__getdents64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__getpid.S b/libc/arch-mips/syscalls/__getpid.S
index 52cf6f4..d20188b 100644
--- a/libc/arch-mips/syscalls/__getpid.S
+++ b/libc/arch-mips/syscalls/__getpid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__getpid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__getpriority.S b/libc/arch-mips/syscalls/__getpriority.S
index 882386b..bc1efb3 100644
--- a/libc/arch-mips/syscalls/__getpriority.S
+++ b/libc/arch-mips/syscalls/__getpriority.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__getpriority)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__ioctl.S b/libc/arch-mips/syscalls/__ioctl.S
index ddf5323..28af834 100644
--- a/libc/arch-mips/syscalls/__ioctl.S
+++ b/libc/arch-mips/syscalls/__ioctl.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__ioctl)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__llseek.S b/libc/arch-mips/syscalls/__llseek.S
index 10819f7..81cf459 100644
--- a/libc/arch-mips/syscalls/__llseek.S
+++ b/libc/arch-mips/syscalls/__llseek.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__llseek)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__mmap2.S b/libc/arch-mips/syscalls/__mmap2.S
index 5372817..e6022c3 100644
--- a/libc/arch-mips/syscalls/__mmap2.S
+++ b/libc/arch-mips/syscalls/__mmap2.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__mmap2)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__openat.S b/libc/arch-mips/syscalls/__openat.S
index f833dd8..0482b5a 100644
--- a/libc/arch-mips/syscalls/__openat.S
+++ b/libc/arch-mips/syscalls/__openat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__openat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__ppoll.S b/libc/arch-mips/syscalls/__ppoll.S
index a5711d9..7cd29f6 100644
--- a/libc/arch-mips/syscalls/__ppoll.S
+++ b/libc/arch-mips/syscalls/__ppoll.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__ppoll)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__pselect6.S b/libc/arch-mips/syscalls/__pselect6.S
index 4c0a0a5..b4279b8 100644
--- a/libc/arch-mips/syscalls/__pselect6.S
+++ b/libc/arch-mips/syscalls/__pselect6.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__pselect6)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__ptrace.S b/libc/arch-mips/syscalls/__ptrace.S
index fcbe529..07dcd8f 100644
--- a/libc/arch-mips/syscalls/__ptrace.S
+++ b/libc/arch-mips/syscalls/__ptrace.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__ptrace)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__reboot.S b/libc/arch-mips/syscalls/__reboot.S
index 4aa0e7a..3a0a70b 100644
--- a/libc/arch-mips/syscalls/__reboot.S
+++ b/libc/arch-mips/syscalls/__reboot.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__reboot)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__rt_sigaction.S b/libc/arch-mips/syscalls/__rt_sigaction.S
index 6c5bc37..858a241 100644
--- a/libc/arch-mips/syscalls/__rt_sigaction.S
+++ b/libc/arch-mips/syscalls/__rt_sigaction.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__rt_sigaction)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__rt_sigpending.S b/libc/arch-mips/syscalls/__rt_sigpending.S
index e62f079..484da4f 100644
--- a/libc/arch-mips/syscalls/__rt_sigpending.S
+++ b/libc/arch-mips/syscalls/__rt_sigpending.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__rt_sigpending)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__rt_sigprocmask.S b/libc/arch-mips/syscalls/__rt_sigprocmask.S
index 94ef493..5e61f52 100644
--- a/libc/arch-mips/syscalls/__rt_sigprocmask.S
+++ b/libc/arch-mips/syscalls/__rt_sigprocmask.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__rt_sigprocmask)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__rt_sigsuspend.S b/libc/arch-mips/syscalls/__rt_sigsuspend.S
index 077746f..d128caa 100644
--- a/libc/arch-mips/syscalls/__rt_sigsuspend.S
+++ b/libc/arch-mips/syscalls/__rt_sigsuspend.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__rt_sigsuspend)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__rt_sigtimedwait.S b/libc/arch-mips/syscalls/__rt_sigtimedwait.S
index 404eab7..7e70660 100644
--- a/libc/arch-mips/syscalls/__rt_sigtimedwait.S
+++ b/libc/arch-mips/syscalls/__rt_sigtimedwait.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__rt_sigtimedwait)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__sched_getaffinity.S b/libc/arch-mips/syscalls/__sched_getaffinity.S
index da71709..f83b7ba 100644
--- a/libc/arch-mips/syscalls/__sched_getaffinity.S
+++ b/libc/arch-mips/syscalls/__sched_getaffinity.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__sched_getaffinity)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__set_tid_address.S b/libc/arch-mips/syscalls/__set_tid_address.S
index 146cd0d..7ec0f63 100644
--- a/libc/arch-mips/syscalls/__set_tid_address.S
+++ b/libc/arch-mips/syscalls/__set_tid_address.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__set_tid_address)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__set_tls.S b/libc/arch-mips/syscalls/__set_tls.S
index e5b0ca2..bb2fa6d 100644
--- a/libc/arch-mips/syscalls/__set_tls.S
+++ b/libc/arch-mips/syscalls/__set_tls.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__set_tls)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__sigaction.S b/libc/arch-mips/syscalls/__sigaction.S
index 03dd9da..03eb582 100644
--- a/libc/arch-mips/syscalls/__sigaction.S
+++ b/libc/arch-mips/syscalls/__sigaction.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__sigaction)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__signalfd4.S b/libc/arch-mips/syscalls/__signalfd4.S
index cc9b212..9b191c2 100644
--- a/libc/arch-mips/syscalls/__signalfd4.S
+++ b/libc/arch-mips/syscalls/__signalfd4.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__signalfd4)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__socket.S b/libc/arch-mips/syscalls/__socket.S
index 6508911..9e9a926 100644
--- a/libc/arch-mips/syscalls/__socket.S
+++ b/libc/arch-mips/syscalls/__socket.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__socket)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__statfs64.S b/libc/arch-mips/syscalls/__statfs64.S
index 9f94e6a..5017e96 100644
--- a/libc/arch-mips/syscalls/__statfs64.S
+++ b/libc/arch-mips/syscalls/__statfs64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__statfs64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__timer_create.S b/libc/arch-mips/syscalls/__timer_create.S
index 449bd28..81cc8c4 100644
--- a/libc/arch-mips/syscalls/__timer_create.S
+++ b/libc/arch-mips/syscalls/__timer_create.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__timer_create)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__timer_delete.S b/libc/arch-mips/syscalls/__timer_delete.S
index 7bc5e05..fddb703 100644
--- a/libc/arch-mips/syscalls/__timer_delete.S
+++ b/libc/arch-mips/syscalls/__timer_delete.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__timer_delete)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__timer_getoverrun.S b/libc/arch-mips/syscalls/__timer_getoverrun.S
index 7382c91..3a7313d 100644
--- a/libc/arch-mips/syscalls/__timer_getoverrun.S
+++ b/libc/arch-mips/syscalls/__timer_getoverrun.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__timer_getoverrun)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__timer_gettime.S b/libc/arch-mips/syscalls/__timer_gettime.S
index d6195b9..7b9bed7 100644
--- a/libc/arch-mips/syscalls/__timer_gettime.S
+++ b/libc/arch-mips/syscalls/__timer_gettime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__timer_gettime)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__timer_settime.S b/libc/arch-mips/syscalls/__timer_settime.S
index 9fbab86..b1198de 100644
--- a/libc/arch-mips/syscalls/__timer_settime.S
+++ b/libc/arch-mips/syscalls/__timer_settime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__timer_settime)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/__waitid.S b/libc/arch-mips/syscalls/__waitid.S
index 4c9142e..e60da7f 100644
--- a/libc/arch-mips/syscalls/__waitid.S
+++ b/libc/arch-mips/syscalls/__waitid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__waitid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/_exit.S b/libc/arch-mips/syscalls/_exit.S
index f546b66..ae1d61f 100644
--- a/libc/arch-mips/syscalls/_exit.S
+++ b/libc/arch-mips/syscalls/_exit.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(_exit)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/_flush_cache.S b/libc/arch-mips/syscalls/_flush_cache.S
index 64967fe..0074578 100644
--- a/libc/arch-mips/syscalls/_flush_cache.S
+++ b/libc/arch-mips/syscalls/_flush_cache.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(_flush_cache)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/acct.S b/libc/arch-mips/syscalls/acct.S
index 6e4a4f2..29a7119 100644
--- a/libc/arch-mips/syscalls/acct.S
+++ b/libc/arch-mips/syscalls/acct.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(acct)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/bind.S b/libc/arch-mips/syscalls/bind.S
index 9119aa8..6d92fd0 100644
--- a/libc/arch-mips/syscalls/bind.S
+++ b/libc/arch-mips/syscalls/bind.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(bind)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/capget.S b/libc/arch-mips/syscalls/capget.S
index 549dc76..de76fa3 100644
--- a/libc/arch-mips/syscalls/capget.S
+++ b/libc/arch-mips/syscalls/capget.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(capget)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/capset.S b/libc/arch-mips/syscalls/capset.S
index 637ac37..77fb3a7 100644
--- a/libc/arch-mips/syscalls/capset.S
+++ b/libc/arch-mips/syscalls/capset.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(capset)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/chdir.S b/libc/arch-mips/syscalls/chdir.S
index 752e4e7..2668d69 100644
--- a/libc/arch-mips/syscalls/chdir.S
+++ b/libc/arch-mips/syscalls/chdir.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(chdir)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/chroot.S b/libc/arch-mips/syscalls/chroot.S
index d1ffc97..d804c4f 100644
--- a/libc/arch-mips/syscalls/chroot.S
+++ b/libc/arch-mips/syscalls/chroot.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(chroot)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/clock_getres.S b/libc/arch-mips/syscalls/clock_getres.S
index 49d9bba..5219b32 100644
--- a/libc/arch-mips/syscalls/clock_getres.S
+++ b/libc/arch-mips/syscalls/clock_getres.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(clock_getres)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/clock_gettime.S b/libc/arch-mips/syscalls/clock_gettime.S
index 42929e8..32120b1 100644
--- a/libc/arch-mips/syscalls/clock_gettime.S
+++ b/libc/arch-mips/syscalls/clock_gettime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(clock_gettime)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/clock_nanosleep.S b/libc/arch-mips/syscalls/clock_nanosleep.S
index e7c25ce..01bab5a 100644
--- a/libc/arch-mips/syscalls/clock_nanosleep.S
+++ b/libc/arch-mips/syscalls/clock_nanosleep.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(clock_nanosleep)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/clock_settime.S b/libc/arch-mips/syscalls/clock_settime.S
index e7dda91..6b642a1 100644
--- a/libc/arch-mips/syscalls/clock_settime.S
+++ b/libc/arch-mips/syscalls/clock_settime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(clock_settime)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/close.S b/libc/arch-mips/syscalls/close.S
index bc2c325..4e3ab67 100644
--- a/libc/arch-mips/syscalls/close.S
+++ b/libc/arch-mips/syscalls/close.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(close)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/delete_module.S b/libc/arch-mips/syscalls/delete_module.S
index 9247f5a..5c84930 100644
--- a/libc/arch-mips/syscalls/delete_module.S
+++ b/libc/arch-mips/syscalls/delete_module.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(delete_module)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/dup.S b/libc/arch-mips/syscalls/dup.S
index 61b1c03..6969553 100644
--- a/libc/arch-mips/syscalls/dup.S
+++ b/libc/arch-mips/syscalls/dup.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(dup)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/dup3.S b/libc/arch-mips/syscalls/dup3.S
index d0694e8..39e403d 100644
--- a/libc/arch-mips/syscalls/dup3.S
+++ b/libc/arch-mips/syscalls/dup3.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(dup3)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/epoll_create1.S b/libc/arch-mips/syscalls/epoll_create1.S
index 2043f39..6feb715 100644
--- a/libc/arch-mips/syscalls/epoll_create1.S
+++ b/libc/arch-mips/syscalls/epoll_create1.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(epoll_create1)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/epoll_ctl.S b/libc/arch-mips/syscalls/epoll_ctl.S
index 9474d3a..4517ea1 100644
--- a/libc/arch-mips/syscalls/epoll_ctl.S
+++ b/libc/arch-mips/syscalls/epoll_ctl.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(epoll_ctl)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/eventfd.S b/libc/arch-mips/syscalls/eventfd.S
index 5282a91..167a851 100644
--- a/libc/arch-mips/syscalls/eventfd.S
+++ b/libc/arch-mips/syscalls/eventfd.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(eventfd)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/execve.S b/libc/arch-mips/syscalls/execve.S
index fcaec0a..e6f3af6 100644
--- a/libc/arch-mips/syscalls/execve.S
+++ b/libc/arch-mips/syscalls/execve.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(execve)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/faccessat.S b/libc/arch-mips/syscalls/faccessat.S
index e7afe2a..3bf7717 100644
--- a/libc/arch-mips/syscalls/faccessat.S
+++ b/libc/arch-mips/syscalls/faccessat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(faccessat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fallocate64.S b/libc/arch-mips/syscalls/fallocate64.S
index d814606..5395c6f 100644
--- a/libc/arch-mips/syscalls/fallocate64.S
+++ b/libc/arch-mips/syscalls/fallocate64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fallocate64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fchdir.S b/libc/arch-mips/syscalls/fchdir.S
index daac0f5..4a5c1e3 100644
--- a/libc/arch-mips/syscalls/fchdir.S
+++ b/libc/arch-mips/syscalls/fchdir.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fchdir)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fchmod.S b/libc/arch-mips/syscalls/fchmod.S
index e947e41..78dc3f7 100644
--- a/libc/arch-mips/syscalls/fchmod.S
+++ b/libc/arch-mips/syscalls/fchmod.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fchmod)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fchmodat.S b/libc/arch-mips/syscalls/fchmodat.S
index 4d2a7d3..ebc3a74 100644
--- a/libc/arch-mips/syscalls/fchmodat.S
+++ b/libc/arch-mips/syscalls/fchmodat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fchmodat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fchown.S b/libc/arch-mips/syscalls/fchown.S
index f59c0f4..74956e0 100644
--- a/libc/arch-mips/syscalls/fchown.S
+++ b/libc/arch-mips/syscalls/fchown.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fchown)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fchownat.S b/libc/arch-mips/syscalls/fchownat.S
index af44cbc..54d1fde 100644
--- a/libc/arch-mips/syscalls/fchownat.S
+++ b/libc/arch-mips/syscalls/fchownat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fchownat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fdatasync.S b/libc/arch-mips/syscalls/fdatasync.S
index 07e3592..f2d1b1f 100644
--- a/libc/arch-mips/syscalls/fdatasync.S
+++ b/libc/arch-mips/syscalls/fdatasync.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fdatasync)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fgetxattr.S b/libc/arch-mips/syscalls/fgetxattr.S
index 035e71c..096cd97 100644
--- a/libc/arch-mips/syscalls/fgetxattr.S
+++ b/libc/arch-mips/syscalls/fgetxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fgetxattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/flistxattr.S b/libc/arch-mips/syscalls/flistxattr.S
index 500cd97..b577e57 100644
--- a/libc/arch-mips/syscalls/flistxattr.S
+++ b/libc/arch-mips/syscalls/flistxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(flistxattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/flock.S b/libc/arch-mips/syscalls/flock.S
index 7d843ab..87e9e04 100644
--- a/libc/arch-mips/syscalls/flock.S
+++ b/libc/arch-mips/syscalls/flock.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(flock)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fremovexattr.S b/libc/arch-mips/syscalls/fremovexattr.S
index 9f16186..8f7e74e 100644
--- a/libc/arch-mips/syscalls/fremovexattr.S
+++ b/libc/arch-mips/syscalls/fremovexattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fremovexattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fsetxattr.S b/libc/arch-mips/syscalls/fsetxattr.S
index 0347128..e9a3490 100644
--- a/libc/arch-mips/syscalls/fsetxattr.S
+++ b/libc/arch-mips/syscalls/fsetxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fsetxattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fstat64.S b/libc/arch-mips/syscalls/fstat64.S
index 7228541..c6d2a32 100644
--- a/libc/arch-mips/syscalls/fstat64.S
+++ b/libc/arch-mips/syscalls/fstat64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fstat64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fstatat64.S b/libc/arch-mips/syscalls/fstatat64.S
index b2903f2..2418b02 100644
--- a/libc/arch-mips/syscalls/fstatat64.S
+++ b/libc/arch-mips/syscalls/fstatat64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fstatat64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/fsync.S b/libc/arch-mips/syscalls/fsync.S
index 96b417d..c5528dc 100644
--- a/libc/arch-mips/syscalls/fsync.S
+++ b/libc/arch-mips/syscalls/fsync.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(fsync)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/ftruncate.S b/libc/arch-mips/syscalls/ftruncate.S
index bd428fb..dfd57a9 100644
--- a/libc/arch-mips/syscalls/ftruncate.S
+++ b/libc/arch-mips/syscalls/ftruncate.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(ftruncate)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/ftruncate64.S b/libc/arch-mips/syscalls/ftruncate64.S
index 357e9a5..a1df9e8 100644
--- a/libc/arch-mips/syscalls/ftruncate64.S
+++ b/libc/arch-mips/syscalls/ftruncate64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(ftruncate64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getegid.S b/libc/arch-mips/syscalls/getegid.S
index c3a3ac0..10f102c 100644
--- a/libc/arch-mips/syscalls/getegid.S
+++ b/libc/arch-mips/syscalls/getegid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getegid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/geteuid.S b/libc/arch-mips/syscalls/geteuid.S
index 66e6d4f..bac3b74 100644
--- a/libc/arch-mips/syscalls/geteuid.S
+++ b/libc/arch-mips/syscalls/geteuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(geteuid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getgid.S b/libc/arch-mips/syscalls/getgid.S
index 674d527..a1814bb 100644
--- a/libc/arch-mips/syscalls/getgid.S
+++ b/libc/arch-mips/syscalls/getgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getgid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getgroups.S b/libc/arch-mips/syscalls/getgroups.S
index caa031b..51ed523 100644
--- a/libc/arch-mips/syscalls/getgroups.S
+++ b/libc/arch-mips/syscalls/getgroups.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getgroups)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getitimer.S b/libc/arch-mips/syscalls/getitimer.S
index e7a655a..1afeee4 100644
--- a/libc/arch-mips/syscalls/getitimer.S
+++ b/libc/arch-mips/syscalls/getitimer.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getitimer)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getpeername.S b/libc/arch-mips/syscalls/getpeername.S
index 31df8ad..b6e5f07 100644
--- a/libc/arch-mips/syscalls/getpeername.S
+++ b/libc/arch-mips/syscalls/getpeername.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getpeername)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getpgid.S b/libc/arch-mips/syscalls/getpgid.S
index 7e3e439..01c6ec5 100644
--- a/libc/arch-mips/syscalls/getpgid.S
+++ b/libc/arch-mips/syscalls/getpgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getpgid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getppid.S b/libc/arch-mips/syscalls/getppid.S
index 3d76fc2..9ed04c0 100644
--- a/libc/arch-mips/syscalls/getppid.S
+++ b/libc/arch-mips/syscalls/getppid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getppid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getresgid.S b/libc/arch-mips/syscalls/getresgid.S
index 235902a..a2e16d4 100644
--- a/libc/arch-mips/syscalls/getresgid.S
+++ b/libc/arch-mips/syscalls/getresgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getresgid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getresuid.S b/libc/arch-mips/syscalls/getresuid.S
index c6c4c13..ff162e0 100644
--- a/libc/arch-mips/syscalls/getresuid.S
+++ b/libc/arch-mips/syscalls/getresuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getresuid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getrlimit.S b/libc/arch-mips/syscalls/getrlimit.S
index ef4ae89..1632f4d 100644
--- a/libc/arch-mips/syscalls/getrlimit.S
+++ b/libc/arch-mips/syscalls/getrlimit.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getrlimit)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getrusage.S b/libc/arch-mips/syscalls/getrusage.S
index 21cabfa..b9c4207 100644
--- a/libc/arch-mips/syscalls/getrusage.S
+++ b/libc/arch-mips/syscalls/getrusage.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getrusage)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getsid.S b/libc/arch-mips/syscalls/getsid.S
index b0b21a0..cb56f54 100644
--- a/libc/arch-mips/syscalls/getsid.S
+++ b/libc/arch-mips/syscalls/getsid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getsid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getsockname.S b/libc/arch-mips/syscalls/getsockname.S
index 82d0b83..f7bff60 100644
--- a/libc/arch-mips/syscalls/getsockname.S
+++ b/libc/arch-mips/syscalls/getsockname.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getsockname)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getsockopt.S b/libc/arch-mips/syscalls/getsockopt.S
index ad360e3..1490aa3 100644
--- a/libc/arch-mips/syscalls/getsockopt.S
+++ b/libc/arch-mips/syscalls/getsockopt.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getsockopt)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/gettimeofday.S b/libc/arch-mips/syscalls/gettimeofday.S
index e66fd77..a72ced6 100644
--- a/libc/arch-mips/syscalls/gettimeofday.S
+++ b/libc/arch-mips/syscalls/gettimeofday.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(gettimeofday)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getuid.S b/libc/arch-mips/syscalls/getuid.S
index 345af71..290a701 100644
--- a/libc/arch-mips/syscalls/getuid.S
+++ b/libc/arch-mips/syscalls/getuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getuid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/getxattr.S b/libc/arch-mips/syscalls/getxattr.S
index c7e215e..6ed4316 100644
--- a/libc/arch-mips/syscalls/getxattr.S
+++ b/libc/arch-mips/syscalls/getxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(getxattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/init_module.S b/libc/arch-mips/syscalls/init_module.S
index 21ba5b1..6caf450 100644
--- a/libc/arch-mips/syscalls/init_module.S
+++ b/libc/arch-mips/syscalls/init_module.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(init_module)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/inotify_add_watch.S b/libc/arch-mips/syscalls/inotify_add_watch.S
index beb70ec..8464f8f 100644
--- a/libc/arch-mips/syscalls/inotify_add_watch.S
+++ b/libc/arch-mips/syscalls/inotify_add_watch.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(inotify_add_watch)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/inotify_init1.S b/libc/arch-mips/syscalls/inotify_init1.S
index 6c825c6..b6cb6bc 100644
--- a/libc/arch-mips/syscalls/inotify_init1.S
+++ b/libc/arch-mips/syscalls/inotify_init1.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(inotify_init1)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/inotify_rm_watch.S b/libc/arch-mips/syscalls/inotify_rm_watch.S
index 280f2b4..87a396a 100644
--- a/libc/arch-mips/syscalls/inotify_rm_watch.S
+++ b/libc/arch-mips/syscalls/inotify_rm_watch.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(inotify_rm_watch)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/kill.S b/libc/arch-mips/syscalls/kill.S
index 0941717..3dda006 100644
--- a/libc/arch-mips/syscalls/kill.S
+++ b/libc/arch-mips/syscalls/kill.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(kill)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/klogctl.S b/libc/arch-mips/syscalls/klogctl.S
index ebc8837..ae9a445 100644
--- a/libc/arch-mips/syscalls/klogctl.S
+++ b/libc/arch-mips/syscalls/klogctl.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(klogctl)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/lgetxattr.S b/libc/arch-mips/syscalls/lgetxattr.S
index 8c4a252..63c5add 100644
--- a/libc/arch-mips/syscalls/lgetxattr.S
+++ b/libc/arch-mips/syscalls/lgetxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(lgetxattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/linkat.S b/libc/arch-mips/syscalls/linkat.S
index cc7278d..5bea417 100644
--- a/libc/arch-mips/syscalls/linkat.S
+++ b/libc/arch-mips/syscalls/linkat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(linkat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/listen.S b/libc/arch-mips/syscalls/listen.S
index 68eba52..8d945f5 100644
--- a/libc/arch-mips/syscalls/listen.S
+++ b/libc/arch-mips/syscalls/listen.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(listen)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/listxattr.S b/libc/arch-mips/syscalls/listxattr.S
index 006bfce..260d089 100644
--- a/libc/arch-mips/syscalls/listxattr.S
+++ b/libc/arch-mips/syscalls/listxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(listxattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/llistxattr.S b/libc/arch-mips/syscalls/llistxattr.S
index 7f833ad..69474d8 100644
--- a/libc/arch-mips/syscalls/llistxattr.S
+++ b/libc/arch-mips/syscalls/llistxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(llistxattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/lremovexattr.S b/libc/arch-mips/syscalls/lremovexattr.S
index 21d00ea..e33f31f 100644
--- a/libc/arch-mips/syscalls/lremovexattr.S
+++ b/libc/arch-mips/syscalls/lremovexattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(lremovexattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/lseek.S b/libc/arch-mips/syscalls/lseek.S
index 82c2776..21abe1c 100644
--- a/libc/arch-mips/syscalls/lseek.S
+++ b/libc/arch-mips/syscalls/lseek.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(lseek)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/lsetxattr.S b/libc/arch-mips/syscalls/lsetxattr.S
index d54ec69..dcd510a 100644
--- a/libc/arch-mips/syscalls/lsetxattr.S
+++ b/libc/arch-mips/syscalls/lsetxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(lsetxattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/madvise.S b/libc/arch-mips/syscalls/madvise.S
index 9aa2815..49c007a 100644
--- a/libc/arch-mips/syscalls/madvise.S
+++ b/libc/arch-mips/syscalls/madvise.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(madvise)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/mincore.S b/libc/arch-mips/syscalls/mincore.S
index 0db4313..07102a6 100644
--- a/libc/arch-mips/syscalls/mincore.S
+++ b/libc/arch-mips/syscalls/mincore.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mincore)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/mkdirat.S b/libc/arch-mips/syscalls/mkdirat.S
index 0ac98d4..96a2d08 100644
--- a/libc/arch-mips/syscalls/mkdirat.S
+++ b/libc/arch-mips/syscalls/mkdirat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mkdirat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/mknodat.S b/libc/arch-mips/syscalls/mknodat.S
index b85d8bf..a88b906 100644
--- a/libc/arch-mips/syscalls/mknodat.S
+++ b/libc/arch-mips/syscalls/mknodat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mknodat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/mlock.S b/libc/arch-mips/syscalls/mlock.S
index 0ba2bca..eff66b8 100644
--- a/libc/arch-mips/syscalls/mlock.S
+++ b/libc/arch-mips/syscalls/mlock.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mlock)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/mlockall.S b/libc/arch-mips/syscalls/mlockall.S
index 642c6e2..c31eeaf 100644
--- a/libc/arch-mips/syscalls/mlockall.S
+++ b/libc/arch-mips/syscalls/mlockall.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mlockall)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/mount.S b/libc/arch-mips/syscalls/mount.S
index f0c5f6b..cb1f1d1 100644
--- a/libc/arch-mips/syscalls/mount.S
+++ b/libc/arch-mips/syscalls/mount.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mount)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/mprotect.S b/libc/arch-mips/syscalls/mprotect.S
index c0ce988..4e390eb 100644
--- a/libc/arch-mips/syscalls/mprotect.S
+++ b/libc/arch-mips/syscalls/mprotect.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mprotect)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/mremap.S b/libc/arch-mips/syscalls/mremap.S
index bd4c385..7b9a68a 100644
--- a/libc/arch-mips/syscalls/mremap.S
+++ b/libc/arch-mips/syscalls/mremap.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(mremap)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/msync.S b/libc/arch-mips/syscalls/msync.S
index e8ecb2a..7b19a83 100644
--- a/libc/arch-mips/syscalls/msync.S
+++ b/libc/arch-mips/syscalls/msync.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(msync)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/munlock.S b/libc/arch-mips/syscalls/munlock.S
index f8ddc3a..17dc719 100644
--- a/libc/arch-mips/syscalls/munlock.S
+++ b/libc/arch-mips/syscalls/munlock.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(munlock)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/munlockall.S b/libc/arch-mips/syscalls/munlockall.S
index 5ced5c6..f0dc2d4 100644
--- a/libc/arch-mips/syscalls/munlockall.S
+++ b/libc/arch-mips/syscalls/munlockall.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(munlockall)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/munmap.S b/libc/arch-mips/syscalls/munmap.S
index 527825c..dc3a524 100644
--- a/libc/arch-mips/syscalls/munmap.S
+++ b/libc/arch-mips/syscalls/munmap.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(munmap)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/nanosleep.S b/libc/arch-mips/syscalls/nanosleep.S
index 8dc816a..fa74288 100644
--- a/libc/arch-mips/syscalls/nanosleep.S
+++ b/libc/arch-mips/syscalls/nanosleep.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(nanosleep)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/personality.S b/libc/arch-mips/syscalls/personality.S
index e8449a7..467f2ec 100644
--- a/libc/arch-mips/syscalls/personality.S
+++ b/libc/arch-mips/syscalls/personality.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(personality)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/pipe2.S b/libc/arch-mips/syscalls/pipe2.S
index 478d364..c505956 100644
--- a/libc/arch-mips/syscalls/pipe2.S
+++ b/libc/arch-mips/syscalls/pipe2.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(pipe2)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/prctl.S b/libc/arch-mips/syscalls/prctl.S
index e9aff3c..60c18be 100644
--- a/libc/arch-mips/syscalls/prctl.S
+++ b/libc/arch-mips/syscalls/prctl.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(prctl)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/pread64.S b/libc/arch-mips/syscalls/pread64.S
index 55a54c6..debc558 100644
--- a/libc/arch-mips/syscalls/pread64.S
+++ b/libc/arch-mips/syscalls/pread64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(pread64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/prlimit64.S b/libc/arch-mips/syscalls/prlimit64.S
index c695d18..ce1686f 100644
--- a/libc/arch-mips/syscalls/prlimit64.S
+++ b/libc/arch-mips/syscalls/prlimit64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(prlimit64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/pwrite64.S b/libc/arch-mips/syscalls/pwrite64.S
index 64d3ee1..b1ff89b 100644
--- a/libc/arch-mips/syscalls/pwrite64.S
+++ b/libc/arch-mips/syscalls/pwrite64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(pwrite64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/read.S b/libc/arch-mips/syscalls/read.S
index ff548ab..d98c9a6 100644
--- a/libc/arch-mips/syscalls/read.S
+++ b/libc/arch-mips/syscalls/read.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(read)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/readahead.S b/libc/arch-mips/syscalls/readahead.S
index 674286a..7dd4473 100644
--- a/libc/arch-mips/syscalls/readahead.S
+++ b/libc/arch-mips/syscalls/readahead.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(readahead)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/readlinkat.S b/libc/arch-mips/syscalls/readlinkat.S
index a1c7d6b..99f07a4 100644
--- a/libc/arch-mips/syscalls/readlinkat.S
+++ b/libc/arch-mips/syscalls/readlinkat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(readlinkat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/readv.S b/libc/arch-mips/syscalls/readv.S
index af5a4cb..3985c9c 100644
--- a/libc/arch-mips/syscalls/readv.S
+++ b/libc/arch-mips/syscalls/readv.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(readv)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/recvfrom.S b/libc/arch-mips/syscalls/recvfrom.S
index 04b04f6..afda11e 100644
--- a/libc/arch-mips/syscalls/recvfrom.S
+++ b/libc/arch-mips/syscalls/recvfrom.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(recvfrom)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/recvmmsg.S b/libc/arch-mips/syscalls/recvmmsg.S
index 23e511b..1122c01 100644
--- a/libc/arch-mips/syscalls/recvmmsg.S
+++ b/libc/arch-mips/syscalls/recvmmsg.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(recvmmsg)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/recvmsg.S b/libc/arch-mips/syscalls/recvmsg.S
index a0a3a3f..a64606b 100644
--- a/libc/arch-mips/syscalls/recvmsg.S
+++ b/libc/arch-mips/syscalls/recvmsg.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(recvmsg)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/removexattr.S b/libc/arch-mips/syscalls/removexattr.S
index 0f72ebf..a356160 100644
--- a/libc/arch-mips/syscalls/removexattr.S
+++ b/libc/arch-mips/syscalls/removexattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(removexattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/renameat.S b/libc/arch-mips/syscalls/renameat.S
index 210b439..63de839 100644
--- a/libc/arch-mips/syscalls/renameat.S
+++ b/libc/arch-mips/syscalls/renameat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(renameat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sched_get_priority_max.S b/libc/arch-mips/syscalls/sched_get_priority_max.S
index d15a868..ea88c0f 100644
--- a/libc/arch-mips/syscalls/sched_get_priority_max.S
+++ b/libc/arch-mips/syscalls/sched_get_priority_max.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_get_priority_max)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sched_get_priority_min.S b/libc/arch-mips/syscalls/sched_get_priority_min.S
index 5ff21c6..0320847 100644
--- a/libc/arch-mips/syscalls/sched_get_priority_min.S
+++ b/libc/arch-mips/syscalls/sched_get_priority_min.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_get_priority_min)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sched_getparam.S b/libc/arch-mips/syscalls/sched_getparam.S
index 1cbe720..4be69b3 100644
--- a/libc/arch-mips/syscalls/sched_getparam.S
+++ b/libc/arch-mips/syscalls/sched_getparam.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_getparam)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sched_getscheduler.S b/libc/arch-mips/syscalls/sched_getscheduler.S
index 88b16e0..aaf0e91 100644
--- a/libc/arch-mips/syscalls/sched_getscheduler.S
+++ b/libc/arch-mips/syscalls/sched_getscheduler.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_getscheduler)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sched_rr_get_interval.S b/libc/arch-mips/syscalls/sched_rr_get_interval.S
index 647ee3c..fcf2bcb 100644
--- a/libc/arch-mips/syscalls/sched_rr_get_interval.S
+++ b/libc/arch-mips/syscalls/sched_rr_get_interval.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_rr_get_interval)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sched_setaffinity.S b/libc/arch-mips/syscalls/sched_setaffinity.S
index 1184766..b9394c5 100644
--- a/libc/arch-mips/syscalls/sched_setaffinity.S
+++ b/libc/arch-mips/syscalls/sched_setaffinity.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_setaffinity)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sched_setparam.S b/libc/arch-mips/syscalls/sched_setparam.S
index 1811c74..90c82fe 100644
--- a/libc/arch-mips/syscalls/sched_setparam.S
+++ b/libc/arch-mips/syscalls/sched_setparam.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_setparam)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sched_setscheduler.S b/libc/arch-mips/syscalls/sched_setscheduler.S
index 8921d30..05e4e8b 100644
--- a/libc/arch-mips/syscalls/sched_setscheduler.S
+++ b/libc/arch-mips/syscalls/sched_setscheduler.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_setscheduler)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sched_yield.S b/libc/arch-mips/syscalls/sched_yield.S
index 37f09be..1556580 100644
--- a/libc/arch-mips/syscalls/sched_yield.S
+++ b/libc/arch-mips/syscalls/sched_yield.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sched_yield)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sendfile.S b/libc/arch-mips/syscalls/sendfile.S
index 84466b9..eb99d09 100644
--- a/libc/arch-mips/syscalls/sendfile.S
+++ b/libc/arch-mips/syscalls/sendfile.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sendfile)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sendfile64.S b/libc/arch-mips/syscalls/sendfile64.S
index d9733f6..1d5c5f0 100644
--- a/libc/arch-mips/syscalls/sendfile64.S
+++ b/libc/arch-mips/syscalls/sendfile64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sendfile64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sendmmsg.S b/libc/arch-mips/syscalls/sendmmsg.S
index d99ba93..16f37a1 100644
--- a/libc/arch-mips/syscalls/sendmmsg.S
+++ b/libc/arch-mips/syscalls/sendmmsg.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sendmmsg)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sendmsg.S b/libc/arch-mips/syscalls/sendmsg.S
index 5c37c62..31bb563 100644
--- a/libc/arch-mips/syscalls/sendmsg.S
+++ b/libc/arch-mips/syscalls/sendmsg.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sendmsg)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sendto.S b/libc/arch-mips/syscalls/sendto.S
index 580d142..2ba696d 100644
--- a/libc/arch-mips/syscalls/sendto.S
+++ b/libc/arch-mips/syscalls/sendto.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sendto)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setfsgid.S b/libc/arch-mips/syscalls/setfsgid.S
index 6a59565..81d33d0 100644
--- a/libc/arch-mips/syscalls/setfsgid.S
+++ b/libc/arch-mips/syscalls/setfsgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setfsgid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setfsuid.S b/libc/arch-mips/syscalls/setfsuid.S
index 1c2317a..6889077 100644
--- a/libc/arch-mips/syscalls/setfsuid.S
+++ b/libc/arch-mips/syscalls/setfsuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setfsuid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setgid.S b/libc/arch-mips/syscalls/setgid.S
index 8fa188e..83649da 100644
--- a/libc/arch-mips/syscalls/setgid.S
+++ b/libc/arch-mips/syscalls/setgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setgid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setgroups.S b/libc/arch-mips/syscalls/setgroups.S
index f2d271c..b98608c 100644
--- a/libc/arch-mips/syscalls/setgroups.S
+++ b/libc/arch-mips/syscalls/setgroups.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setgroups)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setitimer.S b/libc/arch-mips/syscalls/setitimer.S
index a2eea84..dc9a8f3 100644
--- a/libc/arch-mips/syscalls/setitimer.S
+++ b/libc/arch-mips/syscalls/setitimer.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setitimer)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setns.S b/libc/arch-mips/syscalls/setns.S
index 8a4f674..9a4939d 100644
--- a/libc/arch-mips/syscalls/setns.S
+++ b/libc/arch-mips/syscalls/setns.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setns)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setpgid.S b/libc/arch-mips/syscalls/setpgid.S
index c68f9a6..cbc1ff3 100644
--- a/libc/arch-mips/syscalls/setpgid.S
+++ b/libc/arch-mips/syscalls/setpgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setpgid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setpriority.S b/libc/arch-mips/syscalls/setpriority.S
index 2bf9f47..6b8a504 100644
--- a/libc/arch-mips/syscalls/setpriority.S
+++ b/libc/arch-mips/syscalls/setpriority.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setpriority)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setregid.S b/libc/arch-mips/syscalls/setregid.S
index de77e39..6388784 100644
--- a/libc/arch-mips/syscalls/setregid.S
+++ b/libc/arch-mips/syscalls/setregid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setregid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setresgid.S b/libc/arch-mips/syscalls/setresgid.S
index b2fd85f..76968a8 100644
--- a/libc/arch-mips/syscalls/setresgid.S
+++ b/libc/arch-mips/syscalls/setresgid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setresgid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setresuid.S b/libc/arch-mips/syscalls/setresuid.S
index ad9ea9b..fae15f8 100644
--- a/libc/arch-mips/syscalls/setresuid.S
+++ b/libc/arch-mips/syscalls/setresuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setresuid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setreuid.S b/libc/arch-mips/syscalls/setreuid.S
index 888d219..8350cb7 100644
--- a/libc/arch-mips/syscalls/setreuid.S
+++ b/libc/arch-mips/syscalls/setreuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setreuid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setrlimit.S b/libc/arch-mips/syscalls/setrlimit.S
index 71b49ac..d708c2d 100644
--- a/libc/arch-mips/syscalls/setrlimit.S
+++ b/libc/arch-mips/syscalls/setrlimit.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setrlimit)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setsid.S b/libc/arch-mips/syscalls/setsid.S
index 9467a08..cb5838d 100644
--- a/libc/arch-mips/syscalls/setsid.S
+++ b/libc/arch-mips/syscalls/setsid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setsid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setsockopt.S b/libc/arch-mips/syscalls/setsockopt.S
index e8dd3f6..da348f1 100644
--- a/libc/arch-mips/syscalls/setsockopt.S
+++ b/libc/arch-mips/syscalls/setsockopt.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setsockopt)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/settimeofday.S b/libc/arch-mips/syscalls/settimeofday.S
index b9b588f..cd52b40 100644
--- a/libc/arch-mips/syscalls/settimeofday.S
+++ b/libc/arch-mips/syscalls/settimeofday.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(settimeofday)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setuid.S b/libc/arch-mips/syscalls/setuid.S
index 55c75c1..a80ec5c 100644
--- a/libc/arch-mips/syscalls/setuid.S
+++ b/libc/arch-mips/syscalls/setuid.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setuid)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/setxattr.S b/libc/arch-mips/syscalls/setxattr.S
index 0cca64c..df7bcdb 100644
--- a/libc/arch-mips/syscalls/setxattr.S
+++ b/libc/arch-mips/syscalls/setxattr.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(setxattr)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/shutdown.S b/libc/arch-mips/syscalls/shutdown.S
index f6e9979..71e6366 100644
--- a/libc/arch-mips/syscalls/shutdown.S
+++ b/libc/arch-mips/syscalls/shutdown.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(shutdown)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sigaltstack.S b/libc/arch-mips/syscalls/sigaltstack.S
index 6632164..b52c60a 100644
--- a/libc/arch-mips/syscalls/sigaltstack.S
+++ b/libc/arch-mips/syscalls/sigaltstack.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sigaltstack)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/socketpair.S b/libc/arch-mips/syscalls/socketpair.S
index 6257327..47223e1 100644
--- a/libc/arch-mips/syscalls/socketpair.S
+++ b/libc/arch-mips/syscalls/socketpair.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(socketpair)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/splice.S b/libc/arch-mips/syscalls/splice.S
index d344a6c..611a062 100644
--- a/libc/arch-mips/syscalls/splice.S
+++ b/libc/arch-mips/syscalls/splice.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(splice)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/swapoff.S b/libc/arch-mips/syscalls/swapoff.S
index 04b5b70..8b57068 100644
--- a/libc/arch-mips/syscalls/swapoff.S
+++ b/libc/arch-mips/syscalls/swapoff.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(swapoff)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/swapon.S b/libc/arch-mips/syscalls/swapon.S
index 1fe3698..ef3a537 100644
--- a/libc/arch-mips/syscalls/swapon.S
+++ b/libc/arch-mips/syscalls/swapon.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(swapon)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/symlinkat.S b/libc/arch-mips/syscalls/symlinkat.S
index 5bd6e6c..65971a9 100644
--- a/libc/arch-mips/syscalls/symlinkat.S
+++ b/libc/arch-mips/syscalls/symlinkat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(symlinkat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sync.S b/libc/arch-mips/syscalls/sync.S
index eb788f0..d62ae76 100644
--- a/libc/arch-mips/syscalls/sync.S
+++ b/libc/arch-mips/syscalls/sync.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sync)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/sysinfo.S b/libc/arch-mips/syscalls/sysinfo.S
index 7cdccb9..600e086 100644
--- a/libc/arch-mips/syscalls/sysinfo.S
+++ b/libc/arch-mips/syscalls/sysinfo.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(sysinfo)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/tee.S b/libc/arch-mips/syscalls/tee.S
index e51732d..90ec911 100644
--- a/libc/arch-mips/syscalls/tee.S
+++ b/libc/arch-mips/syscalls/tee.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(tee)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/tgkill.S b/libc/arch-mips/syscalls/tgkill.S
index 9938843..39a148b 100644
--- a/libc/arch-mips/syscalls/tgkill.S
+++ b/libc/arch-mips/syscalls/tgkill.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(tgkill)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/timerfd_create.S b/libc/arch-mips/syscalls/timerfd_create.S
index c42f4e1..b50903a 100644
--- a/libc/arch-mips/syscalls/timerfd_create.S
+++ b/libc/arch-mips/syscalls/timerfd_create.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(timerfd_create)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/timerfd_gettime.S b/libc/arch-mips/syscalls/timerfd_gettime.S
index 469d174..97d3045 100644
--- a/libc/arch-mips/syscalls/timerfd_gettime.S
+++ b/libc/arch-mips/syscalls/timerfd_gettime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(timerfd_gettime)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/timerfd_settime.S b/libc/arch-mips/syscalls/timerfd_settime.S
index c7c6f47..1e56f86 100644
--- a/libc/arch-mips/syscalls/timerfd_settime.S
+++ b/libc/arch-mips/syscalls/timerfd_settime.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(timerfd_settime)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/times.S b/libc/arch-mips/syscalls/times.S
index 157b34c..60904d1 100644
--- a/libc/arch-mips/syscalls/times.S
+++ b/libc/arch-mips/syscalls/times.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(times)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/truncate.S b/libc/arch-mips/syscalls/truncate.S
index 7fe4a0f..ec7bc49 100644
--- a/libc/arch-mips/syscalls/truncate.S
+++ b/libc/arch-mips/syscalls/truncate.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(truncate)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/truncate64.S b/libc/arch-mips/syscalls/truncate64.S
index 0911f5f..b6a0234 100644
--- a/libc/arch-mips/syscalls/truncate64.S
+++ b/libc/arch-mips/syscalls/truncate64.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(truncate64)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/umask.S b/libc/arch-mips/syscalls/umask.S
index 57a6aed..8f66e77 100644
--- a/libc/arch-mips/syscalls/umask.S
+++ b/libc/arch-mips/syscalls/umask.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(umask)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/umount2.S b/libc/arch-mips/syscalls/umount2.S
index bf8267d..58e31f3 100644
--- a/libc/arch-mips/syscalls/umount2.S
+++ b/libc/arch-mips/syscalls/umount2.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(umount2)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/uname.S b/libc/arch-mips/syscalls/uname.S
index ce77bd5..401d139 100644
--- a/libc/arch-mips/syscalls/uname.S
+++ b/libc/arch-mips/syscalls/uname.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(uname)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/unlinkat.S b/libc/arch-mips/syscalls/unlinkat.S
index 82e584b..b6e849d 100644
--- a/libc/arch-mips/syscalls/unlinkat.S
+++ b/libc/arch-mips/syscalls/unlinkat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(unlinkat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/unshare.S b/libc/arch-mips/syscalls/unshare.S
index 0521f30..5262832 100644
--- a/libc/arch-mips/syscalls/unshare.S
+++ b/libc/arch-mips/syscalls/unshare.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(unshare)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/utimensat.S b/libc/arch-mips/syscalls/utimensat.S
index 208ef58..9ecb5c0 100644
--- a/libc/arch-mips/syscalls/utimensat.S
+++ b/libc/arch-mips/syscalls/utimensat.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(utimensat)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/vmsplice.S b/libc/arch-mips/syscalls/vmsplice.S
index 24da515..5ad23a6 100644
--- a/libc/arch-mips/syscalls/vmsplice.S
+++ b/libc/arch-mips/syscalls/vmsplice.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(vmsplice)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/wait4.S b/libc/arch-mips/syscalls/wait4.S
index ec6bd84..8f8d879 100644
--- a/libc/arch-mips/syscalls/wait4.S
+++ b/libc/arch-mips/syscalls/wait4.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(wait4)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/write.S b/libc/arch-mips/syscalls/write.S
index d10e55a..3e37919 100644
--- a/libc/arch-mips/syscalls/write.S
+++ b/libc/arch-mips/syscalls/write.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(write)
.set noreorder
.cpload t9
diff --git a/libc/arch-mips/syscalls/writev.S b/libc/arch-mips/syscalls/writev.S
index 0a2c033..72ea2f2 100644
--- a/libc/arch-mips/syscalls/writev.S
+++ b/libc/arch-mips/syscalls/writev.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(writev)
.set noreorder
.cpload t9