Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / ifunc-11.s
blobe1820de66cbc7a0903bd3a5d78251d3e85f17cbc
1 .section .text.foo,"ax",@progbits
2 .type foo, @function
3 foo:
4 .global foo
5 adrp x0, :got:ifunc
6 ldr x0, [x0, #:got_lo12:ifunc]
7 bl ifunc
8 adrp x0, xxx
9 add x0, x0, :lo12:xxx
10 ret
12 .section .text.bar,"ax",@progbits
13 .type bar, @function
14 bar:
15 .global bar
16 ret
18 .section .text.ifunc,"ax",@progbits
19 .type ifunc, @gnu_indirect_function
20 .global ifunc
21 ifunc:
22 ret
24 .section .data.foo,"aw",@progbits
25 xxx:
26 .quad ifunc