1 # { dg-do assemble { target i?86-*-darwin* powerpc*-*-darwin* } }
3 # Show that we can check that there are enough syms for the section.
7 .section __dummy, __dummy, symbol_stubs,strip_static_syms,4
11 .section __dummy, __dummy1,lazy_symbol_pointers
15 .section __dummy, __dummy2,non_lazy_symbol_pointers
20 .section __dummy, __dummy3,non_lazy_symbol_pointers
25 .section __dummy, __dummy4,symbol_stubs,strip_static_syms,17
32 .section __dummy, __dummy5,lazy_symbol_pointers
37 # { dg-error "the number of .indirect_symbols defined in section __dummy.__dummy does not match the number expected .1 defined, 0 expected." "" { target *-*-darwin*} 0 }
38 # { dg-error "the number of .indirect_symbols defined in section __dummy.__dummy1 does not match the number expected .1 defined, 0 expected." "" { target *-*-darwin*} 0 }
39 # { dg-error "the number of .indirect_symbols defined in section __dummy.__dummy2 does not match the number expected .1 defined, 0 expected." "" { target *-*-darwin*} 0 }
40 # { dg-error "the number of .indirect_symbols defined in section __dummy.__dummy5 does not match the number expected .1 defined, 2 expected." "" { target *-*-darwin*} 0 }