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 /ld/testsuite/ld-i386 | |
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 'ld/testsuite/ld-i386')
-rw-r--r-- | ld/testsuite/ld-i386/i386.exp | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-i386/vxworks1.rd | 28 |
2 files changed, 15 insertions, 15 deletions
diff --git a/ld/testsuite/ld-i386/i386.exp b/ld/testsuite/ld-i386/i386.exp index 27ad169..e51981a 100644 --- a/ld/testsuite/ld-i386/i386.exp +++ b/ld/testsuite/ld-i386/i386.exp @@ -39,7 +39,7 @@ if {[istarget "i?86-*-vxworks"]} { {"VxWorks executable test 1 (dynamic)" \ "tmpdir/libvxworks1.so -Tvxworks1.ld --hash-style=sysv -q --force-dynamic" "" "" {vxworks1.s} - {{readelf --relocs vxworks1.rd} {objdump -dr vxworks1.dd}} + {{readelf {--relocs --wide} vxworks1.rd} {objdump -dr vxworks1.dd}} "vxworks1"} {"VxWorks executable test 2 (dynamic)" \ "-Tvxworks1.ld --hash-style=sysv -q --force-dynamic" "" diff --git a/ld/testsuite/ld-i386/vxworks1.rd b/ld/testsuite/ld-i386/vxworks1.rd index 9fd7383..778ab7a 100644 --- a/ld/testsuite/ld-i386/vxworks1.rd +++ b/ld/testsuite/ld-i386/vxworks1.rd @@ -1,20 +1,20 @@ Relocation section '\.rel\.plt' at offset .* contains 2 entries: - Offset Info Type Sym\.Value Sym\. Name -0008140c .*07 R_386_JUMP_SLOT 00000000 sglobal -00081410 .*07 R_386_JUMP_SLOT 00000000 foo + Offset +Info +Type +Sym.* +0008140c +.*07 R_386_JUMP_SLOT +00000000 +sglobal +00081410 +.*07 R_386_JUMP_SLOT +00000000 +foo Relocation section '\.rel\.text' at offset .* contains 3 entries: - Offset Info Type Sym.Value Sym. Name -00080c01 .*04 R_386_PLT32 00080800 .plt -00080c06 .*04 R_386_PLT32 00080c0f sexternal -00080c0b .*04 R_386_PLT32 00080800 .plt + Offset +Info +Type +Sym.* +00080c01 +.*04 R_386_PLT32 +00080800 +.plt +00080c06 +.*04 R_386_PLT32 +00080c0f +sexternal +00080c0b +.*04 R_386_PLT32 +00080800 +.plt Relocation section '\.rel\.plt\.unloaded' at offset .* contains 6 entries: - Offset Info Type Sym\.Value Sym\. Name -00080802 .*01 R_386_32 00081400 _GLOBAL_OFFSET_TABLE_ -00080808 .*01 R_386_32 00081400 _GLOBAL_OFFSET_TABLE_ -00080812 .*01 R_386_32 00081400 _GLOBAL_OFFSET_TABLE_ -0008140c .*01 R_386_32 00080800 _PROCEDURE_LINKAGE_TAB.* -00080822 .*01 R_386_32 00081400 _GLOBAL_OFFSET_TABLE_ -00081410 .*01 R_386_32 00080800 _PROCEDURE_LINKAGE_TAB.* + Offset +Info +Type +Sym.* +00080802 +.*01 R_386_32 +00081400 +_GLOBAL_OFFSET_TABLE_ +00080808 +.*01 R_386_32 +00081400 +_GLOBAL_OFFSET_TABLE_ +00080812 +.*01 R_386_32 +00081400 +_GLOBAL_OFFSET_TABLE_ +0008140c +.*01 R_386_32 +00080800 +_PROCEDURE_LINKAGE_TABLE_ +00080822 +.*01 R_386_32 +00081400 +_GLOBAL_OFFSET_TABLE_ +00081410 +.*01 R_386_32 +00080800 +_PROCEDURE_LINKAGE_TABLE_ |