RFC: Automatically test IFUNC implementations

Richard Henderson rth@twiddle.net
Thu Sep 27 22:21:00 GMT 2012


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~



More information about the Libc-alpha mailing list