Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-powerpc / tlsexe32.r
blob0e5765911a52fcb1c59af227dd776a8f7da6f455
1 #source: tls32.s
2 #source: tlslib32.s
3 #as: -a32
4 #ld:
5 #readelf: -WSsrl
6 #target: powerpc*-*-*
8 There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
10 Section Headers:
11 +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
12 +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
13 +\[[ 0-9]+\] \.interp +.*
14 +\[[ 0-9]+\] \.hash +.*
15 +\[[ 0-9]+\] \.dynsym +.*
16 +\[[ 0-9]+\] \.dynstr +.*
17 +\[[ 0-9]+\] \.rela\.dyn +.*
18 +\[[ 0-9]+\] \.rela\.plt +.*
19 +\[[ 0-9]+\] \.text +PROGBITS +[0-9a-f]+ [0-9a-f]+ 0000f0 00 +AX +0 +0 +16
20 +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 00001c 00 WAT +0 +0 +4
21 +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 00001c 00 WAT +0 +0 +4
22 +\[[ 0-9]+\] \.dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4
23 +\[[ 0-9]+\] \.got +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000018 04 +WA +0 +0 +4
24 +\[[ 0-9]+\] \.plt +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000004 00 +WA +0 +0 +4
25 #...
27 Elf file type is EXEC \(Executable file\)
28 Entry point .*
29 There are [0-9]+ program headers, starting at offset [0-9]+
31 Program Headers:
32 +Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz +Flg Align
33 +PHDR +0x000034 0x01800034 0x01800034 0x000c0 0x000c0 R +0x4
34 +INTERP +0x0000f4 0x018000f4 0x018000f4 0x00011 0x00011 R +0x1
35 +\[Requesting program interpreter: .*\]
36 +LOAD .* R E 0x10000
37 +LOAD .* RW +0x10000
38 +DYNAMIC .* RW +0x4
39 +TLS .* 0x0001c 0x00038 R +0x4
41 Section to Segment mapping:
42 +Segment Sections\.\.\.
43 +00 +
44 +01 +\.interp
45 +02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text
46 +03 +\.tdata \.dynamic \.got \.plt
47 +04 +\.dynamic
48 +05 +\.tdata \.tbss
50 Relocation section '\.rela\.dyn' at offset .* contains 2 entries:
51 Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
52 [0-9a-f ]+R_PPC_TPREL32 +00000000 +gd \+ 0
53 [0-9a-f ]+R_PPC_DTPMOD32 +00000000 +ld \+ 0
55 Relocation section '\.rela\.plt' at offset .* contains 1 entry:
56 Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
57 [0-9a-f ]+R_PPC_JMP_SLOT[0-9a-f ]+__tls_get_addr_opt \+ 0
59 Symbol table '\.dynsym' contains [0-9]+ entries:
60 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
61 .* NOTYPE +LOCAL +DEFAULT +UND
62 .* TLS +GLOBAL +DEFAULT +UND gd
63 .* TLS +GLOBAL +DEFAULT +UND ld
64 .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt
66 Symbol table '\.symtab' contains [0-9]+ entries:
67 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
68 .* NOTYPE +LOCAL +DEFAULT +UND
69 .* SECTION +LOCAL +DEFAULT +1 \.interp
70 .* SECTION +LOCAL +DEFAULT +2 \.hash
71 .* SECTION +LOCAL +DEFAULT +3 \.dynsym
72 .* SECTION +LOCAL +DEFAULT +4 \.dynstr
73 .* SECTION +LOCAL +DEFAULT +5 \.rela\.dyn
74 .* SECTION +LOCAL +DEFAULT +6 \.rela\.plt
75 .* SECTION +LOCAL +DEFAULT +7 \.text
76 .* SECTION +LOCAL +DEFAULT +8 \.tdata
77 .* SECTION +LOCAL +DEFAULT +9 \.tbss
78 .* SECTION +LOCAL +DEFAULT +10 \.dynamic
79 .* SECTION +LOCAL +DEFAULT +11 \.got
80 .* SECTION +LOCAL +DEFAULT +12 \.plt
81 #...
82 .* FILE +LOCAL +DEFAULT +ABS .*
83 .* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK
84 .* TLS +LOCAL +DEFAULT +8 gd4
85 .* TLS +LOCAL +DEFAULT +8 ld4
86 .* TLS +LOCAL +DEFAULT +8 ld5
87 .* TLS +LOCAL +DEFAULT +8 ld6
88 .* TLS +LOCAL +DEFAULT +8 ie4
89 .* TLS +LOCAL +DEFAULT +8 le4
90 .* TLS +LOCAL +DEFAULT +8 le5
91 .* FILE +LOCAL +DEFAULT +ABS .*
92 .* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC
93 .* OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_
94 .* TLS +GLOBAL +DEFAULT +UND gd
95 .* TLS +GLOBAL +DEFAULT +9 le0
96 .* TLS +GLOBAL +DEFAULT +9 ld0
97 .* TLS +GLOBAL +DEFAULT +9 le1
98 .* TLS +GLOBAL +DEFAULT +UND ld
99 .* NOTYPE +GLOBAL +DEFAULT +7 _start
100 .* NOTYPE +GLOBAL +DEFAULT +1[23] __end
101 .* TLS +GLOBAL +DEFAULT +9 ld2
102 .* TLS +GLOBAL +DEFAULT +9 ld1
103 .* NOTYPE +GLOBAL +DEFAULT +1[23] __bss_start
104 .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt
105 .* NOTYPE +GLOBAL +DEFAULT +1[23] _edata
106 .* NOTYPE +GLOBAL +DEFAULT +1[23] _end
107 .* TLS +GLOBAL +DEFAULT +9 gd0
108 .* TLS +GLOBAL +DEFAULT +9 ie0