]> git.saurik.com Git - apple/ld64.git/blame - unit-tests/test-cases/literals-labels/Makefile
ld64-123.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / literals-labels / Makefile
CommitLineData
a645023d
A
1
2
3TESTROOT = ../..
4include ${TESTROOT}/include/common.makefile
5
6#
7# Support mulitple labels on the same literal by cloning the literal
8# into an atom per label.
9#
10
11run: all
12
13all:
14 ${CC} ${ASMFLAGS} literals.s -c -o literals.o
15 ${OBJECTDUMP} literals.o > literals.o.dump
16 ${LD} -arch ${ARCH} -r literals.o -o literals-r.o
17 ${OBJECTDUMP} literals-r.o > literals-r.o.dump
18 ${PASS_IFF} diff literals.o.dump literals-r.o.dump
19
20clean:
21 rm -rf literals.o literals-r.o literals.o.dump literals-r.o.dump