ELF: Don't check relocations in non-loaded, non-alloced sections
[deliverable/binutils-gdb.git] / ld / testsuite / ld-powerpc / ambiguousv1b.d
1 #source: startv1.s
2 #source: funref2.s
3 #as: -a64
4 #ld: -melf64ppc --emit-stub-syms
5 #ld_after_inputfiles: tmpdir/funv1.so
6 #warning: .*requires lazy plt linking.*
7 #readelf: -rs --wide
8 # Check that we do the right thing with funref2.s that doesn't have
9 # anything to mark it as ELFv1 or ELFv2. Since my_func address is
10 # taken in a read-only section we should get a copy reloc for the OPD
11 # entry.
12
13 Relocation section .* contains 1 entry:
14 .*
15 .* R_PPC64_COPY .* my_func \+ 0
16
17 Symbol table '\.dynsym' contains 2 entries:
18 #...
19 .*: 0*[1-9a-f][0-9a-f]* +24 FUNC +GLOBAL DEFAULT +1[23] my_func
20 #...
21 Symbol table '\.symtab' contains .* entries:
22 #...
23 .*: 0*[1-9a-f][0-9a-f]* +24 FUNC +GLOBAL DEFAULT +1[23] my_func
24 #pass
This page took 0.030401 seconds and 4 git commands to generate.