diff options
author | Richard Henderson <rth@redhat.com> | 2011-03-30 17:41:36 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2011-03-30 17:41:36 +0000 |
commit | 991cda6c972e92d3a14fdccc6bfa2d23d646c69a (patch) | |
tree | fc7f0fff1b81ec0667cff874c1e3f3b69408aa75 /ld | |
parent | 877c169de7ff0b777dc72f1881b003b967c6553c (diff) | |
download | gdb-991cda6c972e92d3a14fdccc6bfa2d23d646c69a.zip gdb-991cda6c972e92d3a14fdccc6bfa2d23d646c69a.tar.gz gdb-991cda6c972e92d3a14fdccc6bfa2d23d646c69a.tar.bz2 |
* ld-elf/elf.exp: Force 32-bit start address for alpha.
* ld-elf/group8a.d: Don't disable for alpha.
* ld-elf/group8b.d: Likewise.
* ld-gc/start.s: Use .dc.a instead of .long.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/elf.exp | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/group8a.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/group8b.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-gc/start.s | 2 |
5 files changed, 16 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 6a824e3..f90788f 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2011-03-30 Richard Henderson <rth@redhat.com> + + * ld-elf/elf.exp: Force 32-bit start address for alpha. + * ld-elf/group8a.d: Don't disable for alpha. + * ld-elf/group8b.d: Likewise. + * ld-gc/start.s: Use .dc.a instead of .long. + 2011-03-24 Alan Modra <amodra@gmail.com> * ld-powerpc/tlsmark.s: Delete non-optimizable section. diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index 0cf63c1..73a417c 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -29,6 +29,12 @@ set old_ldflags $LDFLAGS if { [istarget spu*-*-*] } { set LDFLAGS "$LDFLAGS --local-store 0:0" } +if { [istarget alpha*-*-* ] } { + # The compress1 test is written expecting 32-bit addresses; force the + # executable down into the low address space to match. + # ??? How can we adjust just the one testcase? + set LDFLAGS "$LDFLAGS -Ttext-segment 0x1000000" +} if { [is_remote host] } then { remote_download host merge.ld diff --git a/ld/testsuite/ld-elf/group8a.d b/ld/testsuite/ld-elf/group8a.d index ce40a38..bad4123 100644 --- a/ld/testsuite/ld-elf/group8a.d +++ b/ld/testsuite/ld-elf/group8a.d @@ -2,7 +2,7 @@ #ld: -r --gc-sections --entry foo #readelf: -g --wide #notarget: arc-*-* d30v-*-* dlx-*-* i960-*-* or32-*-* pj*-*-* -#notarget: alpha-*-* hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#notarget: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* #xfail: cr16-*-* crx-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others # cr16 and crx use non-standard scripts with memory regions, which don't play diff --git a/ld/testsuite/ld-elf/group8b.d b/ld/testsuite/ld-elf/group8b.d index bb928c5..fb37198 100644 --- a/ld/testsuite/ld-elf/group8b.d +++ b/ld/testsuite/ld-elf/group8b.d @@ -2,7 +2,7 @@ #ld: -r --gc-sections --entry bar #readelf: -g --wide #notarget: arc-*-* d30v-*-* dlx-*-* i960-*-* or32-*-* pj*-*-* -#notarget: alpha-*-* hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* +#notarget: hppa64-*-* i370-*-* i860-*-* ia64-*-* mep-*-* mn10200-*-* #xfail: cr16-*-* crx-*-* # generic linker targets don't support --gc-sections, nor do a bunch of others # cr16 and crx use non-standard scripts with memory regions, which don't play diff --git a/ld/testsuite/ld-gc/start.s b/ld/testsuite/ld-gc/start.s index d9f1b2d..a417a97 100644 --- a/ld/testsuite/ld-gc/start.s +++ b/ld/testsuite/ld-gc/start.s @@ -1,6 +1,6 @@ .globl _start _start: - .long __start__foo + .dc.a __start__foo .section _foo,"aw",%progbits foo: .long 1 |