sync with glibc and kill dead code to fix issues found by the nftw ltp tests
sync with glibc and kill dead code to fix issues found by the nftw ltp tests

joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc