repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updated Malay translation for the bfd sub-directory
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-x86-64
/
pr32189.s
blob
3d0f682d663bcc5663aeb1ba930c547c3d6017f7
1
.text
2
.global _start
3
_start
:
4
leaq
1
f
(%
rip
), %
r11
5
1
:
6
movabs $_GLOBAL_OFFSET_TABLE_
, %
r15
7
leaq
(%
r11
,%
r15
), %
r15
8
9
movabs $ptr@GOT
, %
rax
10
movabs $Ldst@GOTOFF
, %
rdx
11
movq
(%
rax
,%
r15
), %
rax
12
leaq
(%
rdx
,%
r15
), %
rcx
13
movq
%
rcx
, (%
rax
)
14
15
# Write out "PASS\n".
16
movl $
5
, %
edx
17
movl $
.LC0, %esi
18
movl $
1
, %
edi
19
movl $
1
, %
eax
20
syscall
21
22
# exit
23
movq $
60
, %
rax
24
movq $
0
, %
rdi
25
syscall
26
27
.data
28
Ldst
:
29
.quad 0
30
ptr
:
31
.quad 0
32
.section .rodata.str1.1,
"aMS"
,@progbits,1
33
.LC0:
34
.string
"PASS
\n
"
35
.section .note.GNU-stack,
""
,@progbits