mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
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.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
[BZ #18822]
|
||||||
|
* stdlib/exit.h (__new_exitfn): Add attribute_hidden.
|
||||||
|
|
||||||
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
[BZ #18822]
|
[BZ #18822]
|
||||||
|
@ -77,8 +77,8 @@ extern bool __exit_funcs_done attribute_hidden;
|
|||||||
__libc_lock_define (extern, __exit_funcs_lock);
|
__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,
|
extern void __run_exit_handlers (int status,
|
||||||
struct exit_function_list **listp,
|
struct exit_function_list **listp,
|
||||||
|
Reference in New Issue
Block a user