1 |
30 |
khays |
#source: align.s
|
2 |
|
|
#source: tlspic1.s
|
3 |
|
|
#source: tlspic2.s
|
4 |
|
|
#as:
|
5 |
|
|
#ld: -shared -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]+\] .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+1000 0+1000 0+ac 0+ +AX +0 +0 4096
|
20 |
|
|
+\[[ 0-9]+\] .eh_frame +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +A +0 +0 +8
|
21 |
|
|
+\[[ 0-9]+\] .tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 0+ WAT +0 +0 +4
|
22 |
|
|
+\[[ 0-9]+\] .tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 0+ WAT +0 +0 +1
|
23 |
|
|
+\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 10 +WA +3 +0 +8
|
24 |
|
|
+\[[ 0-9]+\] .plt +.*
|
25 |
|
|
+\[[ 0-9]+\] .got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 0+ +WA +0 +0 +8
|
26 |
|
|
+\[[ 0-9]+\] .shstrtab +.*
|
27 |
|
|
+\[[ 0-9]+\] .symtab +.*
|
28 |
|
|
+\[[ 0-9]+\] .strtab +.*
|
29 |
|
|
#...
|
30 |
|
|
|
31 |
|
|
Elf file type is DYN \(Shared object file\)
|
32 |
|
|
Entry point 0x1000
|
33 |
|
|
There are [0-9]+ program headers, starting at offset [0-9]+
|
34 |
|
|
|
35 |
|
|
Program Headers:
|
36 |
|
|
+Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
|
37 |
|
|
+LOAD +0x0+ 0x0+ 0x0+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x10000
|
38 |
|
|
+LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RWE 0x10000
|
39 |
|
|
+DYNAMIC +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW +0x8
|
40 |
|
|
+TLS +0x0+10e0 0x0+110e0 0x0+110e0 0x0+60 0x0+80 R +0x4
|
41 |
|
|
#...
|
42 |
|
|
|
43 |
|
|
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 7 entries:
|
44 |
|
|
+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
|
45 |
|
|
[0-9a-f]+ +[0-9a-f]+ R_ALPHA_DTPMOD64 +0+ sg1 \+ 0
|
46 |
|
|
[0-9a-f]+ +[0-9a-f]+ R_ALPHA_DTPREL64 +0+ sg1 \+ 0
|
47 |
|
|
[0-9a-f]+ +[0-9a-f]+ R_ALPHA_TPREL64 +0+4 sg2 \+ 0
|
48 |
|
|
[0-9a-f]+ +[0-9a-f]+ R_ALPHA_TPREL64 +0+44
|
49 |
|
|
[0-9a-f]+ +[0-9a-f]+ R_ALPHA_DTPMOD64 +0+
|
50 |
|
|
[0-9a-f]+ +[0-9a-f]+ R_ALPHA_DTPMOD64 +0+
|
51 |
|
|
[0-9a-f]+ +[0-9a-f]+ R_ALPHA_TPREL64 +0+24
|
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+ __tls_get_addr \+ 0
|
56 |
|
|
|
57 |
|
|
Symbol table '\.dynsym' contains [0-9]+ entries:
|
58 |
|
|
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
|
59 |
|
|
.* [0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +UND
|
60 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg8
|
61 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg3
|
62 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg4
|
63 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg5
|
64 |
|
|
.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
|
65 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg1
|
66 |
|
|
.* [0-9a-f]+ +172 +FUNC +GLOBAL +DEFAULT +\[: 88\] +6 fn1
|
67 |
|
|
.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
|
68 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg2
|
69 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg6
|
70 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg7
|
71 |
|
|
.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
|
72 |
|
|
.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
|
73 |
|
|
|
74 |
|
|
Symbol table '\.symtab' contains [0-9]+ entries:
|
75 |
|
|
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
|
76 |
|
|
.* [0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +UND
|
77 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1
|
78 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2
|
79 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3
|
80 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4
|
81 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5
|
82 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6
|
83 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7
|
84 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8
|
85 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9
|
86 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10
|
87 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11
|
88 |
|
|
.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12
|
89 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl1
|
90 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl2
|
91 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl3
|
92 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl4
|
93 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl5
|
94 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl6
|
95 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl7
|
96 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl8
|
97 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH1
|
98 |
|
|
.* [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
|
99 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh3
|
100 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH2
|
101 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH7
|
102 |
|
|
.* [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
|
103 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh7
|
104 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh8
|
105 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH4
|
106 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh4
|
107 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH3
|
108 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh5
|
109 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH5
|
110 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH6
|
111 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH8
|
112 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh1
|
113 |
|
|
.* [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
|
114 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh2
|
115 |
|
|
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh6
|
116 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg8
|
117 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg3
|
118 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg4
|
119 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg5
|
120 |
|
|
.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
|
121 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg1
|
122 |
|
|
.* [0-9a-f]+ +172 +FUNC +GLOBAL +DEFAULT +\[: 88\] +6 fn1
|
123 |
|
|
.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
|
124 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg2
|
125 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg6
|
126 |
|
|
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg7
|
127 |
|
|
.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
|
128 |
|
|
.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
|