mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
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.
This commit is contained in:
parent
a17973efc6
commit
d6bd839b9a
@ -1,3 +1,9 @@
|
||||
2017-06-09 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
|
||||
|
||||
* include/sys/auxv.h (__getauxval): Add a prototype and its
|
||||
libc_hidden_proto.
|
||||
* misc/getauxval.c (__getauxval): Use libc_hidden_def.
|
||||
|
||||
2017-06-09 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #21561]
|
||||
|
@ -1 +1,8 @@
|
||||
#include <misc/sys/auxv.h>
|
||||
|
||||
#ifndef _ISOMAC
|
||||
|
||||
extern __typeof (getauxval) __getauxval;
|
||||
libc_hidden_proto (__getauxval)
|
||||
|
||||
#endif /* !_ISOMAC */
|
||||
|
@ -43,3 +43,4 @@ __getauxval (unsigned long int type)
|
||||
}
|
||||
|
||||
weak_alias (__getauxval, getauxval)
|
||||
libc_hidden_def (__getauxval)
|
||||
|
Loading…
Reference in New Issue
Block a user