diff options
author | Alan Modra <amodra@gmail.com> | 2020-07-03 15:29:13 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-07-03 17:15:16 +0930 |
commit | b657622c3ecd810064f17f279b0a56648b4dc2d6 (patch) | |
tree | 084f31e5e3f95a98c8a77d717205865bace3c6b0 /gold | |
parent | 6d2f9adc6709572e9ef70f11961819e27b918568 (diff) | |
download | gdb-b657622c3ecd810064f17f279b0a56648b4dc2d6.zip gdb-b657622c3ecd810064f17f279b0a56648b4dc2d6.tar.gz gdb-b657622c3ecd810064f17f279b0a56648b4dc2d6.tar.bz2 |
Re: Change readelf's display of symbol names
Fixes some fallout from git commit 0942c7ab94e5.
PR 26028
gas/
* testsuite/gas/ia64/unwind-ilp32.d: Add -T to readelf options.
gold/
* testsuite/Makefile.am (file_in_many_sections.stdout): Add -W
to readelf options.
* testsuite/Makefile.in: Regenerate.
ld/
* testsuite/ld-arm/arm-elf.exp (vxworks1): Pass --wide to readelf
when dumping relocs.
* testsuite/ld-i386/i386.exp (vxworks1): Likewise.
* testsuite/ld-sh/sh-vxworks.exp (vxworks1): Likewise.
* testsuite/ld-sparc/sparc.exp (vxworks1): Likewise.
* testsuite/ld-arm/vxworks1.rd: Adjust to suit.
* testsuite/ld-i386/vxworks1.rd: Adjust.
* testsuite/ld-sh/vxworks1.rd: Adjust.
* testsuite/ld-sparc/vxworks1.rd: Adjust.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 7 | ||||
-rw-r--r-- | gold/testsuite/Makefile.am | 2 | ||||
-rw-r--r-- | gold/testsuite/Makefile.in | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 9e06ff8..ca99f13 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,10 @@ +2020-07-03 Alan Modra <amodra@gmail.com> + + PR 26028 + * testsuite/Makefile.am (file_in_many_sections.stdout): Add -W + to readelf options. + * testsuite/Makefile.in: Regenerate. + 2020-06-26 Nick Alcock <nick.alcock@oracle.com> * configure.ac: Check for bswap_16, bswap_32, and bswap_64 decls. diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index ccbe47f..0644e23 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -1479,7 +1479,7 @@ file_in_many_sections.o: file_in_many_sections.c many_sections_define.h file_in_many_sections: file_in_many_sections.o gcctestdir/ld $(LINK) file_in_many_sections.o -Wl,--gc-sections file_in_many_sections.stdout: file_in_many_sections - $(TEST_READELF) -s $< > $@ + $(TEST_READELF) -sW $< > $@ check_PROGRAMS += initpri1 initpri1_SOURCES = initpri1.c diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in index 7dc2853..dfcafcd 100644 --- a/gold/testsuite/Makefile.in +++ b/gold/testsuite/Makefile.in @@ -8521,7 +8521,7 @@ uninstall-am: @GCC_TRUE@@NATIVE_LINKER_TRUE@file_in_many_sections: file_in_many_sections.o gcctestdir/ld @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(LINK) file_in_many_sections.o -Wl,--gc-sections @GCC_TRUE@@NATIVE_LINKER_TRUE@file_in_many_sections.stdout: file_in_many_sections -@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_READELF) -s $< > $@ +@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_READELF) -sW $< > $@ @GCC_TRUE@@NATIVE_LINKER_TRUE@debug_msg.o: debug_msg.cc @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -O0 -g -c -w -o $@ $(srcdir)/debug_msg.cc @GCC_TRUE@@NATIVE_LINKER_TRUE@odr_violation1.o: odr_violation1.cc |