* ld-elf/elf.exp: Force 32-bit start address for alpha.
authorRichard Henderson <rth@redhat.com>
Wed, 30 Mar 2011 17:41:36 +0000 (17:41 +0000)
committerRichard Henderson <rth@redhat.com>
Wed, 30 Mar 2011 17:41:36 +0000 (17:41 +0000)
        * ld-elf/group8a.d: Don't disable for alpha.
        * ld-elf/group8b.d: Likewise.
        * ld-gc/start.s: Use .dc.a instead of .long.

ld/testsuite/ChangeLog
ld/testsuite/ld-elf/elf.exp
ld/testsuite/ld-elf/group8a.d
ld/testsuite/ld-elf/group8b.d
ld/testsuite/ld-gc/start.s

index 6a824e38e10ae7b973d5f8ff2d67739b26b974f6..f90788f3dbeac915dc42813c2d2d9b0c683eece1 100644 (file)
@@ -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.
index 0cf63c19a482113aee892634c767f2449acba77b..73a417cf298bae69a0eeb3c534ae71f542f01ab9 100644 (file)
@@ -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
index ce40a383dbdeac6e662801f608574d95b218c730..bad4123065b45b965ff71b3759ba09971ee14f05 100644 (file)
@@ -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
index bb928c58cf7717c5d35a427db7d664ccf02a5515..fb371986ca6740f5a0fd9e49bffba7c17b46196d 100644 (file)
@@ -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
index d9f1b2d0706b398a0dfa1c95de1f55530585222c..a417a97b22c73fcce20142a1d366ff4ed3c2ccda 100644 (file)
@@ -1,6 +1,6 @@
 .globl _start
 _start:
-       .long __start__foo
+       .dc.a   __start__foo
        .section        _foo,"aw",%progbits
 foo:
        .long   1
This page took 0.028524 seconds and 4 git commands to generate.