Revert part of commit 32ec8896025
authorAlan Modra <amodra@gmail.com>
Fri, 21 Sep 2018 03:16:03 +0000 (12:46 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 21 Sep 2018 23:16:20 +0000 (08:46 +0930)
commitdfc616fa26e8ee363a6dbf748dd9490896679412
tree89cb9e4253312704521c6e4c8ced77e76dd03b63
parentf24ff6e9b5adc7983c3ad7cf28375eb49921b3ed
Revert part of commit 32ec8896025

echo "__thread char *p;" | gcc -c -g -xc - -o thread.o
With current powerpc64le-linux-gcc has this reloc in .debug_info
0000000000000025 0000000d0000004e R_PPC64_DTPREL64 0000000000000000 p + 8000

That stops me looking at .debug_info.
~/build/gas-virgin/powerpc64le-linux/binutils/readelf -wi thread.o
readelf: Warning: unable to apply unsupported reloc type 78 to section .debug_info
Older readelf continued on after the warning, dumping .debug_info.

* readelf.c (apply_relocations): Don't return FALSE for warnings.
binutils/ChangeLog
binutils/readelf.c