aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2010-12-31 22:29:19 +0000
committerDave Anglin <dave.anglin@nrc.ca>2010-12-31 22:29:19 +0000
commit70a274ec08a18722761b4793ad05dc53e5497653 (patch)
tree72d5faca2f32877b71a77485219604a75f73955d
parent01c51e443edfabfecc1e66c48dee3d9549efa74e (diff)
downloadgdb-70a274ec08a18722761b4793ad05dc53e5497653.zip
gdb-70a274ec08a18722761b4793ad05dc53e5497653.tar.gz
gdb-70a274ec08a18722761b4793ad05dc53e5497653.tar.bz2
PR ld/12360
* ld-elfcomm/elfcomm.exp (test1w1): Use same check as MIPS on hppa*64*-*-*.
-rw-r--r--ld/testsuite/ChangeLog6
-rw-r--r--ld/testsuite/ld-elfcomm/elfcomm.exp4
2 files changed, 8 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 681c326..d9c7038 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -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.
diff --git a/ld/testsuite/ld-elfcomm/elfcomm.exp b/ld/testsuite/ld-elfcomm/elfcomm.exp
index e45c6b1..572931b 100644
--- a/ld/testsuite/ld-elfcomm/elfcomm.exp
+++ b/ld/testsuite/ld-elfcomm/elfcomm.exp
@@ -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 {