1 |
30 |
khays |
#source: align.s
|
2 |
|
|
#source: tlsbinpic.s
|
3 |
|
|
#source: tlsbin.s
|
4 |
|
|
#as:
|
5 |
|
|
#ld: -relax -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+ 0+ +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]+ 0+ +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]+ 0+ WAT +0 +0 +4
|
23 |
|
|
+\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 0+ 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 +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 0+ WAX +0 +0 +16
|
26 |
|
|
+\[[ 0-9]+\] \.got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 0+ +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]+ 0x[0-9a-f]+ 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 2 entries:
|
48 |
|
|
+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
|
49 |
|
|
[0-9a-f]+ +0+100000026 R_ALPHA_TPREL64 +0+ sG2 \+ 0
|
50 |
|
|
[0-9a-f]+ +0+400000026 R_ALPHA_TPREL64 +0+ sG1 \+ 0
|
51 |
|
|
|
52 |
|
|
Symbol table '\.dynsym' contains [0-9]+ entries:
|
53 |
|
|
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
|
54 |
|
|
[0-9 ]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND
|
55 |
|
|
[0-9 ]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
|
56 |
|
|
[0-9 ]+: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND __tls_get_addr
|
57 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
|
58 |
|
|
[0-9 ]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
|
59 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
|
60 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
|
61 |
|
|
|
62 |
|
|
Symbol table '\.symtab' contains [0-9]+ entries:
|
63 |
|
|
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
|
64 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +UND
|
65 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1
|
66 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2
|
67 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3
|
68 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4
|
69 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5
|
70 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6
|
71 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7
|
72 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8
|
73 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9
|
74 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10
|
75 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11
|
76 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12
|
77 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13
|
78 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl1
|
79 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl2
|
80 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl3
|
81 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl4
|
82 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl5
|
83 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl6
|
84 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl7
|
85 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl8
|
86 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl1
|
87 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl2
|
88 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl3
|
89 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl4
|
90 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl5
|
91 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl6
|
92 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl7
|
93 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl8
|
94 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +11 _DYNAMIC
|
95 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +12 _PROCEDURE_LINKAGE_TABLE_
|
96 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +13 _GLOBAL_OFFSET_TABLE_
|
97 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg8
|
98 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg8
|
99 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg6
|
100 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg3
|
101 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg3
|
102 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh3
|
103 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
|
104 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg4
|
105 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg5
|
106 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg5
|
107 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +UND __tls_get_addr
|
108 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh7
|
109 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh8
|
110 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg1
|
111 |
|
|
[0-9 ]+: [0-9a-f]+ +52 +FUNC +GLOBAL +DEFAULT +7 _start
|
112 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh4
|
113 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg7
|
114 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh5
|
115 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
|
116 |
|
|
[0-9 ]+: [0-9a-f]+ +136 +FUNC +GLOBAL +DEFAULT +\[: 88\] +7 fn2
|
117 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg2
|
118 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
|
119 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh1
|
120 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg6
|
121 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg7
|
122 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
|
123 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
|
124 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh2
|
125 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh6
|
126 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg2
|
127 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg1
|
128 |
|
|
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg4
|