Description of problem: The current rawhide build (in progress, 2.17.90-1.fc20) has an extra PLT reference in libc.so: =====/builddir/build/BUILD/glibc-2.17-757-g96df079/build-x86_64-redhat-linux/elf/check-localplt.out===== Extra PLT reference: libc.so: memset Version-Release number of selected component (if applicable): glibc-2.17.90-1.fc20 How Reproducible: Always Steps to Reproduce: See build log.
binutils is getting the symbol name wrong somehow, but the breakage is real. The extra PLT is for __GI___gettimeofday, not memset. the F17 version of binutils also got the name wrong as malloc, but since malloc is excluded from the extra PLT check, this failure went unnoticed. There's no point in avoiding a PLT for __gettimeofday and for similar reasons, the hidden definition is also useless. Any overhead added to avoid the PLT would be more expensive that the additional PLT. I'm considering removing those bits and adding a direct call to __gettimeofday.