1 |
205 |
julius |
#source: tlspic1.s
|
2 |
|
|
#source: tlspic2.s
|
3 |
|
|
#as:
|
4 |
|
|
#ld: -shared -melf32xtensa
|
5 |
|
|
#objdump: -drj.text --start-address=0x350
|
6 |
|
|
#target: xtensa*-*-linux*
|
7 |
|
|
|
8 |
|
|
.*: +file format elf32-xtensa-.e
|
9 |
|
|
|
10 |
|
|
Disassembly of section \.text:
|
11 |
|
|
|
12 |
|
|
0+350 <_start>:
|
13 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+entry a1, 32
|
14 |
|
|
# GD
|
15 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a8, 2e0 <.*>
|
16 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a10, 2e4 <.*>
|
17 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+callx8 a8
|
18 |
|
|
# GD -> IE because variable is referenced through IE too
|
19 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+rur.threadptr a8
|
20 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a10, 2ec <.*>
|
21 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a10, a10, a8
|
22 |
|
|
# GD against local variable
|
23 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a8, 2f0 <.*>
|
24 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a10, 2f4 <.*>
|
25 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+callx8 a8
|
26 |
|
|
# GD -> IE against local variable referenced through IE too
|
27 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+rur.threadptr a8
|
28 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a10, 2fc <.*>
|
29 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a10, a10, a8
|
30 |
|
|
# GD against hidden and local variable
|
31 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a8, 300 <.*>
|
32 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a10, 304 <.*>
|
33 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+callx8 a8
|
34 |
|
|
# GD -> IE against hidden and local variable referenced through IE too
|
35 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+rur.threadptr a8
|
36 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a10, 30c <.*>
|
37 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a10, a10, a8
|
38 |
|
|
# GD against hidden but not local variable
|
39 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a8, 310 <.*>
|
40 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a10, 314 <.*>
|
41 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+callx8 a8
|
42 |
|
|
# GD -> IE against hidden but not local variable referenced through IE too
|
43 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+rur.threadptr a8
|
44 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a10, 31c <.*>
|
45 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a10, a10, a8
|
46 |
|
|
# LD
|
47 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a8, 320 <.*>
|
48 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a10, 324 <.*>
|
49 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+callx8 a8
|
50 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a12, 328 <.*>
|
51 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a12, a12, a10
|
52 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a13, 32c <.*>
|
53 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a13, a13, a10
|
54 |
|
|
# LD against hidden and local variables
|
55 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a12, 330 <.*>
|
56 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a12, a12, a10
|
57 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a13, 334 <.*>
|
58 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a13, a13, a10
|
59 |
|
|
# LD against hidden but not local variables
|
60 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a12, 338 <.*>
|
61 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a12, a12, a10
|
62 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a13, 33c <.*>
|
63 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a13, a13, a10
|
64 |
|
|
# IE against global var
|
65 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+rur.threadptr a2
|
66 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a3, 340 <.*>
|
67 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a3, a3, a2
|
68 |
|
|
# IE against local var
|
69 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+rur.threadptr a4
|
70 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a5, 344 <.*>
|
71 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a5, a5, a4
|
72 |
|
|
# IE against hidden and local var
|
73 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+rur.threadptr a6
|
74 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a7, 348 <.*>
|
75 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a7, a7, a6
|
76 |
|
|
# IE against hidden but not local var
|
77 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+rur.threadptr a8
|
78 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+l32r a9, 34c <.*>
|
79 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+add.* a9, a9, a8
|
80 |
|
|
#
|
81 |
|
|
[0-9a-f]+: [0-9a-f]+[ ]+retw.*
|