This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCHv2] Add a way to bypass the PLT when calling getauxval
- From: "Tulio Magno Quites Machado Filho" <tuliom at linux dot vnet dot ibm dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org, pc at us dot ibm dot com, joseph at codesourcery dot com
- Cc:
- Date: Fri, 09 Jun 2017 11:59:17 -0300
- Subject: Re: [PATCHv2] Add a way to bypass the PLT when calling getauxval
- Authentication-results: sourceware.org; auth=none
- References: <alpine.DEB.2.20.1705241951001.9182@digraph.polyomino.org.uk> <1495742765-1722-1-git-send-email-tuliom@linux.vnet.ibm.com> <87y3t1i8ul.fsf@oldenburg.str.redhat.com>
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