aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-discard/start.d
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-07-01 13:48:53 +0000
committerAlan Modra <amodra@gmail.com>2004-07-01 13:48:53 +0000
commitcdd3575c2204443be4e4ad258d61bac6c7f2f337 (patch)
tree04077db1ee96496a5118a832f584b9e4a06bf9ad /ld/testsuite/ld-discard/start.d
parent0b5d8877912034b2af0c548afbb794e4dcd07fbd (diff)
downloadgdb-cdd3575c2204443be4e4ad258d61bac6c7f2f337.zip
gdb-cdd3575c2204443be4e4ad258d61bac6c7f2f337.tar.gz
gdb-cdd3575c2204443be4e4ad258d61bac6c7f2f337.tar.bz2
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.
Diffstat (limited to 'ld/testsuite/ld-discard/start.d')
-rw-r--r--ld/testsuite/ld-discard/start.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-discard/start.d b/ld/testsuite/ld-discard/start.d
index f9885d4..3f91738 100644
--- a/ld/testsuite/ld-discard/start.d
+++ b/ld/testsuite/ld-discard/start.d
@@ -1,4 +1,4 @@
#source: start.s
#source: exit.s
#ld: -T discard.ld
-#error: `data' referenced in section `\.text' from tmpdir/dump0.o: discarded in section `\.data\.exit' from tmpdir/dump1.o
+#error: `data' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump1.o