summaryrefslogtreecommitdiffstats
path: root/libc/tools
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-10-24 22:36:58 -0700
committerElliott Hughes <enh@google.com>2013-10-24 22:41:50 -0700
commit6b53c2349a5a3fc70a475de6a66131b615e88e48 (patch)
tree3e06ca4bee68b07b1ea57cb564fed82333e997be /libc/tools
parentbbefbf1a75052e4c887309299fb4532705aa843d (diff)
downloadbionic-6b53c2349a5a3fc70a475de6a66131b615e88e48.zip
bionic-6b53c2349a5a3fc70a475de6a66131b615e88e48.tar.gz
bionic-6b53c2349a5a3fc70a475de6a66131b615e88e48.tar.bz2
Fix the exit syscall stub's name.
I've left the exit_group syscall as _exit because otherwise we'd have to convince the compiler that our _exit (which just calls __exit_group) is actually "noreturn", and it seems like that would be less clean than just cutting out the middleman. We'll just have to trust ourselves not to add anything to SYSCALLS.TXT that ought to be private but that only has a single leading underscore. Hopefully we can manage that. Change-Id: Iac47faea9f516186e1774381846c54cafabc4354
Diffstat (limited to 'libc/tools')
-rwxr-xr-xlibc/tools/gensyscalls.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py
index 578605d..5595cd7 100755
--- a/libc/tools/gensyscalls.py
+++ b/libc/tools/gensyscalls.py
@@ -240,7 +240,6 @@ def add_footer(pointer_length, stub, syscall):
stub += function_alias % { "func" : syscall["func"], "alias" : alias }
# Use hidden visibility for any functions beginning with underscores.
- # TODO: clean up single-underscore names too.
if pointer_length == 64 and syscall["func"].startswith("__"):
stub += '.hidden _C_LABEL(' + syscall["func"] + ')\n'