X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/f410558f5d60087e4c310119a1751b437121c3b9..e456bf1059cf7e6b8b71545d1b2f2092b55a9684:/unit-tests/test-cases/no-object-symbols/Makefile?ds=sidebyside 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: