Commit | Line | Data |
---|---|---|
3a921b77 | 1 | #source: extern.s |
f9a3a01a | 2 | #ld: -T discard.ld |
6d633fd2 | 3 | #error: .*data.* referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o |
76994680 | 4 | #objdump: -p |
73589c9d | 5 | #xfail: arc-*-* d30v-*-* dlx-*-* i960-*-* pj*-*-* |
de5c4ae2 | 6 | #xfail: m68hc12-*-* m6812-*-* |
76994680 | 7 | #pass |
8aee822f NC |
8 | # The expected warning used to start with "`data' referenced..." but |
9 | # this has two problems: 1) It does not include the name of the linker | |
10 | # command which will be present in the message, eg "../ld-new" | |
11 | # 2) Targets which define EXTERN_FORCE_RELOC to 0 in their | |
12 | # gas/config/tc-xxx.h file will convert the symbol in the reloc from | |
13 | # "data" to the section symbol ".data.exit". |