aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-06-14 02:55:29 +0000
committerAlan Modra <amodra@gmail.com>2011-06-14 02:55:29 +0000
commit5daeae9b9787af3a9407ccd2aac73a9effceb1b0 (patch)
treefc6ab91553ca0070bfdf09c183786c40a3a5c7af /ld
parent50b18678190f583324f563128887a6c09a920d75 (diff)
downloadgdb-5daeae9b9787af3a9407ccd2aac73a9effceb1b0.zip
gdb-5daeae9b9787af3a9407ccd2aac73a9effceb1b0.tar.gz
gdb-5daeae9b9787af3a9407ccd2aac73a9effceb1b0.tar.bz2
* ld-elf/elf.exp: Don't attempt to build symbol3.a for hppa64-hpux.
* ld-elf/warn3.d: Correct target selection and comment.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog3
-rw-r--r--ld/testsuite/ld-elf/elf.exp19
-rw-r--r--ld/testsuite/ld-elf/warn3.d7
3 files changed, 17 insertions, 12 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 1cabfa3..ec819d1 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,8 @@
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.
2011-06-13 Walter Lee <walt@tilera.com>
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp
index 61efc4a..ff0f03e 100644
--- a/ld/testsuite/ld-elf/elf.exp
+++ b/ld/testsuite/ld-elf/elf.exp
@@ -1,5 +1,6 @@
# 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.
#
@@ -40,13 +41,15 @@ if { [is_remote host] } then {
remote_download host merge.ld
}
-run_ld_link_tests {
- {"Build symbol3.a"
- "" ""
- {symbol3.s} {} "symbol3.a"}
- {"Build symbol3w.a"
- "" ""
- {symbol3w.s} {} "symbol3w.a"}
+if { ![istarget hppa64*-hpux*] } {
+ run_ld_link_tests {
+ {"Build symbol3.a"
+ "" ""
+ {symbol3.s} {} "symbol3.a"}
+ {"Build symbol3w.a"
+ "" ""
+ {symbol3w.s} {} "symbol3w.a"}
+ }
}
# Run a test to check linking a shared library with a broken linker
diff --git a/ld/testsuite/ld-elf/warn3.d b/ld/testsuite/ld-elf/warn3.d
index c99618d..53dee18 100644
--- a/ld/testsuite/ld-elf/warn3.d
+++ b/ld/testsuite/ld-elf/warn3.d
@@ -2,10 +2,9 @@
#ld: tmpdir/symbol3w.o tmpdir/symbol3.a
#warning: .*: warning: badsym warning$
#readelf: -s
-#notarget: "sparc64-*-solaris2*" "sparcv9-*-solaris2*"
-#xfail: arc-*-* d30v-*-* dlx-*-* fr30-*-* frv-*-elf i860-*-* i960-*-*
-#xfail: iq*-*-* mn10200-*-* moxie-*-* msp*-*-* mt-*-* or32-*-* pj*-*-*
-# if not using elf32.em, you don't get fancy section handling
+#notarget: hppa64*-hpux*
+#xfail: arc-*-* d30v-*-* dlx-*-* i960-*-* or32-*-* pj*-*-*
+# generic linker targets don't support .gnu.warning sections.
# Check that warnings are generated for the symbols in .gnu.warning
# construct and that the symbol still appears as expected.