From: Nick Clifton Date: Mon, 20 Jul 2020 13:59:39 +0000 (+0100) Subject: Fix a problem with a few PowerPC linker tests when the .data section is retained. X-Git-Tag: binutils-2_35~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=866fe07d8d12d6a58ad0238e6a09e9673c0e636a;p=thirdparty%2Fbinutils-gdb.git Fix a problem with 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. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index c7afa66cc5d..047c5780d4e 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 H.J. Lu PR gas/26263 diff --git a/ld/testsuite/ld-powerpc/powerpc.exp b/ld/testsuite/ld-powerpc/powerpc.exp index bce99ef3c32..c63b5a832eb 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}