* 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-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.
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
#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
#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
.globl _start
_start:
- .long __start__foo
+ .dc.a __start__foo
.section _foo,"aw",%progbits
foo:
.long 1