aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-07-20 14:57:38 +0100
committerNick Clifton <nickc@redhat.com>2020-07-20 14:57:38 +0100
commit39326c35dd8f1a154cfe15ca640d73873f2df572 (patch)
treebac53fe8339e7aa8e3fb9161563ad044595e0731 /ld/testsuite
parent2f5541f384babda4aef3d6c8011a6d15af78e0a3 (diff)
downloadgdb-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/testsuite')
-rw-r--r--ld/testsuite/ld-powerpc/powerpc.exp6
1 files changed, 3 insertions, 3 deletions
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}