1*56bb7041Schristos #source: start.s
2*56bb7041Schristos #source: exit.s
3*56bb7041Schristos #ld: -T discard.ld
4*56bb7041Schristos #error: `data' referenced in section `\.text' of tmpdir/start.o: defined in discarded section `\.data\.exit' of tmpdir/exit.o
5*56bb7041Schristos #objdump: -p
6*56bb7041Schristos #xfail: [is_generic]
7*56bb7041Schristos #pass
8