Don't hardcode .got.plt into DATA_SEGMENT_RELRO_END evaluation
[platform/upstream/binutils.git] / ld / testsuite / ld-i386 / tlspic-nacl.rd
1 #source: tlspic1.s
2 #source: tlspic2.s
3 #as: --32
4 #ld: -shared -melf_i386_nacl --no-ld-generated-unwind-info
5 #readelf: -Ssrl
6 #target: i?86-*-nacl*
7
8 There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
9
10 Section Headers:
11  +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
12  +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0
13  +\[[ 0-9]+\] \.plt +.*
14  +\[[ 0-9]+\] \.text +.*
15  +\[[ 0-9]+\] \.hash +.*
16  +\[[ 0-9]+\] \.dynsym +.*
17  +\[[ 0-9]+\] \.dynstr +.*
18  +\[[ 0-9]+\] \.rel.dyn +.*
19  +\[[ 0-9]+\] \.rel.plt +.*
20  +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000060 00 WAT +0 +0 +1
21  +\[[ 0-9]+\] \.tbss +NOBITS +[0-9aa-f]+ [0-9a-f]+ 000020 00 WAT +0 +0 +1
22  +\[[ 0-9]+\] \.dynamic +.*
23  +\[[ 0-9]+\] \.got +.*
24  +\[[ 0-9]+\] \.got.plt +.*
25  +\[[ 0-9]+\] \.shstrtab +.*
26  +\[[ 0-9]+\] \.symtab +.*
27  +\[[ 0-9]+\] \.strtab +.*
28 Key to Flags:
29 .*
30 .*
31 .*
32
33 Elf file type is DYN \(Shared object file\)
34 Entry point 0x[0-9a-f]+
35 There are [0-9]+ program headers, starting at offset [0-9]+
36
37 Program Headers:
38  +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
39  +LOAD.*
40  +LOAD.*
41  +LOAD.*
42  +DYNAMIC.*
43  +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1
44
45  Section to Segment mapping:
46  +Segment Sections...
47  +00 +.plt .text *
48  +01 +.hash .dynsym .dynstr .rel.dyn .rel.plt *
49  +02 +.tdata .dynamic .got .got.plt *
50  +03 +.dynamic *
51  +04 +.tdata .tbss *
52
53 Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 26 entries:
54  Offset +Info +Type +Sym.Value +Sym. Name
55 [0-9a-f ]+R_386_TLS_DTPMOD3
56 [0-9a-f ]+R_386_TLS_TPOFF32
57 [0-9a-f ]+R_386_TLS_TPOFF *
58 [0-9a-f ]+R_386_TLS_TPOFF32
59 [0-9a-f ]+R_386_TLS_TPOFF *
60 [0-9a-f ]+R_386_TLS_TPOFF *
61 [0-9a-f ]+R_386_TLS_DTPMOD3
62 [0-9a-f ]+R_386_TLS_DTPMOD3
63 [0-9a-f ]+R_386_TLS_TPOFF *
64 [0-9a-f ]+R_386_TLS_TPOFF32
65 [0-9a-f ]+R_386_TLS_TPOFF32
66 [0-9a-f ]+R_386_TLS_TPOFF *
67 [0-9a-f ]+R_386_TLS_TPOFF32
68 [0-9a-f ]+R_386_TLS_TPOFF *
69 [0-9a-f ]+R_386_TLS_TPOFF *
70 [0-9a-f ]+R_386_TLS_TPOFF *
71 [0-9a-f ]+R_386_TLS_TPOFF *
72 [0-9a-f ]+R_386_TLS_DTPMOD3
73 [0-9a-f ]+R_386_TLS_TPOFF32
74 [0-9a-f ]+R_386_TLS_TPOFF +0+8 +sg3
75 [0-9a-f ]+R_386_TLS_TPOFF32 0+c +sg4
76 [0-9a-f ]+R_386_TLS_TPOFF +0+c +sg4
77 [0-9a-f ]+R_386_TLS_TPOFF +0+10 +sg5
78 [0-9a-f ]+R_386_TLS_DTPMOD3 0+ +sg1
79 [0-9a-f ]+R_386_TLS_DTPOFF3 0+ +sg1
80 [0-9a-f ]+R_386_TLS_TPOFF32 0+4 +sg2
81
82 Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 1 entries:
83  Offset +Info +Type +Sym.Value +Sym. Name
84 [0-9a-f ]+R_386_JUMP_SLOT +0+ +___tls_get_addr
85
86 Symbol table '\.dynsym' contains [0-9]+ entries:
87  +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
88  +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
89  +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +8 sg8
90  +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +8 sg3
91  +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +8 sg4
92  +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +8 sg5
93  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +8 sg1
94  +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +2 fn1
95  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
96  +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +8 sg2
97  +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +8 sg6
98  +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +8 sg7
99  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
100  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
101  +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr
102
103 Symbol table '\.symtab' contains [0-9]+ entries:
104  +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
105  +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
106  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
107  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
108  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
109  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
110  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
111  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
112  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
113  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
114  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
115  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
116  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 *
117  +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 *
118  +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +8 sl1
119  +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +8 sl2
120  +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +8 sl3
121  +[0-9]+: 0+2c +0 +TLS +LOCAL +DEFAULT +8 sl4
122  +[0-9]+: 0+30 +0 +TLS +LOCAL +DEFAULT +8 sl5
123  +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +8 sl6
124  +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +8 sl7
125  +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +8 sl8
126  +[0-9]+: 0+60 +0 +TLS +LOCAL +DEFAULT +9 sH1
127  +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +10 _DYNAMIC
128  +[0-9]+: 0+48 +0 +TLS +LOCAL +DEFAULT +8 sh3
129  +[0-9]+: 0+64 +0 +TLS +LOCAL +DEFAULT +9 sH2
130  +[0-9]+: 0+78 +0 +TLS +LOCAL +DEFAULT +9 sH7
131  +[0-9]+: 0+58 +0 +TLS +LOCAL +DEFAULT +8 sh7
132  +[0-9]+: 0+5c +0 +TLS +LOCAL +DEFAULT +8 sh8
133  +[0-9]+: 0+6c +0 +TLS +LOCAL +DEFAULT +9 sH4
134  +[0-9]+: 0+4c +0 +TLS +LOCAL +DEFAULT +8 sh4
135  +[0-9]+: 0+68 +0 +TLS +LOCAL +DEFAULT +9 sH3
136  +[0-9]+: 0+50 +0 +TLS +LOCAL +DEFAULT +8 sh5
137  +[0-9]+: 0+70 +0 +TLS +LOCAL +DEFAULT +9 sH5
138  +[0-9]+: 0+74 +0 +TLS +LOCAL +DEFAULT +9 sH6
139  +[0-9]+: 0+7c +0 +TLS +LOCAL +DEFAULT +9 sH8
140  +[0-9]+: 0+40 +0 +TLS +LOCAL +DEFAULT +8 sh1
141  +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +12 _GLOBAL_OFFSET_TABLE_
142  +[0-9]+: 0+44 +0 +TLS +LOCAL +DEFAULT +8 sh2
143  +[0-9]+: 0+54 +0 +TLS +LOCAL +DEFAULT +8 sh6
144  +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +8 sg8
145  +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +8 sg3
146  +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +8 sg4
147  +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +8 sg5
148  +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +8 sg1
149  +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +2 fn1
150  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
151  +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +8 sg2
152  +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +8 sg6
153  +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +8 sg7
154  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
155  +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
156  +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr