2 include ${TESTROOT}/include/common.makefile
5 # Verify that ld -r -S preserves the __objc_imageinfo section
8 IMAGE_INFO = "__image_info"
11 IMAGE_INFO = "__objc_imageinfo"
14 IMAGE_INFO = "__objc_imageinfo"
22 ${CC} ${CCFLAGS} -gdwarf-2 hello.m -c -o hello.o
23 ${LD} -r -S hello.o -o hello-r.o
24 size -l hello-r.o | grep ${IMAGE_INFO} | ${PASS_IFF_STDIN}
29 rm -rf hello.o hello-r.o