From 9211187afb695ba6c4151776d48effd72d70a2ad Mon Sep 17 00:00:00 2001 From: amodra Date: Fri, 2 Jul 2004 06:46:17 +0000 Subject: [PATCH] * ld-discard/static.d: Accept both original sym and section sym. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-discard/static.d | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 906009edc3..858fc2e8a7 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-07-02 Alan Modra + + * ld-discard/static.d: Accept both original sym and section sym. + 2004-07-01 Jakub Jelinek * ld-sparc/tlssunpic32.rd: Adjust for section reordering changes diff --git a/ld/testsuite/ld-discard/static.d b/ld/testsuite/ld-discard/static.d index 98ef02f1b1..bf56265d25 100644 --- a/ld/testsuite/ld-discard/static.d +++ b/ld/testsuite/ld-discard/static.d @@ -1,3 +1,3 @@ #source: static.s #ld: -T discard.ld -#error: `\.data\.exit' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o +#error: `(\.data\.exit|data)' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o -- 2.11.0