3 include ${TESTROOT}/include/common.makefile
6 # Check that -order_file will transform zero-fill (tentative def)
7 # symbols to __data symbols to achieve ordering.
13 ${CC} ${CCFLAGS} main.c foo.c -Wl,-order_file,main.order -o main
14 nm -nj main | grep _xyz_ > main.actual
15 diff main.expected main.actual
16 nm -nm main | grep _xyz_f4 | grep __data | ${FAIL_IF_EMPTY}
17 nm -nm main | grep _other | grep __common | ${FAIL_IF_EMPTY}
18 ${PASS_IFF_GOOD_MACHO} main
21 rm -f main main.actual