projects
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Support garbage collection against STT_GNU_IFUNC symbols.
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-ifunc
/
ifunc-11-x86-64.s
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
ret
10
11
.section .text.bar,"ax",@progbits
12
.type bar, @function
13
bar:
14
.global bar
15
ret
16
17
.section .text.ifunc,"ax",@progbits
18
.type ifunc, @gnu_indirect_function
19
.global ifunc
20
ifunc:
21
ret