aboutsummaryrefslogtreecommitdiffstats
path: root/libc/tools/gensyscalls.py
diff options
context:
space:
mode:
Diffstat (limited to 'libc/tools/gensyscalls.py')
-rwxr-xr-xlibc/tools/gensyscalls.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py
index 96583d69d..316e05b03 100755
--- a/libc/tools/gensyscalls.py
+++ b/libc/tools/gensyscalls.py
@@ -43,6 +43,8 @@ syscall_stub_header = "/* " + warning + " */\n" + \
"""
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(%(func)s)
"""