Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-loongarch-elf / local-ifunc-reloc.s
blob77c487463f584320f002aea81b5117d01e840d9c
1 .text
2 .align 2
4 .local ifunc
5 .type ifunc, @gnu_indirect_function
6 .set ifunc, resolver
8 resolver:
9 la.local $a0, impl
10 jr $ra
12 impl:
13 li.w $a0, 42
14 jr $ra
16 .global test
17 .type test, @function
18 test:
19 move $s0, $ra
20 bl ifunc
21 xori $a0, $a0, 42
22 jr $s0
24 .data
25 .global ptr
26 .type ptr, @object
27 ptr:
28 .dword test