1 |
38 |
julius |
#source: align.s
|
2 |
|
|
#source: tlsbinpic.s
|
3 |
|
|
#source: tlsbin.s
|
4 |
|
|
#as:
|
5 |
|
|
#ld: -melf64alpha
|
6 |
|
|
#readelf: -WSsrl
|
7 |
|
|
#target: alpha*-*-*
|
8 |
|
|
|
9 |
|
|
There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
|
10 |
|
|
|
11 |
|
|
Section Headers:
|
12 |
|
|
\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
|
13 |
|
|
+\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
|
14 |
|
|
+\[[ 0-9]+\] .interp +.*
|
15 |
|
|
+\[[ 0-9]+\] .hash +.*
|
16 |
|
|
+\[[ 0-9]+\] .dynsym +.*
|
17 |
|
|
+\[[ 0-9]+\] .dynstr +.*
|
18 |
|
|
+\[[ 0-9]+\] .rela.dyn +.*
|
19 |
|
|
+\[[ 0-9]+\] .rela.plt +.*
|
20 |
|
|
+\[[ 0-9]+\] .text +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +AX +0 +0 4096
|
21 |
|
|
+\[[ 0-9]+\] .eh_frame +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +A +0 +0 +8
|
22 |
|
|
+\[[ 0-9]+\] .tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 WAT +0 +0 +4
|
23 |
|
|
+\[[ 0-9]+\] .tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 WAT +0 +0 +1
|
24 |
|
|
+\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 10 +WA +4 +0 +8
|
25 |
|
|
+\[[ 0-9]+\] .plt +.*
|
26 |
|
|
+\[[ 0-9]+\] .got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WA +0 +0 +8
|
27 |
|
|
+\[[ 0-9]+\] .shstrtab +.*
|
28 |
|
|
+\[[ 0-9]+\] .symtab +.*
|
29 |
|
|
+\[[ 0-9]+\] .strtab +.*
|
30 |
|
|
#...
|
31 |
|
|
|
32 |
|
|
Elf file type is EXEC \(Executable file\)
|
33 |
|
|
Entry point 0x[0-9a-f]+
|
34 |
|
|
There are [0-9]+ program headers, starting at offset [0-9]+
|
35 |
|
|
|
36 |
|
|
Program Headers:
|
37 |
|
|
Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
|
38 |
|
|
PHDR +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+150 R E 0x8
|
39 |
|
|
INTERP +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x1
|
40 |
|
|
.*Requesting program interpreter.*
|
41 |
|
|
LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x10000
|
42 |
|
|
LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RWE 0x10000
|
43 |
|
|
DYNAMIC +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW +0x8
|
44 |
|
|
TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x4
|
45 |
|
|
#...
|
46 |
|
|
|
47 |
|
|
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 3 entries:
|
48 |
|
|
+Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend
|
49 |
|
|
[0-9a-f]+ [0-9a-f]+ R_ALPHA_TPREL64 +0+ sG2 \+ 0
|
50 |
|
|
[0-9a-f]+ [0-9a-f]+ R_ALPHA_DTPMOD64 +0+ sG1 \+ 0
|
51 |
|
|
[0-9a-f]+ [0-9a-f]+ R_ALPHA_DTPREL64 +0+ sG1 \+ 0
|
52 |
|
|
|
53 |
|
|
Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries:
|
54 |
|
|
+Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend
|
55 |
|
|
[0-9a-f]+ [0-9a-f]+ R_ALPHA_JMP_SLOT +[0-9a-f]+ __tls_get_addr \+ 0
|
56 |
|
|
|
57 |
|
|
Symbol table '\.dynsym' contains [0-9]+ entries:
|
58 |
|
|
+Num: +Value +Size Type +Bind +Vis +Ndx Name
|
59 |
|
|
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +LOCAL +DEFAULT +UND *
|
60 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG2
|
61 |
|
|
[0-9 ]+: [0-9a-f]+ +4 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
|
62 |
|
|
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start
|
63 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG1
|
64 |
|
|
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
|
65 |
|
|
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
|
66 |
|
|
|
67 |
|
|
Symbol table '\.symtab' contains [0-9]+ entries:
|
68 |
|
|
+Num: +Value +Size Type +Bind +Vis +Ndx Name
|
69 |
|
|
[0-9 ]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND
|
70 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +1
|
71 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +2
|
72 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +3
|
73 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +4
|
74 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +5
|
75 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +6
|
76 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +7
|
77 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +8
|
78 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +9
|
79 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +10
|
80 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11
|
81 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12
|
82 |
|
|
[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13
|
83 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl1
|
84 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl2
|
85 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl3
|
86 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl4
|
87 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl5
|
88 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl6
|
89 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl7
|
90 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl8
|
91 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl1
|
92 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl2
|
93 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl3
|
94 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl4
|
95 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl5
|
96 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl6
|
97 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl7
|
98 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl8
|
99 |
|
|
[0-9 ]+: [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +11 _DYNAMIC
|
100 |
|
|
[0-9 ]+: [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +12 _PROCEDURE_LINKAGE_TABLE_
|
101 |
|
|
[0-9 ]+: [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_
|
102 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg8
|
103 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg8
|
104 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg6
|
105 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg3
|
106 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg3
|
107 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh3
|
108 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG2
|
109 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg4
|
110 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg5
|
111 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg5
|
112 |
|
|
[0-9 ]+: [0-9a-f]+ +4 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
|
113 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh7
|
114 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh8
|
115 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg1
|
116 |
|
|
[0-9 ]+: [0-9a-f]+ +52 FUNC +GLOBAL DEFAULT +7 _start
|
117 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh4
|
118 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg7
|
119 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh5
|
120 |
|
|
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start
|
121 |
|
|
[0-9 ]+: [0-9a-f]+ +136 FUNC +GLOBAL DEFAULT +\[: 88\] +7 fn2
|
122 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg2
|
123 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG1
|
124 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh1
|
125 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg6
|
126 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg7
|
127 |
|
|
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
|
128 |
|
|
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
|
129 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh2
|
130 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh6
|
131 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg2
|
132 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg1
|
133 |
|
|
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg4
|