4 #ld: -melf64ppc --emit-stub-syms
5 #ld_after_inputfiles: tmpdir/funv2.so
7 # Check that we do the right thing with funref.s that doesn't have
8 # anything to mark it as ELFv1 or ELFv2. We should get a dynamic
9 # reloc on the function address, not have a global entry stub, and
10 # my_func should be undefined dynamic with value zero.
11 # FIXME someday: No need for a plt entry.
13 Relocation section .* contains 1 entries:
15 .* R_PPC64_ADDR64 .* my_func \+ 0
17 Relocation section .* contains 1 entries:
19 .* R_PPC64_JMP_SLOT .* my_func \+ 0
21 Symbol table '\.dynsym' contains 5 entries:
24 1: 0+00000000 0 FUNC GLOBAL DEFAULT UND my_func
27 Symbol table '\.symtab' contains 21 entries:
29 16: 0+00000000 0 FUNC GLOBAL DEFAULT UND my_func