* ld-elf/elf.exp: Don't attempt to build symbol3.a for hppa64-hpux.

* ld-elf/warn3.d: Correct target selection and comment.
This commit is contained in:
Alan Modra 2011-06-14 02:55:29 +00:00
parent 50b1867819
commit 5daeae9b97
3 changed files with 17 additions and 12 deletions

View file

@ -1,5 +1,8 @@
2011-06-14 Alan Modra <amodra@gmail.com> 2011-06-14 Alan Modra <amodra@gmail.com>
* ld-elf/elf.exp: Don't attempt to build symbol3.a for hppa64-hpux.
* ld-elf/warn3.d: Correct target selection and comment.
* ld-elf/pr12851.d: Correct target selection and comment. * ld-elf/pr12851.d: Correct target selection and comment.
2011-06-13 Walter Lee <walt@tilera.com> 2011-06-13 Walter Lee <walt@tilera.com>

View file

@ -1,5 +1,6 @@
# Expect script for various ELF tests. # Expect script for various ELF tests.
# Copyright 2002, 2003, 2005, 2007, 2009, 2010 Free Software Foundation, Inc. # Copyright 2002, 2003, 2005, 2007, 2009, 2010, 2011
# Free Software Foundation, Inc.
# #
# This file is part of the GNU Binutils. # This file is part of the GNU Binutils.
# #
@ -40,6 +41,7 @@ if { [is_remote host] } then {
remote_download host merge.ld remote_download host merge.ld
} }
if { ![istarget hppa64*-hpux*] } {
run_ld_link_tests { run_ld_link_tests {
{"Build symbol3.a" {"Build symbol3.a"
"" "" "" ""
@ -48,6 +50,7 @@ run_ld_link_tests {
"" "" "" ""
{symbol3w.s} {} "symbol3w.a"} {symbol3w.s} {} "symbol3w.a"}
} }
}
# Run a test to check linking a shared library with a broken linker # Run a test to check linking a shared library with a broken linker
# script that accidentally marks dynamic sections as notes. The # script that accidentally marks dynamic sections as notes. The

View file

@ -2,10 +2,9 @@
#ld: tmpdir/symbol3w.o tmpdir/symbol3.a #ld: tmpdir/symbol3w.o tmpdir/symbol3.a
#warning: .*: warning: badsym warning$ #warning: .*: warning: badsym warning$
#readelf: -s #readelf: -s
#notarget: "sparc64-*-solaris2*" "sparcv9-*-solaris2*" #notarget: hppa64*-hpux*
#xfail: arc-*-* d30v-*-* dlx-*-* fr30-*-* frv-*-elf i860-*-* i960-*-* #xfail: arc-*-* d30v-*-* dlx-*-* i960-*-* or32-*-* pj*-*-*
#xfail: iq*-*-* mn10200-*-* moxie-*-* msp*-*-* mt-*-* or32-*-* pj*-*-* # generic linker targets don't support .gnu.warning sections.
# if not using elf32.em, you don't get fancy section handling
# Check that warnings are generated for the symbols in .gnu.warning # Check that warnings are generated for the symbols in .gnu.warning
# construct and that the symbol still appears as expected. # construct and that the symbol still appears as expected.