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
Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-ifunc
/
ifunc-11-x86-64.s
blob
8525419b5296b3109d3fdbe8a528a8b8cf341ef0
1
.section .text.foo,
"ax"
,@progbits
2
.type foo, @function
3
foo
:
4
.global foo
5
movl ifunc@GOTPCREL
(%
rip
), %
eax
6
movl ifunc
(%
rip
), %
eax
7
call ifunc@PLT
8
call ifunc
9
movl xxx
(%
rip
), %
eax
10
ret
11
12
.section .text.bar,
"ax"
,@progbits
13
.type bar, @function
14
bar
:
15
.global bar
16
ret
17
18
.section .text.ifunc,
"ax"
,@progbits
19
.type ifunc, @gnu_indirect_function
20
.global ifunc
21
ifunc
:
22
ret
23
24
.section .data.foo,
"aw"
,@progbits
25
xxx
:
26
.quad ifunc