]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | ||
3 | TESTROOT = ../.. | |
4 | include ${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 | ||
11 | run: all | |
12 | ||
13 | all: | |
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 | ||
20 | clean: | |
21 | rm -rf literals.o literals-r.o literals.o.dump literals-r.o.dump |