aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-powerpc/powerpc.exp
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2010-02-08 07:09:39 +0000
committerNathan Sidwell <nathan@codesourcery.com>2010-02-08 07:09:39 +0000
commitdeddc40bec6db30c02fa73f1e83619bc62c87196 (patch)
tree9046011bbb73a01b5633dfd5d5ae80ea9fe829b1 /ld/testsuite/ld-powerpc/powerpc.exp
parent46763423272ad989de7cec67954f0c083f0eb82b (diff)
downloadgdb-deddc40bec6db30c02fa73f1e83619bc62c87196.zip
gdb-deddc40bec6db30c02fa73f1e83619bc62c87196.tar.gz
gdb-deddc40bec6db30c02fa73f1e83619bc62c87196.tar.bz2
bfd/
* elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty apuinfo sections, only scan input sections once and reuse the buffer. ld/testsuite/ * ld-powerpc/apuinfo-nul.s: New. * ld-powerpc/apuinfo.rd: Add it. * ld-powerpc/powerpc.exp: Likewise.
Diffstat (limited to 'ld/testsuite/ld-powerpc/powerpc.exp')
-rw-r--r--ld/testsuite/ld-powerpc/powerpc.exp2
1 files changed, 1 insertions, 1 deletions
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}