From 39326c35dd8f1a154cfe15ca640d73873f2df572 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 20 Jul 2020 14:57:38 +0100 Subject: 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. --- ld/ChangeLog | 5 +++++ ld/testsuite/ld-powerpc/powerpc.exp | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'ld') 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 + + * 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 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} -- cgit v1.1