X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/74cfe461234fcf76aadb30ed686f281f06b555cd..a61fdf0a731e23ff7eb0cc86ba748fd9af5de879:/unit-tests/test-cases/multiple-entry-points/Makefile diff --git a/unit-tests/test-cases/multiple-entry-points/Makefile b/unit-tests/test-cases/multiple-entry-points/Makefile index 0a8dee0..136bcf6 100644 --- a/unit-tests/test-cases/multiple-entry-points/Makefile +++ b/unit-tests/test-cases/multiple-entry-points/Makefile @@ -35,13 +35,12 @@ run: all all: ${CC} ${ASMFLAGS} test.s -c -o test.${ARCH}.o + ${FAIL_IF_ERROR} ${OBJECTDUMP} -no_sort test.${ARCH}.o > test.${ARCH}.o.dump + ${LD} -arch ${ARCH} -r -keep_private_externs test.${ARCH}.o -o test-r.${ARCH}.o - ${OBJECTDUMP} -no_sort test.${ARCH}.o > test.${ARCH}.o.dump - ${OBJECTDUMP} -no_sort test-r.${ARCH}.o > test-r.${ARCH}.o.dump + ${FAIL_IF_ERROR} ${OBJECTDUMP} -no_sort test-r.${ARCH}.o > test-r.${ARCH}.o.dump + ${PASS_IFF} diff test.${ARCH}.o.dump test-r.${ARCH}.o.dump clean: - rm -rf test.${ARCH}.o test-r.${ARCH}.o test.${ARCH}.o.dump test-r.${ARCH}.o.dump - - - + rm -rf *.o *.dump