]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/commons-alignment/Makefile
ld64-127.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / commons-alignment / Makefile
index d073c0e41b481a429edb42d6d878510cb0efebfe..15e1abdb317760eea2ab1a9cfe40d952f10d334b 100644 (file)
@@ -29,9 +29,12 @@ include ${TESTROOT}/include/common.makefile
 
 all:
        ${CC} ${CCFLAGS} foo.s -c -o foo.o
-       nm -m foo.o | grep '(alignment 2^6)'  | ${FAIL_IF_EMPTY}
+       nm -m foo.o | grep _mycomm64aligned  | grep '(alignment 2^6)'  | ${FAIL_IF_EMPTY}
+       nm -m foo.o | grep _mycomm16kaligned | grep '(alignment 2^14)'  | ${FAIL_IF_EMPTY}
        ${LD} foo.o -r -o foo2.o
-       nm -m foo2.o | grep '(alignment 2^6)' | ${PASS_IFF_STDIN}
+       nm -m foo2.o | grep _mycomm64aligned  | grep '(alignment 2^6)'  | ${FAIL_IF_EMPTY}
+       nm -m foo2.o | grep _mycomm16kaligned | grep '(alignment 2^14)'  | ${FAIL_IF_EMPTY}
+       ${PASS_IFF} true
        
 clean:
        rm -rf foo.o foo2.o