diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 16 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/apuinfo-nul.s | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/apuinfo.rd | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-powerpc/powerpc.exp | 2 |
4 files changed, 23 insertions, 6 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index e3d20bf..e7c7f64 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,10 +1,16 @@ +2010-02-08 Nathan Sidwell <nathan@codesourcery.com> + + * ld-powerpc/apuinfo-nul.s: New. + * ld-powerpc/apuinfo.rd: Add it. + * ld-powerpc/powerpc.exp: Likewise. + 2010-02-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> - * ld-arm/jump-reloc-veneers-long.d: New test. - * ld-arm/jump-reloc-veneers-short1.d: Likewise. - * ld-arm/jump-reloc-veneers-short2.d: Likewise. - * ld-arm/jump-reloc-veneers.s: Likewise. - * ld-arm/arm-elf.exp (armelftests): Run them. + * ld-arm/jump-reloc-veneers-long.d: New test. + * ld-arm/jump-reloc-veneers-short1.d: Likewise. + * ld-arm/jump-reloc-veneers-short2.d: Likewise. + * ld-arm/jump-reloc-veneers.s: Likewise. + * ld-arm/arm-elf.exp (armelftests): Run them. 2010-01-28 Nick Clifton <nickc@redhat.com> diff --git a/ld/testsuite/ld-powerpc/apuinfo-nul.s b/ld/testsuite/ld-powerpc/apuinfo-nul.s new file mode 100644 index 0000000..6b17142 --- /dev/null +++ b/ld/testsuite/ld-powerpc/apuinfo-nul.s @@ -0,0 +1,10 @@ + .text + nop + + # dummy empty apuinfo + # some other tools emit these + .section ".PPC.EMB.apuinfo" + .long 8 + .long 0 + .long 2 + .asciz "APUinfo" diff --git a/ld/testsuite/ld-powerpc/apuinfo.rd b/ld/testsuite/ld-powerpc/apuinfo.rd index e6321cd..7a27bc0 100644 --- a/ld/testsuite/ld-powerpc/apuinfo.rd +++ b/ld/testsuite/ld-powerpc/apuinfo.rd @@ -1,5 +1,6 @@ #source: apuinfo1.s #source: apuinfo2.s +#source: apuinfo-nul.s #as: -me500 #readelf: -x2 #target: powerpc-eabi* diff --git a/ld/testsuite/ld-powerpc/powerpc.exp b/ld/testsuite/ld-powerpc/powerpc.exp index fce9664..4c0038a 100644 --- a/ld/testsuite/ld-powerpc/powerpc.exp +++ b/ld/testsuite/ld-powerpc/powerpc.exp @@ -101,7 +101,7 @@ set ppcelftests { {"Reloc section order" "-melf32ppc -shared -z nocombreloc" "-a32" {reloc.s} {{objdump -hw reloc.d}} "reloc.so"} {"APUinfo section processing" "-melf32ppc" - "-a32 -me500" {apuinfo1.s apuinfo2.s} + "-a32 -me500" {apuinfo1.s apuinfo-nul.s apuinfo2.s} {{readelf -x2 apuinfo.rd}} "apuinfo"} {"TLS32 static exec" "-melf32ppc" "-a32" {tls32.s tlslib32.s} {{objdump -dr tls32.d} {objdump -sj.got tls32.g} |