From 5bb2a876193d32bcc43554c792579525d7f45899 Mon Sep 17 00:00:00 2001 From: Alan Modra 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 906009edc32..858fc2e8a7d 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 98ef02f1b15..bf56265d25f 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.30.2