diff options
author | Nick Clifton <nickc@redhat.com> | 2020-07-20 14:57:38 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-07-20 14:57:38 +0100 |
commit | 39326c35dd8f1a154cfe15ca640d73873f2df572 (patch) | |
tree | bac53fe8339e7aa8e3fb9161563ad044595e0731 /ld | |
parent | 2f5541f384babda4aef3d6c8011a6d15af78e0a3 (diff) | |
download | gdb-39326c35dd8f1a154cfe15ca640d73873f2df572.zip gdb-39326c35dd8f1a154cfe15ca640d73873f2df572.tar.gz gdb-39326c35dd8f1a154cfe15ca640d73873f2df572.tar.bz2 |
Fix problem running a few PowerPC linker tests when the .data section is retained.
* testsuite/ld-powerpc/powerpc.exp (ppcelftests): Use section name
.PPC.EMB.apuinfo instead of section number 2 in apuinfo tests.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/powerpc.exp | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 13c25fa..c495128 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2020-07-20 Nick Clifton <nickc@redhat.com> + + * testsuite/ld-powerpc/powerpc.exp (ppcelftests): Use section name + .PPC.EMB.apuinfo instead of section number 2 in apuinfo tests. + 2020-07-20 Alan Modra <amodra@gmail.com> PR 26265 diff --git a/ld/testsuite/ld-powerpc/powerpc.exp b/ld/testsuite/ld-powerpc/powerpc.exp index bd269a2..9b1ee13 100644 --- a/ld/testsuite/ld-powerpc/powerpc.exp +++ b/ld/testsuite/ld-powerpc/powerpc.exp @@ -103,13 +103,13 @@ set ppcelftests { {{objdump -hw reloc.d}} "reloc.so"} {"APUinfo section processing" "-melf32ppc" "" "-a32 -me500" {apuinfo1.s apuinfo-nul.s apuinfo2.s} - {{readelf -x2 apuinfo.rd}} "apuinfo"} + {{readelf -x.PPC.EMB.apuinfo apuinfo.rd}} "apuinfo"} {"APUinfo VLE section processing" "-melf32ppc" "" "-a32 -me500 -mvle" {apuinfo1.s apuinfo-vle.s apuinfo-vle2.s} - {{readelf -x2 apuinfo-vle.rd}} "apuinfo-vle"} + {{readelf -x.PPC.EMB.apuinfo apuinfo-vle.rd}} "apuinfo-vle"} {"APUinfo NULL section processing" "-melf32ppc" "" "-a32 -me500" {apuinfo-nul1.s apuinfo-nul.s} - {{readelf -x2 apuinfo-nul.rd}} "apuinfo"} + {{readelf -x.PPC.EMB.apuinfo apuinfo-nul.rd}} "apuinfo"} {"TLS32 static exec (markers)" "-melf32ppc" "" "-a32 --defsym TLSMARK=1" {tls32.s tlslib32.s} {{objdump -dr tls32.d} {objdump -sj.got tls32.g} |