Copy st_other for linker script symbol assignments
[deliverable/binutils-gdb.git] / ld / testsuite / ld-powerpc / ambiguousv2b.d
CommitLineData
d1eca1e4
AM
1#source: startv2.s
2#source: funref2.s
3#as: -a64
4#ld: -melf64ppc --emit-stub-syms
5#ld_after_inputfiles: tmpdir/funv2.so
6#readelf: -rs --wide
7# Check that we do the right thing with funref2.s that doesn't have
8# anything to mark it as ELFv1 or ELFv2. Since my_func address is
9# taken in a read-only section we should get a plt entry, a global
10# entry stub, and my_func should be undefined dynamic with non-zero
11# value.
12
13Relocation section .* contains 1 entries:
14.*
15.* R_PPC64_JMP_SLOT .* my_func \+ 0
16
17Symbol table '\.dynsym' contains 5 entries:
18.*
19 0: .*
20 1: 0+100002b8 0 FUNC GLOBAL DEFAULT UND my_func
21 2: 0+10010408 0 NOTYPE GLOBAL DEFAULT 11 __bss_start
22 3: 0+10010408 0 NOTYPE GLOBAL DEFAULT 10 _edata
23 4: 0+10010420 0 NOTYPE GLOBAL DEFAULT 11 _end
24
25Symbol table '\.symtab' contains 21 entries:
26.*
27 0: .*
28 1: 0+10000158 0 SECTION LOCAL DEFAULT 1
29 2: 0+10000170 0 SECTION LOCAL DEFAULT 2
30 3: 0+10000198 0 SECTION LOCAL DEFAULT 3
31 4: 0+10000210 0 SECTION LOCAL DEFAULT 4
32 5: 0+10000248 0 SECTION LOCAL DEFAULT 5
33 6: 0+10000260 0 SECTION LOCAL DEFAULT 6
34 7: 0+100002c8 0 SECTION LOCAL DEFAULT 7
35 8: 0+100002d0 0 SECTION LOCAL DEFAULT 8
36 9: 0+100102d0 0 SECTION LOCAL DEFAULT 9
37 10: 0+10010400 0 SECTION LOCAL DEFAULT 10
38 11: 0+10010408 0 SECTION LOCAL DEFAULT 11
39 12: 0+100102d0 0 OBJECT LOCAL DEFAULT 9 _DYNAMIC
40 13: 0+100002b8 0 NOTYPE LOCAL DEFAULT 6 00000011\.global_entry\.my_func
41 14: 0+10000270 0 NOTYPE LOCAL DEFAULT 6 __glink_PLTresolve
42 15: 0+100002c8 0 NOTYPE GLOBAL DEFAULT 7 func_tab
43 16: 0+100002b8 0 FUNC GLOBAL DEFAULT UND my_func
44 17: 0+10000260 0 NOTYPE GLOBAL DEFAULT 6 _start
45 18: 0+10010408 0 NOTYPE GLOBAL DEFAULT 11 __bss_start
46 19: 0+10010408 0 NOTYPE GLOBAL DEFAULT 10 _edata
47 20: 0+10010420 0 NOTYPE GLOBAL DEFAULT 11 _end
This page took 0.023656 seconds and 4 git commands to generate.