3 include ${TESTROOT}/include/common.makefile
5 SHELL = bash # use bash shell so we can redirect just stderr
8 # Verify machochecker catchs init routines with bindings to external symbols
14 ${CC} ${CCFLAGS} main.c init.s -Wl,-pie -o init.exe
15 ${FAIL_IF_SUCCESS} ${MACHOCHECK} init.exe 2>/dev/null
16 ${CC} ${CCFLAGS} main.c term.s -Wl,-pie -o term.exe
17 ${FAIL_IF_SUCCESS} ${MACHOCHECK} term.exe 2>/dev/null
18 ${PASS_IFF} /usr/bin/true
21 rm -f init.exe term.exe