X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/d425e3882ca60fabae080ddb890789ef2e73a66b..e456bf1059cf7e6b8b71545d1b2f2092b55a9684:/unit-tests/test-cases/no-object-symbols/Makefile diff --git a/unit-tests/test-cases/no-object-symbols/Makefile b/unit-tests/test-cases/no-object-symbols/Makefile index 933533f..8b49b1b 100644 --- a/unit-tests/test-cases/no-object-symbols/Makefile +++ b/unit-tests/test-cases/no-object-symbols/Makefile @@ -34,12 +34,12 @@ include ${TESTROOT}/include/common.makefile run: all all: - ${CC} -arch ${ARCH} -c -Wa,-n empty.s -o empty.o + ${CC} -arch ${ARCH} -c empty.s -o empty.o ${LD} -r empty.o -x -o empty2.o - otool -lv empty2.o | egrep 'vmsize 0x0[0]+$$' | ${FAIL_IF_EMPTY} - otool -lv empty2.o | grep 'filesize 0' | ${FAIL_IF_EMPTY} - otool -lv empty2.o | grep 'nsyms 0' | ${FAIL_IF_EMPTY} - otool -lv empty2.o | grep 'symoff 0' | ${FAIL_IF_EMPTY} + ${OTOOL} -lv empty2.o | egrep 'vmsize 0x0[0]+$$' | ${FAIL_IF_EMPTY} + ${OTOOL} -lv empty2.o | grep 'filesize 0' | ${FAIL_IF_EMPTY} + ${OTOOL} -lv empty2.o | grep 'nsyms 0' | ${FAIL_IF_EMPTY} + ${OTOOL} -lv empty2.o | grep 'symoff 0' | ${FAIL_IF_EMPTY} ${PASS_IFF} true clean: