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
/
plt3.s
blob
c3a29b5ca95714c11629635bc42376ef67bc80b9
1
.text
2
.global _start
3
_start
:
4
movq $foo@PLT
, %
rax
5
leaq
-
11
(%
rip
), %
rbx
6
leaq
(%
rbx
, %
rax
), %
rax
7
call
*%
rax
8
9
# Write out "PASS\n".
10
movl $
5
, %
edx
11
movl $
.LC0, %esi
12
movl $
1
, %
edi
13
movl $
1
, %
eax
14
syscall
15
16
# exit
17
movq $
60
, %
rax
18
movq $
0
, %
rdi
19
syscall
20
21
foo
:
22
ret
23
24
.section .rodata.str1.1,
"aMS"
,@progbits,1
25
.LC0:
26
.string
"PASS
\n
"
27
.section .note.GNU-stack,
""
,@progbits