diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 17:58:08 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 17:58:24 -0700 |
commit | bde06c87b7de97b5cd4721414b11af6e0d09187e (patch) | |
tree | 269c7681b717a8b597d21e509899144450e637b5 /stdlib | |
parent | fa4265909edaa5118f7860f452e2fb9da48d0f6e (diff) | |
download | glibc-bde06c87b7de97b5cd4721414b11af6e0d09187e.zip glibc-bde06c87b7de97b5cd4721414b11af6e0d09187e.tar.gz glibc-bde06c87b7de97b5cd4721414b11af6e0d09187e.tar.bz2 |
Hide internal __new_exitfn function [BZ #18822]
Hide internal __new_exitfn function to allow direct access within libc.so
and libc.a without using GOT nor PLT.
[BZ #18822]
* stdlib/exit.h (__new_exitfn): Add attribute_hidden.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/exit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/exit.h b/stdlib/exit.h index dbf9f2d..eea5072 100644 --- a/stdlib/exit.h +++ b/stdlib/exit.h @@ -77,8 +77,8 @@ extern bool __exit_funcs_done attribute_hidden; __libc_lock_define (extern, __exit_funcs_lock); -extern struct exit_function *__new_exitfn (struct exit_function_list **listp); - +extern struct exit_function *__new_exitfn (struct exit_function_list **listp) + attribute_hidden; extern void __run_exit_handlers (int status, struct exit_function_list **listp, |