aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-discard
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-02-07 03:09:10 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-02-07 03:09:10 +0000
commit769946806e26b79ea5ef8f8679eae58279b398eb (patch)
tree6ea40c606d708b83c6645ab0f6afbec91f831f91 /ld/testsuite/ld-discard
parent8537fc01f3ca1ff3503d1e4414c5c171ce9ba637 (diff)
downloadgdb-769946806e26b79ea5ef8f8679eae58279b398eb.zip
gdb-769946806e26b79ea5ef8f8679eae58279b398eb.tar.gz
gdb-769946806e26b79ea5ef8f8679eae58279b398eb.tar.bz2
* ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
Adjust for being identified as warnings.
Diffstat (limited to 'ld/testsuite/ld-discard')
-rw-r--r--ld/testsuite/ld-discard/extern.d4
-rw-r--r--ld/testsuite/ld-discard/start.d4
-rw-r--r--ld/testsuite/ld-discard/static.d4
3 files changed, 9 insertions, 3 deletions
diff --git a/ld/testsuite/ld-discard/extern.d b/ld/testsuite/ld-discard/extern.d
index 3409ad4..27c98c6 100644
--- a/ld/testsuite/ld-discard/extern.d
+++ b/ld/testsuite/ld-discard/extern.d
@@ -1,3 +1,5 @@
#source: extern.s
#ld: -T discard.ld
-#error: `data' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o
+#warning: `data' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o
+#objdump: -p
+#pass
diff --git a/ld/testsuite/ld-discard/start.d b/ld/testsuite/ld-discard/start.d
index 3f91738..2ad6e9f 100644
--- a/ld/testsuite/ld-discard/start.d
+++ b/ld/testsuite/ld-discard/start.d
@@ -1,4 +1,6 @@
#source: start.s
#source: exit.s
#ld: -T discard.ld
-#error: `data' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump1.o
+#warning: `data' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump1.o
+#objdump: -p
+#pass
diff --git a/ld/testsuite/ld-discard/static.d b/ld/testsuite/ld-discard/static.d
index bf56265..eefeeea 100644
--- a/ld/testsuite/ld-discard/static.d
+++ b/ld/testsuite/ld-discard/static.d
@@ -1,3 +1,5 @@
#source: static.s
#ld: -T discard.ld
-#error: `(\.data\.exit|data)' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o
+#warning: `(\.data\.exit|data)' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o
+#objdump: -p
+#pass