From cdd3575c2204443be4e4ad258d61bac6c7f2f337 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 1 Jul 2004 13:48:53 +0000 Subject: bfd/ * elflink.c (elf_section_ignore_discarded_relocs): Revert last change. Comment. (elf_section_complain_discarded): New function. Handle .gcc_except_table too. (elf_link_input_bfd): Rewrite handling of relocs against symbols in discarded sections. * elf-bfd.h (elf_discarded_section): Protect macro arg. ld/testsuite/ * ld-discard/extern.d: Update. * ld-discard/start.d: Update. * ld-discard/static.d: Update. --- ld/testsuite/ld-discard/extern.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/testsuite/ld-discard/extern.d') diff --git a/ld/testsuite/ld-discard/extern.d b/ld/testsuite/ld-discard/extern.d index df4c7d1..3409ad4 100644 --- a/ld/testsuite/ld-discard/extern.d +++ b/ld/testsuite/ld-discard/extern.d @@ -1,3 +1,3 @@ #source: extern.s #ld: -T discard.ld -#error: `data' referenced in section `\.text' from tmpdir/dump0.o: discarded in section `\.data\.exit' from tmpdir/dump0.o +#error: `data' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o -- cgit v1.1