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).