PATCH: Check GLIBC_IFUNC to enable/disable ifunc features

Szabolcs Nagy szabolcs.nagy@arm.com
Thu Jun 30 17:24:00 GMT 2016


On 30/06/16 17:21, H.J. Lu wrote:
> +	    /* Can't use strlen because it may trigger an ifunc resolve
> +	       loop.  */
> +	    for (; *end != '\0'; end++);

the compiler can optimize this into a strlen call.

but e.g. -ffreestanding can solve that
(i wonder why glibc does not use that already
at least for early startup code).



More information about the Libc-alpha mailing list