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