]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-i386/tlsnopic.rd
Properly place the NULL STT_FILE symbol revistited
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-i386 / tlsnopic.rd
CommitLineData
37e55690
JJ
1#source: tlsnopic1.s
2#source: tlsnopic2.s
3#as: --32
e41b3a13 4#ld: -shared -melf_i386 --no-ld-generated-unwind-info
37e55690
JJ
5#readelf: -Ssrl
6#target: i?86-*-*
7
c9ccd0df 8There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
37e55690
JJ
9
10Section Headers:
f9272224 11 +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
c9ccd0df
MF
12 +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0
13 +\[[ 0-9]+\] \.hash +.*
14 +\[[ 0-9]+\] \.dynsym +.*
15 +\[[ 0-9]+\] \.dynstr +.*
16 +\[[ 0-9]+\] \.rel.dyn +.*
17 +\[[ 0-9]+\] \.text +PROGBITS +0+1000 .*
f9272224 18 +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000024 00 WAT +0 +0 +1
c9ccd0df
MF
19 +\[[ 0-9]+\] \.dynamic +DYNAMIC +0+20f4 .*
20 +\[[ 0-9]+\] \.got +PROGBITS +0+2174 .*
21 +\[[ 0-9]+\] \.got.plt +PROGBITS +0+218c .*
22 +\[[ 0-9]+\] \.shstrtab +.*
23 +\[[ 0-9]+\] \.symtab +.*
24 +\[[ 0-9]+\] \.strtab +.*
37e55690
JJ
25Key to Flags:
26.*
27.*
28.*
29
30Elf file type is DYN \(Shared object file\)
31Entry point 0x1000
c9ccd0df 32There are [0-9]+ program headers, starting at offset [0-9]+
37e55690
JJ
33
34Program Headers:
f9272224
AM
35 +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
36 +LOAD.*
37 +LOAD.*
38 +DYNAMIC.*
39 +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+ 0x0+24 R +0x1
37e55690
JJ
40
41 Section to Segment mapping:
f9272224
AM
42 +Segment Sections...
43 +00 +.hash .dynsym .dynstr .rel.dyn .text *
44 +01 +.dynamic .got .got.plt *
45 +02 +.dynamic *
46 +03 +.tbss *
37e55690
JJ
47
48Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries:
49 Offset +Info +Type +Sym.Value +Sym. Name
f6ac7612
AM
50[0-9a-f ]+R_386_RELATIVE +
51[0-9a-f ]+R_386_RELATIVE +
52[0-9a-f ]+R_386_RELATIVE +
53[0-9a-f ]+R_386_RELATIVE +
54[0-9a-f ]+R_386_RELATIVE +
55[0-9a-f ]+R_386_RELATIVE +
f9272224 56[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sg3
f6ac7612
AM
57[0-9a-f ]+R_386_TLS_TPOFF32
58[0-9a-f ]+R_386_TLS_TPOFF +
59[0-9a-f ]+R_386_TLS_TPOFF +
60[0-9a-f ]+R_386_TLS_TPOFF +
61[0-9a-f ]+R_386_TLS_TPOFF +
62[0-9a-f ]+R_386_TLS_TPOFF +
63[0-9a-f ]+R_386_TLS_TPOFF +
64[0-9a-f ]+R_386_TLS_TPOFF +
65[0-9a-f ]+R_386_TLS_TPOFF +
f9272224
AM
66[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg4
67[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg5
68[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg1
69[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg2
37e55690
JJ
70
71
c9ccd0df 72Symbol table '\.dynsym' contains [0-9]+ entries:
f9272224
AM
73 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
74 +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
75 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg3
76 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg4
77 +[0-9]+: 0+1000 +0 +FUNC +GLOBAL +DEFAULT +5 fn3
78 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg5
79 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg1
d2667025 80 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 __bss_start
f9272224 81 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg2
d2667025
AM
82 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _edata
83 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _end
37e55690 84
c9ccd0df 85Symbol table '\.symtab' contains [0-9]+ entries:
f9272224
AM
86 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
87 +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
88 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
89 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
90 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
91 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
92 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
93 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
94 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
95 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
96 +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
35f82954 97.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsnopic1.o
f9272224
AM
98 +[0-9]+: 0+00 +0 +TLS +LOCAL +DEFAULT +6 bl1
99 +[0-9]+: 0+04 +0 +TLS +LOCAL +DEFAULT +6 bl2
100 +[0-9]+: 0+08 +0 +TLS +LOCAL +DEFAULT +6 bl3
101 +[0-9]+: 0+0c +0 +TLS +LOCAL +DEFAULT +6 bl4
102 +[0-9]+: 0+10 +0 +TLS +LOCAL +DEFAULT +6 bl5
35f82954
L
103.* FILE +LOCAL +DEFAULT +ABS
104 +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +7 _DYNAMIC
935bd1e0
L
105 +[0-9]+: 0+1c +0 +TLS +LOCAL +DEFAULT +6 sh3
106 +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +6 sh4
107 +[0-9]+: 0+14 +0 +TLS +LOCAL +DEFAULT +6 sh1
2ec55de3 108 +[0-9]+: 0+218c +0 +OBJECT +LOCAL +DEFAULT +9 _GLOBAL_OFFSET_TABLE_
935bd1e0 109 +[0-9]+: 0+18 +0 +TLS +LOCAL +DEFAULT +6 sh2
f9272224
AM
110 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg3
111 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg4
112 +[0-9]+: 0+1000 +0 +FUNC +GLOBAL +DEFAULT +5 fn3
113 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg5
114 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg1
d2667025 115 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 __bss_start
f9272224 116 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg2
d2667025
AM
117 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _edata
118 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _end