* ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
authorHans-Peter Nilsson <hp@axis.com>
Mon, 7 Feb 2005 03:09:10 +0000 (03:09 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Mon, 7 Feb 2005 03:09:10 +0000 (03:09 +0000)
Adjust for being identified as warnings.

ld/testsuite/ChangeLog
ld/testsuite/ld-discard/extern.d
ld/testsuite/ld-discard/start.d
ld/testsuite/ld-discard/static.d

index 92e64ab..030c65f 100644 (file)
@@ -1,5 +1,8 @@
 2005-02-07  Hans-Peter Nilsson  <hp@axis.com>
 
+       * ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d:
+       Adjust for being identified as warnings.
+
        * ld-cris/stabs1.s: New file.
        * ld-cris/undef2.d, ld-cris/undef3.d: New tests.
 
index 3409ad4..27c98c6 100644 (file)
@@ -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
index 3f91738..2ad6e9f 100644 (file)
@@ -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
index bf56265..eefeeea 100644 (file)
@@ -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