daily update
[binutils.git] / ld / testsuite / ld-powerpc / tlsso32.r
blobc0c120c635be34fbaf13b6df5340dca440cdb0c8
1 #source: tls32.s
2 #as: -a32
3 #ld: -shared -melf32ppc
4 #readelf: -WSsrl
5 #target: powerpc*-*-*
7 There are 15 section headers.*
9 Section Headers:
10 +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
11 +\[ 0\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0
12 +\[ 1\] \.hash +.*
13 +\[ 2\] \.dynsym +.*
14 +\[ 3\] \.dynstr +.*
15 +\[ 4\] \.rela\.dyn +.*
16 +\[ 5\] \.rela\.plt +.*
17 +\[ 6\] \.text +PROGBITS .* 0+70 0+ +AX +0 +0 +1
18 +\[ 7\] \.tdata +PROGBITS .* 0+1c 0+ WAT +0 +0 +4
19 +\[ 8\] \.tbss +NOBITS .* 0+1c 0+ WAT +0 +0 +4
20 +\[ 9\] \.dynamic +DYNAMIC .* 08 +WA +3 +0 +4
21 +\[10\] \.got +PROGBITS .* 0+34 04 WAX +0 +0 +4
22 +\[11\] \.plt +.*
23 +\[12\] \.shstrtab +.*
24 +\[13\] \.symtab +.*
25 +\[14\] \.strtab +.*
26 #...
28 Elf file type is DYN \(Shared object file\)
29 Entry point 0x[0-9a-f]+
30 There are 4 program headers.*
32 Program Headers:
33 +Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz +Flg Align
34 +LOAD .* R E 0x10000
35 +LOAD .* RWE 0x10000
36 +DYNAMIC .* RW +0x4
37 +TLS .* 0x0+1c 0x0+38 R +0x4
39 Section to Segment mapping:
40 +Segment Sections\.\.\.
41 +0+ +\.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text
42 +01 +\.tdata \.dynamic \.got \.plt
43 +02 +\.dynamic
44 +03 +\.tdata \.tbss
46 Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 18 entries:
47 Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
48 [0-9a-f ]+R_PPC_REL24 +0+ +__tls_get_addr \+ 0
49 [0-9a-f ]+R_PPC_REL24 +0+ +__tls_get_addr \+ 0
50 [0-9a-f ]+R_PPC_REL24 +0+ +__tls_get_addr \+ 0
51 [0-9a-f ]+R_PPC_REL24 +0+ +__tls_get_addr \+ 0
52 [0-9a-f ]+R_PPC_TPREL16 +0+30 +le0 \+ 0
53 [0-9a-f ]+R_PPC_TPREL16_HA +0+34 +le1 \+ 0
54 [0-9a-f ]+R_PPC_TPREL16_LO +0+34 +le1 \+ 0
55 [0-9a-f ]+R_PPC_TPREL16 +0+1041c +\.tdata \+ 10430
56 [0-9a-f ]+R_PPC_TPREL16_HA +0+1041c +\.tdata \+ 10434
57 [0-9a-f ]+R_PPC_TPREL16_LO +0+1041c +\.tdata \+ 10434
58 [0-9a-f ]+R_PPC_DTPMOD32 +0+
59 [0-9a-f ]+R_PPC_DTPREL32 +0+
60 [0-9a-f ]+R_PPC_DTPMOD32 +0+
61 [0-9a-f ]+R_PPC_DTPMOD32 +0+ +gd \+ 0
62 [0-9a-f ]+R_PPC_DTPREL32 +0+ +gd \+ 0
63 [0-9a-f ]+R_PPC_DTPMOD32 +0+1c +gd0 \+ 0
64 [0-9a-f ]+R_PPC_DTPREL32 +0+1c +gd0 \+ 0
65 [0-9a-f ]+R_PPC_TPREL32 +0+2c +ie0 \+ 0
67 Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entries:
68 Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
69 [0-9a-f ]+R_PPC_JMP_SLOT +0+ +__tls_get_addr \+ 0
71 Symbol table '\.dynsym' contains [0-9]+ entries:
72 +Num: +Value +Size Type +Bind +Vis +Ndx Name
73 .* NOTYPE +LOCAL +DEFAULT +UND
74 .* SECTION LOCAL +DEFAULT +6
75 .* SECTION LOCAL +DEFAULT +7
76 .* SECTION LOCAL +DEFAULT +8
77 .* TLS +GLOBAL DEFAULT +UND gd
78 .* TLS +GLOBAL DEFAULT +8 le0
79 .* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr
80 .* TLS +GLOBAL DEFAULT +8 ld0
81 .* TLS +GLOBAL DEFAULT +8 le1
82 .* TLS +GLOBAL DEFAULT +UND ld
83 .* NOTYPE +GLOBAL DEFAULT +6 _start
84 .* NOTYPE +GLOBAL DEFAULT +ABS __end
85 .* TLS +GLOBAL DEFAULT +8 ld2
86 .* TLS +GLOBAL DEFAULT +8 ld1
87 .* NOTYPE +GLOBAL DEFAULT +ABS __bss_start
88 .* NOTYPE +GLOBAL DEFAULT +ABS _edata
89 .* NOTYPE +GLOBAL DEFAULT +ABS _end
90 .* TLS +GLOBAL DEFAULT +8 gd0
91 .* TLS +GLOBAL DEFAULT +8 ie0
93 Symbol table '\.symtab' contains 39 entries:
94 +Num: +Value +Size Type +Bind +Vis +Ndx Name
95 .* NOTYPE +LOCAL +DEFAULT +UND
96 .* SECTION LOCAL +DEFAULT +1
97 .* SECTION LOCAL +DEFAULT +2
98 .* SECTION LOCAL +DEFAULT +3
99 .* SECTION LOCAL +DEFAULT +4
100 .* SECTION LOCAL +DEFAULT +5
101 .* SECTION LOCAL +DEFAULT +6
102 .* SECTION LOCAL +DEFAULT +7
103 .* SECTION LOCAL +DEFAULT +8
104 .* SECTION LOCAL +DEFAULT +9
105 .* SECTION LOCAL +DEFAULT +10
106 .* SECTION LOCAL +DEFAULT +11
107 .* SECTION LOCAL +DEFAULT +12
108 .* SECTION LOCAL +DEFAULT +13
109 .* SECTION LOCAL +DEFAULT +14
110 .* TLS +LOCAL +DEFAULT +7 gd4
111 .* TLS +LOCAL +DEFAULT +7 ld4
112 .* TLS +LOCAL +DEFAULT +7 ld5
113 .* TLS +LOCAL +DEFAULT +7 ld6
114 .* TLS +LOCAL +DEFAULT +7 ie4
115 .* TLS +LOCAL +DEFAULT +7 le4
116 .* TLS +LOCAL +DEFAULT +7 le5
117 .* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
118 .* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
119 .* TLS +GLOBAL DEFAULT +UND gd
120 .* TLS +GLOBAL DEFAULT +8 le0
121 .* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr
122 .* TLS +GLOBAL DEFAULT +8 ld0
123 .* TLS +GLOBAL DEFAULT +8 le1
124 .* TLS +GLOBAL DEFAULT +UND ld
125 .* NOTYPE +GLOBAL DEFAULT +6 _start
126 .* NOTYPE +GLOBAL DEFAULT +ABS __end
127 .* TLS +GLOBAL DEFAULT +8 ld2
128 .* TLS +GLOBAL DEFAULT +8 ld1
129 .* NOTYPE +GLOBAL DEFAULT +ABS __bss_start
130 .* NOTYPE +GLOBAL DEFAULT +ABS _edata
131 .* NOTYPE +GLOBAL DEFAULT +ABS _end
132 .* TLS +GLOBAL DEFAULT +8 gd0
133 .* TLS +GLOBAL DEFAULT +8 ie0