]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/testsuite/ld-powerpc/tlsexe32.r
bfd/
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-powerpc / tlsexe32.r
CommitLineData
2a050fb5
AM
1#source: tls32.s
2#source: tlslib32.s
3#as: -a32
4#ld: -melf32ppc
5#readelf: -WSsrl
6#target: powerpc*-*-*
7
c9ccd0df 8There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
2a050fb5
AM
9
10Section Headers:
11 +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
c9ccd0df
MF
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]+ 000070 00 +AX +0 +0 +1
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]+ 00001c 04 WAX +0 +0 +4
24 +\[[ 0-9]+\] \.plt +NOBITS +.*
25 +\[[ 0-9]+\] \.shstrtab +STRTAB +.*
26 +\[[ 0-9]+\] \.symtab +SYMTAB +.*
27 +\[[ 0-9]+\] \.strtab +STRTAB +.*
2a050fb5
AM
28#...
29
30Elf file type is EXEC \(Executable file\)
85167a84 31Entry point .*
c9ccd0df 32There are [0-9]+ program headers, starting at offset [0-9]+
2a050fb5
AM
33
34Program Headers:
35 +Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz +Flg Align
cb2d1ef2
AM
36 +PHDR +0x000034 0x01800034 0x01800034 0x000c0 0x000c0 R E 0x4
37 +INTERP +0x0000f4 0x018000f4 0x018000f4 0x00011 0x00011 R +0x1
2a050fb5 38 +\[Requesting program interpreter: .*\]
85167a84
AM
39 +LOAD .* R E 0x10000
40 +LOAD .* RWE 0x10000
41 +DYNAMIC .* RW +0x4
42 +TLS .* 0x0001c 0x00038 R +0x4
2a050fb5
AM
43
44 Section to Segment mapping:
45 +Segment Sections\.\.\.
46 +00 +
47 +01 +\.interp
48 +02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text
d72d9b9e 49 +03 +\.tdata \.dynamic \.got \.plt
cbaa0dc5 50 +04 +\.dynamic
2a050fb5
AM
51 +05 +\.tdata \.tbss
52
85167a84 53Relocation section '\.rela\.dyn' at offset .* contains 2 entries:
2a050fb5 54 Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
85167a84
AM
55[0-9a-f ]+R_PPC_TPREL32 +00000000 +gd \+ 0
56[0-9a-f ]+R_PPC_DTPMOD32 +00000000 +ld \+ 0
2a050fb5 57
85167a84 58Relocation section '\.rela\.plt' at offset .* contains 1 entries:
2a050fb5 59 Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
a7f2871e 60[0-9a-f ]+R_PPC_JMP_SLOT[0-9a-f ]+__tls_get_addr_opt \+ 0
2a050fb5 61
85167a84 62Symbol table '\.dynsym' contains [0-9]+ entries:
f9272224 63 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
85167a84 64.* NOTYPE +LOCAL +DEFAULT +UND
f9272224
AM
65.* TLS +GLOBAL +DEFAULT +UND gd
66.* TLS +GLOBAL +DEFAULT +UND ld
67.* NOTYPE +GLOBAL +DEFAULT +ABS __end
68.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
69.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt
70.* NOTYPE +GLOBAL +DEFAULT +ABS _edata
71.* NOTYPE +GLOBAL +DEFAULT +ABS _end
2a050fb5 72
c9ccd0df 73Symbol table '\.symtab' contains [0-9]+ entries:
f9272224 74 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
85167a84 75.* NOTYPE +LOCAL +DEFAULT +UND
f9272224
AM
76.* SECTION +LOCAL +DEFAULT +1
77.* SECTION +LOCAL +DEFAULT +2
78.* SECTION +LOCAL +DEFAULT +3
79.* SECTION +LOCAL +DEFAULT +4
80.* SECTION +LOCAL +DEFAULT +5
81.* SECTION +LOCAL +DEFAULT +6
82.* SECTION +LOCAL +DEFAULT +7
83.* SECTION +LOCAL +DEFAULT +8
84.* SECTION +LOCAL +DEFAULT +9
85.* SECTION +LOCAL +DEFAULT +10
86.* SECTION +LOCAL +DEFAULT +11
87.* SECTION +LOCAL +DEFAULT +12
ffbc01cc 88.* FILE +LOCAL +DEFAULT +ABS .*
85167a84
AM
89.* TLS +LOCAL +DEFAULT +8 gd4
90.* TLS +LOCAL +DEFAULT +8 ld4
91.* TLS +LOCAL +DEFAULT +8 ld5
92.* TLS +LOCAL +DEFAULT +8 ld6
93.* TLS +LOCAL +DEFAULT +8 ie4
94.* TLS +LOCAL +DEFAULT +8 le4
95.* TLS +LOCAL +DEFAULT +8 le5
ffbc01cc 96.* FILE +LOCAL +DEFAULT +ABS .*
935bd1e0
L
97.* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC
98.* OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_
f9272224
AM
99.* TLS +GLOBAL +DEFAULT +UND gd
100.* TLS +GLOBAL +DEFAULT +9 le0
101.* TLS +GLOBAL +DEFAULT +9 ld0
102.* TLS +GLOBAL +DEFAULT +9 le1
103.* TLS +GLOBAL +DEFAULT +UND ld
104.* NOTYPE +GLOBAL +DEFAULT +7 _start
105.* NOTYPE +GLOBAL +DEFAULT +ABS __end
106.* TLS +GLOBAL +DEFAULT +9 ld2
107.* TLS +GLOBAL +DEFAULT +9 ld1
108.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
109.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt
110.* NOTYPE +GLOBAL +DEFAULT +ABS _edata
111.* NOTYPE +GLOBAL +DEFAULT +ABS _end
112.* TLS +GLOBAL +DEFAULT +9 gd0
113.* TLS +GLOBAL +DEFAULT +9 ie0