From dfc616fa26e8ee363a6dbf748dd9490896679412 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 21 Sep 2018 12:46:03 +0930 Subject: 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 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'binutils/ChangeLog') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d8e7f49..ce53269 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2018-09-22 Alan Modra + + * readelf.c (apply_relocations): Don't return FALSE for warnings. + 2018-09-20 Nelson Chu * testsuite/binutils-all/objcopy.exp: Set the unsupported reloc number -- cgit v1.1