diff options
author | Alan Modra <amodra@bigpond.net.au> | 2012-02-14 01:02:03 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2012-02-14 01:02:03 +0000 |
commit | 2fe916aac0ed074640fea7cbd6d43b83c50d3244 (patch) | |
tree | 707f8942798cb95ed3da5e20d55c25d9e92685a0 /ld | |
parent | 9a34d1be88266563c6e0d410bd73c515320d519d (diff) | |
download | binutils-redhat-2fe916aac0ed074640fea7cbd6d43b83c50d3244.tar.gz |
* ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux.
* ld-elf/pr11304a.s: Always have whitespace before directives.
* ld-elf/pr11304b.s: Likewise.
* ld-selective/selective.exp: Test m68hc1* variant of m6811, m6812.
* lib/ld-lib.exp: Likewise, and vice versa.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/linkoncerdiff.d | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr11304a.s | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr11304b.s | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-selective/selective.exp | 2 | ||||
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 4 |
6 files changed, 21 insertions, 10 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index f118153e3f..10cd3ea76a 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2012-02-14 Alan Modra <amodra@gmail.com> + + * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux. + * ld-elf/pr11304a.s: Always have whitespace before directives. + * ld-elf/pr11304b.s: Likewise. + * ld-selective/selective.exp: Test m68hc1* variant of m6811, m6812. + * lib/ld-lib.exp: Likewise, and vice versa. + 2012-02-13 Richard Henderson <rth@redhat.com> PR ld/13621 diff --git a/ld/testsuite/ld-elf/linkoncerdiff.d b/ld/testsuite/ld-elf/linkoncerdiff.d index 8eec3d2ca2..06d08c16eb 100644 --- a/ld/testsuite/ld-elf/linkoncerdiff.d +++ b/ld/testsuite/ld-elf/linkoncerdiff.d @@ -2,5 +2,6 @@ #source: linkoncerdiff2.s #ld: -r #readelf: -r +#notarget: hppa64*-*-hpux* There are no relocations in this file. #pass diff --git a/ld/testsuite/ld-elf/pr11304a.s b/ld/testsuite/ld-elf/pr11304a.s index 22fbbee8a8..75fcd37b43 100644 --- a/ld/testsuite/ld-elf/pr11304a.s +++ b/ld/testsuite/ld-elf/pr11304a.s @@ -1,4 +1,4 @@ -.section .zzz,"ax",%progbits -.long 0 -.text -.long 0 + .section .zzz,"ax",%progbits + .long 0 + .text + .long 0 diff --git a/ld/testsuite/ld-elf/pr11304b.s b/ld/testsuite/ld-elf/pr11304b.s index 22fbbee8a8..75fcd37b43 100644 --- a/ld/testsuite/ld-elf/pr11304b.s +++ b/ld/testsuite/ld-elf/pr11304b.s @@ -1,4 +1,4 @@ -.section .zzz,"ax",%progbits -.long 0 -.text -.long 0 + .section .zzz,"ax",%progbits + .long 0 + .text + .long 0 diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp index f328441793..23c23dd825 100644 --- a/ld/testsuite/ld-selective/selective.exp +++ b/ld/testsuite/ld-selective/selective.exp @@ -141,7 +141,7 @@ foreach testitem $seltests { } # m6811/m6812 code has references to soft registers. - if {[istarget m6811-*-*] || [istarget m6812-*-*]} { + if {[istarget m6811-*-*] || [istarget m6812-*-*] || [istarget m68hc1*-*-*]} { set objfile "$objfile --defsym _.frame=0 --defsym _.d1=0" set objfile "$objfile --defsym _.d2=0" } diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 25999e9220..8b51123db5 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -415,7 +415,7 @@ proc ld_simple_link_defsyms {} { } # m6811/m6812 code has references to soft registers. - if {[istarget m6811-*-*] || [istarget m6812-*-*]} { + if {[istarget m6811-*-*] || [istarget m6812-*-*] || [istarget m68hc1*-*-*]} { append flags " --defsym _.frame=0 --defsym _.d1=0 --defsym _.d2=0" append flags " --defsym _.d3=0 --defsym _.d4=0" append flags " --defsym _.tmp=0 --defsym _.xy=0 --defsym _.z=0" @@ -1502,6 +1502,8 @@ proc check_shared_lib_support { } { && ![istarget lm32-*-*] && ![istarget m32c-*-*] && ![istarget m32r-*-*] + && ![istarget m6811-*-*] + && ![istarget m6812-*-*] && ![istarget m68hc1*-*-*] && ![istarget mcore*-*-*] && ![istarget mep-*-*] |