diff options
author | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2017-06-09 14:36:22 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2017-06-09 14:36:22 -0300 |
commit | d6bd839b9acfe619afa1db67a2882c0ce839861f (patch) | |
tree | 1235cd3296065015102bc69f8427e7f4a1c7d82d /misc/getauxval.c | |
parent | a17973efc647439757388bcbee74d73c550af0e1 (diff) | |
download | glibc-d6bd839b9acfe619afa1db67a2882c0ce839861f.tar.gz glibc-d6bd839b9acfe619afa1db67a2882c0ce839861f.tar.xz glibc-d6bd839b9acfe619afa1db67a2882c0ce839861f.zip |
Add a way to bypass the PLT when calling getauxval
* include/sys/auxv.h (__getauxval): Add a prototype and its libc_hidden_proto. * misc/getauxval.c (__getauxval): Use libc_hidden_def.
Diffstat (limited to 'misc/getauxval.c')
-rw-r--r-- | misc/getauxval.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/getauxval.c b/misc/getauxval.c index c83fbce054..14f42982a2 100644 --- a/misc/getauxval.c +++ b/misc/getauxval.c @@ -43,3 +43,4 @@ __getauxval (unsigned long int type) } weak_alias (__getauxval, getauxval) +libc_hidden_def (__getauxval) |