aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-discard/static.d
blob: b001d72b8f5b53d8aafb8d1048ea66e8f9bb9a61 (plain)
1
2
3
4
5
6
7
#source: static.s
#ld: -T discard.ld
#error: `(\.data\.exit|data)' referenced in section `\.text' of tmpdir/dump0.o: defined in discarded section `\.data\.exit' of tmpdir/dump0.o
#objdump: -p
#xfail: arc-*-* d30v-*-* dlx-*-* i960-*-* or32-*-* pj*-*-*
#xfail: m68hc12-*-* m6812-*-*
#pass