This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 3/6] Add getauxval.


On 03/17/2012 03:43 PM, David Miller wrote:
> From: Richard Henderson <rth@twiddle.net>
> Date: Sat, 17 Mar 2012 10:06:32 -0700
> 
>> 	* misc/getauxval.c: New file.
>> 	* misc/Makefile (routines): Add it.
>> 	* misc/Versions (GLIBC_2.16): Export it.
>> 	* misc/sysv/auxv.h (getauxval): Declare.
>> 	* elf/dl-support.c (_dl_auxv): New variable.
>> 	(_dl_aux_init): Initialize it.
> 
> If you provide this then you could use only getauxval() in libgcc
> and therefore have code that works on Solaris too.

Works with the non-existant Solaris ifunc's?


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]