3 include ${TESTROOT}/include/common.makefile
6 # Test that an object file can be code signed
8 # <rdar://problem/5881324> when linking a kext the static linker should leave a pad in the headers to allow code signing
11 CODE_SIGN_ARCH = ${ARCH}
13 CODE_SIGN_ARCH = ppc7400
20 ${CC} foo.c -c -o foo.o
21 ${LD} -r foo.o -o foo2.o
22 codesign_allocate -i foo2.o -a ${CODE_SIGN_ARCH} 256 -o foo3.o
26 rm foo.o foo2.o foo3.o