binutils/
[deliverable/binutils-gdb.git] / ld / testsuite / ld-sh / tlsbin-2.d
1 #source: tlsbinpic.s
2 #source: tlsbin.s
3 #as: -little
4 #ld: -EL tmpdir/tlsbin-0-dso.so
5 #readelf: -Ssrl
6 #target: sh*-*-linux* sh*-*-netbsd*
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\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0
13 \[ 1\] \.interp +.*
14 \[ 2\] \.hash +.*
15 \[ 3\] \.dynsym +.*
16 \[ 4\] \.dynstr +.*
17 \[ 5\] \.rela\.dyn +.*
18 \[ 6\] \.rela\.plt +.*
19 \[ 7\] \.plt +.*
20 \[ 8\] \.text +PROGBITS +0+401000 .*
21 \[ 9\] \.tdata +PROGBITS +0+413000 [0-9a-f]+ 0+018 00 WAT 0 0 4
22 \[10\] \.tbss +NOBITS +0+413018 [0-9a-f]+ 0+010 00 WAT 0 0 1
23 #...
24 \[[0-9a-f]+\] \.got +PROGBITS +0+414000 .*
25 \[[0-9a-f]+\] \.sbss +.*
26 \[[0-9a-f]+\] \.bss +.*
27 #...
28 \[[0-9a-f]+\] \.shstrtab +.*
29 \[[0-9a-f]+\] \.symtab +.*
30 \[[0-9a-f]+\] \.strtab +.*
31 Key to Flags:
32 .*
33 .*
34 .*
35
36 Elf file type is EXEC \(Executable file\)
37 Entry point 0x402000
38 There are [0-9]+ program headers, starting at offset [0-9]+
39
40 Program Headers:
41 Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
42 PHDR.*
43 INTERP.*
44 .*Requesting program interpreter.*
45 LOAD.*
46 LOAD.*
47 DYNAMIC.*
48 TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+28 R +0x4
49
50 Section to Segment mapping:
51 Segment Sections\.\.\.
52 00 +
53 01 +\.interp *
54 02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.plt \.text *
55 03 +\.tdata \.dynamic \.got *
56 04 +\.dynamic *
57 05 +\.tdata \.tbss *
58
59 Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 4 entries:
60 Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
61 0+414010 00000197 R_SH_TLS_TPOFF32 +0+ +sG3 \+ 0
62 0+414014 00000397 R_SH_TLS_TPOFF32 +0+ +sG2 \+ 0
63 0+414018 00000497 R_SH_TLS_TPOFF32 +0+ +sG4 \+ 0
64 0+41401c 0000[0-9a-f]+97 R_SH_TLS_TPOFF32 +0+ +sG1 \+ 0
65
66 Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entries:
67 Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
68 0+41400c 000005a4 R_SH_JMP_SLOT +[0-9a-f]+ +__tls_get_addr \+ [0-9a-f]+
69
70 Symbol table '\.dynsym' contains [0-9]+ entries:
71 +Num: +Value +Size Type +Bind +Vis +Ndx Name
72 +0: 0+ +0 NOTYPE +LOCAL +DEFAULT UND *
73 +1: 0+ +0 TLS +GLOBAL DEFAULT UND sG3
74 +2: [0-9a-f]+ +0 OBJECT GLOBAL DEFAULT ABS _DYNAMIC
75 +3: 0+ +0 TLS +GLOBAL DEFAULT UND sG2
76 +4: 0+ +0 TLS +GLOBAL DEFAULT UND sG4
77 +5: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT UND __tls_get_addr
78 #...
79 +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG1
80 #...
81
82 #pass
This page took 0.030697 seconds and 4 git commands to generate.