repo.or.cz
/
nasm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
reldef.asm: more comprehensive test
[nasm.git]
/
test
/
reldef.asm
blob
46e515e287fbf8a45ffd71212a4de42e14c4eac4
1
bits
64
2
default rel
3
4
section
.bss
5
bar:
resd
0
6
7
section
.rodata
8
rod1:
dd
0x01234567
9
rod2:
dd
0x89abcdef
10
11
section
.text
12
start:
13
lea
rax
, [
rod1
]
14
lea
rcx
, [
rod2
]
15
lea
rdx
, [
bar
]
16
lea
rbx
, [
foo
]
17
18
lea
rax
, [
rax
+
rod1
-
$$
]
19
lea
rcx
, [
rax
+
rod2
-
$$
]
20
lea
rdx
, [
rax
+
bar
-
$$
]
21
lea
rbx
, [
rax
+
foo
-
$$
]
22
23
mov
rax
, [
rax
+
rod1
-
$$
]
24
mov
rcx
, [
rax
+
rod2
-
$$
]
25
mov
rdx
, [
rax
+
bar
-
$$
]
26
mov
rbx
, [
rax
+
foo
-
$$
]
27
28
mov
rax
,
dword
rod1
-
$$
29
mov
rcx
,
dword
rod2
-
$$
30
mov
rdx
,
dword
bar
-
$$
31
mov
rbx
,
dword
foo
-
$$
32
33
section
.data
34
dq
rod1
35
dq
rod2
36
dq
bar
37
dq
foo
38
foo:
39
dd
rod1
-
$
40
dd
rod1
-
$$
41
dd
rod2
-
$
42
dd
rod2
-
$$
43
dd
bar
-
$
44
dd
bar
-
$$
45
dd
foo
-
$
46
dd
foo
-
$$