From d6bd839b9acfe619afa1db67a2882c0ce839861f Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Fri, 9 Jun 2017 14:36:22 -0300 Subject: 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. --- misc/getauxval.c | 1 + 1 file changed, 1 insertion(+) (limited to 'misc') diff --git a/misc/getauxval.c b/misc/getauxval.c index c83fbce..14f4298 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) -- cgit v1.1