*** empty log message ***
[deliverable/binutils-gdb.git] / ld / testsuite / ld-sh / tlsbin-2.d
CommitLineData
6c381eeb
KK
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
8There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
9
10Section Headers:
11 \[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
12 \[ 0\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0
85167a84
AM
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 .*
21 \[ 9\] \.tdata +PROGBITS .* 0+018 00 WAT 0 0 4
22 \[10\] \.tbss +NOBITS .* 0+010 00 WAT 0 0 1
f6a8ae81 23#...
85167a84 24 \[[0-9a-f]+\] \.got +PROGBITS .*
6c381eeb 25#...
85167a84
AM
26 \[[0-9a-f]+\] \.shstrtab .*
27 \[[0-9a-f]+\] \.symtab .*
28 \[[0-9a-f]+\] \.strtab .*
6c381eeb
KK
29Key to Flags:
30.*
31.*
32.*
33
34Elf file type is EXEC \(Executable file\)
35Entry point 0x402000
36There are [0-9]+ program headers, starting at offset [0-9]+
37
38Program Headers:
39 Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
40 PHDR.*
41 INTERP.*
42.*Requesting program interpreter.*
43 LOAD.*
44 LOAD.*
45 DYNAMIC.*
a2b2bf0e 46 TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+28 R +0x4
6c381eeb
KK
47
48 Section to Segment mapping:
49 Segment Sections\.\.\.
50 00 +
51 01 +\.interp *
52 02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.plt \.text *
d72d9b9e 53 03 +\.tdata \.dynamic \.got *
cbaa0dc5 54 04 +\.dynamic *
6c381eeb
KK
55 05 +\.tdata \.tbss *
56
267fb3c1 57Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 4 entries:
6c381eeb 58 Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
85167a84
AM
59[0-9a-f ]+R_SH_TLS_TPOFF32 +0+ +sG3 \+ 0
60[0-9a-f ]+R_SH_TLS_TPOFF32 +0+ +sG2 \+ 0
61[0-9a-f ]+R_SH_TLS_TPOFF32 +0+ +sG4 \+ 0
62[0-9a-f ]+R_SH_TLS_TPOFF32 +0+ +sG1 \+ 0
6c381eeb
KK
63
64Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entries:
65 Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend
85167a84 66[0-9a-f ]+R_SH_JMP_SLOT[0-9a-f ]+__tls_get_addr \+ [0-9a-f]+
6c381eeb
KK
67
68Symbol table '\.dynsym' contains [0-9]+ entries:
69 +Num: +Value +Size Type +Bind +Vis +Ndx Name
85167a84
AM
70.* NOTYPE +LOCAL +DEFAULT UND *
71.* TLS +GLOBAL DEFAULT UND sG3
72.* TLS +GLOBAL DEFAULT UND sG2
73.* TLS +GLOBAL DEFAULT UND sG4
74.* FUNC +GLOBAL DEFAULT UND __tls_get_addr
6c381eeb 75#...
85167a84 76.* TLS +GLOBAL DEFAULT UND sG1
6c381eeb
KK
77#...
78
6c381eeb 79#pass
This page took 0.366915 seconds and 4 git commands to generate.