RISC-V: Only relax to C.LUI when imm != 0 and rd != 0/2
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ifunc / ifunc-2-i386.s
CommitLineData
cbe950e9
L
1 .type foo, %gnu_indirect_function
2 .global __GI_foo
3 .hidden __GI_foo
4 .set __GI_foo, foo
5 .text
6.globl foo
7 .type foo, @function
8foo:
9 ret
10 .size foo, .-foo
11.globl bar
12 .type bar, @function
13bar:
14 call .L6
15.L6:
16 popl %ebx
17 addl $_GLOBAL_OFFSET_TABLE_+[.-.L6], %ebx
74437ea2 18 call __GI_foo@PLT
cbe950e9
L
19 leal __GI_foo@GOTOFF(%ebx), %eax
20 ret
21 .size bar, .-bar
This page took 0.456701 seconds and 4 git commands to generate.