diff options
author | Alan Modra <amodra@gmail.com> | 2004-07-01 13:48:53 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-07-01 13:48:53 +0000 |
commit | cdd3575c2204443be4e4ad258d61bac6c7f2f337 (patch) | |
tree | 04077db1ee96496a5118a832f584b9e4a06bf9ad /ld/testsuite/ld-discard/start.d | |
parent | 0b5d8877912034b2af0c548afbb794e4dcd07fbd (diff) | |
download | gdb-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.d | 2 |
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 |