mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-10 10:03:37 +08:00
2de26f35df
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.
4 lines
160 B
Makefile
4 lines
160 B
Makefile
#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
|