summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/syscalls/__reboot.S
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-arm64/syscalls/__reboot.S
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-arm64/syscalls/__reboot.S')
-rw-r--r--libc/arch-arm64/syscalls/__reboot.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/arch-arm64/syscalls/__reboot.S b/libc/arch-arm64/syscalls/__reboot.S
index e24553c..04b18c9 100644
--- a/libc/arch-arm64/syscalls/__reboot.S
+++ b/libc/arch-arm64/syscalls/__reboot.S
@@ -2,6 +2,8 @@
#include <private/bionic_asm.h>
+ .hidden __set_errno
+
ENTRY(__reboot)
mov x8, __NR_reboot
svc #0