mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
6d633fd282
2005-04-25 H.J. Lu <hongjiu.lu@intel.com> PR 858 * elflink.c (elf_link_input_bfd): Make non-debugging reference to discarded section an error. ld/testsuite/ 2005-04-25 H.J. Lu <hongjiu.lu@intel.com> * ld-discard/extern.d: Expect error. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise.
7 lines
198 B
Makefile
7 lines
198 B
Makefile
#source: start.s
|
|
#source: exit.s
|
|
#ld: -T discard.ld
|
|
#error: `data' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump1.o
|
|
#objdump: -p
|
|
#pass
|