diff options
author | Christopher Ferris <cferris@google.com> | 2015-03-24 16:50:46 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2015-03-24 21:08:26 -0700 |
commit | fa5faa0ce6deba5ad9c96fe5cf74e63e4a6edfb3 (patch) | |
tree | 546a5eff515f97537cae2cbec5d99c68ee85844b /libc/tools | |
parent | ee4997ecc3daeb9af110d932ddb27f969cc7271a (diff) | |
download | bionic-fa5faa0ce6deba5ad9c96fe5cf74e63e4a6edfb3.zip bionic-fa5faa0ce6deba5ad9c96fe5cf74e63e4a6edfb3.tar.gz bionic-fa5faa0ce6deba5ad9c96fe5cf74e63e4a6edfb3.tar.bz2 |
Make gensyscalls.py use the ALIAS_SYMBOL macro.
Change-Id: Ib94c0abb6fc85126ecc5ed3f1962b2b8b90b9952
Diffstat (limited to 'libc/tools')
-rwxr-xr-x | libc/tools/gensyscalls.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py index 7e11418..4d0afe2 100755 --- a/libc/tools/gensyscalls.py +++ b/libc/tools/gensyscalls.py @@ -56,12 +56,6 @@ ENTRY(%(func)s) """ -function_alias = """ - .globl %(alias)s - .equ %(alias)s, %(func)s -""" - - # # ARM assembler templates for each syscall stub # @@ -284,7 +278,7 @@ def add_footer(pointer_length, stub, syscall): # Add any aliases for this syscall. aliases = syscall["aliases"] for alias in aliases: - stub += function_alias % { "func" : syscall["func"], "alias" : alias } + stub += "\nALIAS_SYMBOL(%s, %s)\n" % (alias, syscall["func"]) # Use hidden visibility on LP64 for any functions beginning with underscores. # Force hidden visibility for any functions which begin with 3 underscores |