diff options
Diffstat (limited to 'libc/tools/gensyscalls.py')
-rwxr-xr-x | libc/tools/gensyscalls.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/tools/gensyscalls.py b/libc/tools/gensyscalls.py index b307486d5..0f3f1dc15 100755 --- a/libc/tools/gensyscalls.py +++ b/libc/tools/gensyscalls.py @@ -265,8 +265,7 @@ def add_footer(pointer_length, stub, syscall): 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 - if (pointer_length == 64 and syscall["func"].startswith("__")) or syscall["func"].startswith("___"): + if pointer_length == 64 and syscall["func"].startswith("__"): stub += '.hidden ' + syscall["func"] + '\n' return stub |