diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2004-06-30 16:19:20 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2004-06-30 16:19:20 +0000 |
commit | 2de26f35dfd2c63902f13026e453c8abcc63fff8 (patch) | |
tree | fb837caa6ff65eafda65a84d70e601a7e137bb96 /ld/testsuite/ld-discard | |
parent | 72d7a15c9da519b77f40f7d8e0f268cbe9b96e1a (diff) | |
download | gdb-2de26f35dfd2c63902f13026e453c8abcc63fff8.zip gdb-2de26f35dfd2c63902f13026e453c8abcc63fff8.tar.gz gdb-2de26f35dfd2c63902f13026e453c8abcc63fff8.tar.bz2 |
bfd/
2004-06-30 H.J. Lu <hongjiu.lu@intel.com>
PR 233
* elflink.c (elf_link_input_bfd): Issue an error for non-debug
local references to discarded sections and report their
locations.
ld/testsuite/
2004-06-30 H.J. Lu <hongjiu.lu@intel.com>
PR 233
* ld-discard/extern.d: Updated.
* ld-discard/start.d: Likewise.
* ld-discard/static.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-discard')
-rw-r--r-- | ld/testsuite/ld-discard/extern.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-discard/start.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-discard/static.d | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-discard/extern.d b/ld/testsuite/ld-discard/extern.d index 10fa0f7..df4c7d1 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: discarded in section `\.data\.exit' from tmpdir/dump0.o +#error: `data' referenced in section `\.text' from tmpdir/dump0.o: discarded in section `\.data\.exit' from tmpdir/dump0.o diff --git a/ld/testsuite/ld-discard/start.d b/ld/testsuite/ld-discard/start.d index b8f46ae..f9885d4 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: discarded in section `\.data\.exit' from tmpdir/dump1.o +#error: `data' referenced in section `\.text' from tmpdir/dump0.o: discarded in section `\.data\.exit' from tmpdir/dump1.o diff --git a/ld/testsuite/ld-discard/static.d b/ld/testsuite/ld-discard/static.d index 78b89b0..1aa44cd 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: local symbol 0: discarded in section `\.data\.exit' from tmpdir/dump0.o +#error: `local symbol 0' referenced in section `\.text': discarded in section `\.data\.exit' from tmpdir/dump0.o |