[PATCHv2] Add a way to bypass the PLT when calling getauxval
Tulio Magno Quites Machado Filho
tuliom@linux.vnet.ibm.com
Fri Jun 9 15:01:00 GMT 2017
Florian Weimer <fweimer@redhat.com> writes:
> "Tulio Magno Quites Machado Filho" <tuliom@linux.vnet.ibm.com> writes:
>
>> +extern __typeof(getauxval) __getauxval;
>
> Missing space before paren.
Fixed locally.
>> 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)
>
> Looks good.
I'll push this patch with the fix.
Thanks!
--
Tulio Magno
More information about the Libc-alpha
mailing list