mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Hide internal __malloc_check_init function [BZ #18822]
Hide internal __malloc_check_init function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/malloc.h (__malloc_check_init): Add attribute_hidden.
This commit is contained in:
parent
9e5ee8b839
commit
372fe247b1
@ -1,3 +1,8 @@
|
||||
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
[BZ #18822]
|
||||
* include/malloc.h (__malloc_check_init): Add attribute_hidden.
|
||||
|
||||
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
[BZ #18822]
|
||||
|
@ -9,6 +9,8 @@
|
||||
/* Nonzero if the malloc is already initialized. */
|
||||
extern int __malloc_initialized attribute_hidden;
|
||||
|
||||
extern __typeof (__malloc_check_init) __malloc_check_init attribute_hidden;
|
||||
|
||||
struct malloc_state;
|
||||
typedef struct malloc_state *mstate;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user