From 769946806e26b79ea5ef8f8679eae58279b398eb Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 7 Feb 2005 03:09:10 +0000 Subject: [PATCH] * ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d: Adjust for being identified as warnings. --- ld/testsuite/ChangeLog | 3 +++ ld/testsuite/ld-discard/extern.d | 4 +++- ld/testsuite/ld-discard/start.d | 4 +++- ld/testsuite/ld-discard/static.d | 4 +++- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 92e64ab60f..030c65f3eb 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2005-02-07 Hans-Peter Nilsson + * 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. diff --git a/ld/testsuite/ld-discard/extern.d b/ld/testsuite/ld-discard/extern.d index 3409ad44c7..27c98c6ab8 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 3f91738c52..2ad6e9f00c 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 bf56265d25..eefeeea65d 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