This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] Fix PR ld/12360
- From: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- To: binutils at sourceware dot org
- Date: Fri, 31 Dec 2010 17:31:33 -0500
- Subject: [committed] Fix PR ld/12360
- Reply-to: John David Anglin <dave dot anglin at nrc-cnrc dot gc dot ca>
type_change_ok is also set by hppa64 backend. Using the same test as
MIPS fixes the PR. Committed to trunk.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
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*-*-*.
Index: ld-elfcomm/elfcomm.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elfcomm/elfcomm.exp,v
retrieving revision 1.22
diff -u -3 -p -r1.22 elfcomm.exp
--- ld-elfcomm/elfcomm.exp 23 Sep 2010 12:24:41 -0000 1.22
+++ ld-elfcomm/elfcomm.exp 31 Dec 2010 22:16:41 -0000
@@ -209,8 +209,8 @@ if { [ld_simple_link $ld tmpdir/common1.
}
# 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 {