mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-27 14:50:23 +00:00
14 lines
635 B
Makefile
14 lines
635 B
Makefile
#source: extern.s
|
|
#ld: -T discard.ld
|
|
#error: .*data.* referenced in section `\.text' of tmpdir/extern.o: defined in discarded section `\.data\.exit' of tmpdir/extern.o
|
|
#objdump: -p
|
|
#xfail: d30v-*-* dlx-*-* i960-*-* pj*-*-*
|
|
#xfail: m68hc12-*-* m6812-*-*
|
|
#pass
|
|
# The expected warning used to start with "`data' referenced..." but
|
|
# this has two problems: 1) It does not include the name of the linker
|
|
# command which will be present in the message, eg "../ld-new"
|
|
# 2) Targets which define EXTERN_FORCE_RELOC to 0 in their
|
|
# gas/config/tc-xxx.h file will convert the symbol in the reloc from
|
|
# "data" to the section symbol ".data.exit".
|