bfd/elfnn-aarch64.c: Handle static links with ifunc correctly.
[platform/upstream/binutils.git] / ld / testsuite / ld-aarch64 / ifunc-22.s
1         .text
2         .type ifunc, @gnu_indirect_function
3         .global ifunc
4 ifunc:
5         ret
6         .size   ifunc, .-ifunc
7         .type _start, @function
8         .globl _start
9 _start:
10         adrp    x0, :got:ifunc
11         ldr     x0, [x0, #:got_lo12:ifunc]
12         .size   _start, .-_start
13         .data
14         .xword  ifunc