* 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.
This commit is contained in:
Alan Modra 2012-02-14 01:02:04 +00:00
parent 516e75beac
commit 32d79e6818
6 changed files with 21 additions and 10 deletions

View File

@ -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

View File

@ -2,5 +2,6 @@
#source: linkoncerdiff2.s
#ld: -r
#readelf: -r
#notarget: hppa64*-*-hpux*
There are no relocations in this file.
#pass

View File

@ -1,4 +1,4 @@
.section .zzz,"ax",%progbits
.long 0
.text
.long 0
.section .zzz,"ax",%progbits
.long 0
.text
.long 0

View File

@ -1,4 +1,4 @@
.section .zzz,"ax",%progbits
.long 0
.text
.long 0
.section .zzz,"ax",%progbits
.long 0
.text
.long 0

View File

@ -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"
}

View File

@ -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-*-*]