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: RFC: Automatically test IFUNC implementations


On 09/27/2012 01:40 PM, H.J. Lu wrote:
> How about this?
> 
> /* Return the array, terminated by a struct of 2 NULLs, of IFUNC
>    implementations for function NAME supported on target machine.
>    Return NULL if no IFUNC implementation is available.  */
> extern struct libc_func_test *__libc_func (const char *name);
> 
> I will add it to  __libc_func prototype and all implementations.

I thought we'd discussed returning a count from __libc_func,
and the (static) array provided by the test program.

Certainly that's going to be less dead bss space in libc.so.


r~


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