PR ld/12360

* ld-elfcomm/elfcomm.exp (test1w1): Use same check as MIPS on
	hppa*64*-*-*.
This commit is contained in:
Dave Anglin 2010-12-31 22:29:19 +00:00
parent 01c51e443e
commit 70a274ec08
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2010-12-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR ld/12360
* ld-elfcomm/elfcomm.exp (test1w1): Use same check as MIPS on
hppa*64*-*-*.
2010-12-31 Richard Sandiford <rdsandiford@googlemail.com>
* ld-mips-elf/mips-elf-flags.exp: Handle FreeBSD targets.

View File

@ -209,8 +209,8 @@ if { [ld_simple_link $ld tmpdir/common1.o $options] } {
}
# This test fails on MIPS because the backend sets type_change_ok.
# The size change warning is suppressed.
if {[istarget mips*-*-*]} {
# The size change warning is suppressed. Same on hppa64.
if {[istarget mips*-*-*] || [istarget hppa*64*-*-*]} {
if { ![regexp "Warning: alignment (\[0-9\]+) of symbol \`_?foo1\' in tmpdir/common1b.o is smaller than 64 in tmpdir/common1a.o" $link_output] } {
fail $test1w1
} else {