]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-i386/tlsnopic-nacl.rd
Enhance GAS's .section directive so that it can take numeric values for the flags...
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-i386 / tlsnopic-nacl.rd
1 #source: tlsnopic1.s
2 #source: tlsnopic2.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]+\] \.text +PROGBITS +0+ .*
14 +\[[ 0-9]+\] \.hash +.*
15 +\[[ 0-9]+\] \.dynsym +.*
16 +\[[ 0-9]+\] \.dynstr +.*
17 +\[[ 0-9]+\] \.rel.dyn +.*
18 +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000024 00 WAT +0 +0 +1
19 +\[[ 0-9]+\] \.dynamic +DYNAMIC +0*10010284 .*
20 +\[[ 0-9]+\] \.got +PROGBITS +0*10010304 .*
21 +\[[ 0-9]+\] \.got.plt +PROGBITS +0*1001031c .*
22 +\[[ 0-9]+\] \.shstrtab +.*
23 +\[[ 0-9]+\] \.symtab +.*
24 +\[[ 0-9]+\] \.strtab +.*
25 Key to Flags:
26 #...
27
28 Elf file type is DYN \(Shared object file\)
29 Entry point 0x0+
30 There are [0-9]+ program headers, starting at offset [0-9]+
31
32 Program Headers:
33 +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
34 +LOAD.*
35 +LOAD.*
36 +LOAD.*
37 +DYNAMIC.*
38 +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+ 0x0+24 R +0x1
39
40 Section to Segment mapping:
41 +Segment Sections...
42 +00 +.text *
43 +01 +.hash .dynsym .dynstr .rel.dyn *
44 +02 +.dynamic .got .got.plt *
45 +03 +.dynamic *
46 +04 +.tbss *
47
48 Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries:
49 Offset +Info +Type +Sym.Value +Sym. Name
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 +
56 [0-9a-f ]+R_386_TLS_TPOFF32 0+ +sg3
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 +
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
70
71
72 Symbol table '\.dynsym' contains [0-9]+ entries:
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+ +0 +FUNC +GLOBAL +DEFAULT +1 fn3
78 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg5
79 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg1
80 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 __bss_start
81 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg2
82 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _edata
83 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _end
84
85 Symbol table '\.symtab' contains [0-9]+ entries:
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 *
97 .* FILE +LOCAL +DEFAULT +ABS tmpdir/tlsnopic1.o
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
103 .* FILE +LOCAL +DEFAULT +ABS
104 +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +7 _DYNAMIC
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
108 +[0-9]+: 0*1001031c +0 +OBJECT +LOCAL +DEFAULT +9 _GLOBAL_OFFSET_TABLE_
109 +[0-9]+: 0+18 +0 +TLS +LOCAL +DEFAULT +6 sh2
110 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg3
111 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg4
112 +[0-9]+: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 fn3
113 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg5
114 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg1
115 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 __bss_start
116 +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg2
117 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _edata
118 +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _end