[PATCH] Add a way to bypass the PLT when calling getauxval

Tulio Magno Quites Machado Filho tuliom@linux.vnet.ibm.com
Wed May 24 21:43:00 GMT 2017


Joseph Myers <joseph@codesourcery.com> writes:

> On Wed, 24 May 2017, Tulio Magno Quites Machado Filho wrote:
>
>> Add __libc_getauxval as an internal libc symbol allowing internal libc
>> calls to bypass the PLT.
>
> Why add this alias instead of simply doing libc_hidden_proto (__getauxval) 
> / libc_hidden_def (__getauxval)?

Because I made a wrong assumption about those macros.
I'll fix my patch and re-submit.

Thanks!

-- 
Tulio Magno



More information about the Libc-alpha mailing list