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
This commit is contained in:
@@ -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'
|
||||
|
||||
|
Reference in New Issue
Block a user