Back to index

cell-binutils  2.17cvs20070401
extern.d
Go to the documentation of this file.
00001 #source: extern.s
00002 #ld: -T discard.ld
00003 #error: .*data.* referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o
00004 #objdump: -p
00005 #pass
00006 # The expected warning used to start with "`data' referenced..." but
00007 # this has two problems: 1) It does not include the name of the linker
00008 # command which will be present in the message, eg "../ld-new"
00009 # 2) Targets which define EXTERN_FORCE_RELOC to 0 in their
00010 # gas/config/tc-xxx.h file will convert the symbol in the reloc from
00011 # "data" to the section symbol ".data.exit".