aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-03-30 17:41:36 +0000
committerRichard Henderson <rth@redhat.com>2011-03-30 17:41:36 +0000
commit991cda6c972e92d3a14fdccc6bfa2d23d646c69a (patch)
treefc7f0fff1b81ec0667cff874c1e3f3b69408aa75 /ld/testsuite/ld-elf
parent877c169de7ff0b777dc72f1881b003b967c6553c (diff)
downloadgdb-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/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/elf.exp6
-rw-r--r--ld/testsuite/ld-elf/group8a.d2
-rw-r--r--ld/testsuite/ld-elf/group8b.d2
3 files changed, 8 insertions, 2 deletions
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