summaryrefslogtreecommitdiffstats
path: root/libc/tools
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/tools
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/tools')
-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 42f2c91..4619ec6 100755
--- a/libc/tools/gensyscalls.py
+++ b/libc/tools/gensyscalls.py
@@ -48,6 +48,8 @@ syscall_stub_header = "/* " + warning + " */\n" + \
"""
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(%(func)s)
"""