X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/77cc3118ce7a3a70a0a7364d77ae1eb766a477e7..0a8dc3df050bd5c0a70486b9ebdb9dccce439f3e:/unit-tests/test-cases/slow-x86-stubs/Makefile?ds=sidebyside diff --git a/unit-tests/test-cases/slow-x86-stubs/Makefile b/unit-tests/test-cases/slow-x86-stubs/Makefile index ee6a0e5..9bd4405 100644 --- a/unit-tests/test-cases/slow-x86-stubs/Makefile +++ b/unit-tests/test-cases/slow-x86-stubs/Makefile @@ -24,7 +24,7 @@ TESTROOT = ../.. include ${TESTROOT}/include/common.makefile # -# Sanity check that -slow_stubs for i386 leaves no __IMPORT segment +# Sanity check that i386 for 10.6 does not use __IMPORT segment # run: all @@ -32,10 +32,10 @@ run: all all: - ${CC} ${CCFLAGS} hello.c -o hello -Wl,-slow_stubs - size -l hello | grep __IMPORT | ${FAIL_IF_STDIN} - ${CC} ${CCFLAGS} hello.c -dynamiclib -o libhello.dylib -Wl,-slow_stubs - size -l libhello.dylib | grep __IMPORT | ${FAIL_IF_STDIN} + ${CC} ${CCFLAGS} hello.c -o hello + size -m -l hello | grep __IMPORT | ${FAIL_IF_STDIN} + ${CC} ${CCFLAGS} hello.c -dynamiclib -o libhello.dylib + size -m -l libhello.dylib | grep __IMPORT | ${FAIL_IF_STDIN} ${PASS_IFF_GOOD_MACHO} hello clean: