From 70a274ec08a18722761b4793ad05dc53e5497653 Mon Sep 17 00:00:00 2001 From: Dave Anglin Date: Fri, 31 Dec 2010 22:29:19 +0000 Subject: [PATCH] PR ld/12360 * ld-elfcomm/elfcomm.exp (test1w1): Use same check as MIPS on hppa*64*-*-*. --- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-elfcomm/elfcomm.exp | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 681c326b4b..d9c703890d 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-12-31 John David Anglin + + PR ld/12360 + * ld-elfcomm/elfcomm.exp (test1w1): Use same check as MIPS on + hppa*64*-*-*. + 2010-12-31 Richard Sandiford * 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 e45c6b199b..572931b948 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 {