- ${LD} -lcrt1.o hello.o -o hello -lSystem 2> fail.log
- ${FAIL_IF_BAD_MACHO} hello
- file hello | grep ${ARCH} | ${PASS_IFF_STDIN}
+ ${FAIL_IF_BAD_OBJ} hello.o
+ ${LD} -r -lcrt1.o hello.o -o hello-r.o -lSystem
+ ${FAIL_IF_ERROR} ${OBJECTDUMP} hello-r.o >/dev/null
+ file hello-r.o | grep ${ARCH} | ${PASS_IFF_STDIN}