]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/custom-segment-layout/Makefile
ld64-123.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / custom-segment-layout / Makefile
diff --git a/unit-tests/test-cases/custom-segment-layout/Makefile b/unit-tests/test-cases/custom-segment-layout/Makefile
new file mode 100644 (file)
index 0000000..1dfb23f
--- /dev/null
@@ -0,0 +1,16 @@
+
+TESTROOT = ../..
+include ${TESTROOT}/include/common.makefile
+
+#
+# Check that a large page zero works
+#
+
+run: all
+
+all:
+       ${CC} ${CCFLAGS} main.c zero.s -o main -pagezero_size 0 -segaddr __TEXT 0xb8000000 -segaddr __MYZEROPAGE 0
+       ${PASS_IFF_GOOD_MACHO} main
+
+clean:
+       rm -f main