]> git.saurik.com Git - apple/ld64.git/blame - unit-tests/test-cases/custom-segment-layout/Makefile
ld64-351.8.tar.gz
[apple/ld64.git] / unit-tests / test-cases / custom-segment-layout / Makefile
CommitLineData
a645023d
A
1
2TESTROOT = ../..
3include ${TESTROOT}/include/common.makefile
4
5#
6# Check that a large page zero works
7#
afe874b1
A
8ifeq (,${findstring "macosx","$(VERSION_NEW_LINKEDIT)"})
9 SEG_ADDR = 0x20000000
10else
11 SEG_ADDR = 0xb8000000
12endif
a645023d
A
13
14run: all
15
16all:
afe874b1 17 ${CC} ${CCFLAGS} main.c zero.s -o main -pagezero_size 0 -segaddr __TEXT $(SEG_ADDR) -segaddr __MYZEROPAGE 0
a645023d
A
18 ${PASS_IFF_GOOD_MACHO} main
19
20clean:
21 rm -f main