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