Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-loongarch-elf / data-plt.s
blob6c1a8eac35cc4f6fa245da0cd51a76e195c9caaf
1 # The first version medium codel model function call is: pcalau12i + jirl.
2 # R_LARCH_PCALA_HI20 only need to generate PLT entry for function symbols.
3 .text
4 .globl a
5 .hidden a
7 .data
8 .align 2
9 .type a, @object
10 .size a, 4
12 .word 1
14 .text
15 .align 2
16 .globl test
17 .type test, @function
18 test:
19 pcalau12i $r12,%pc_hi20(a)
20 ld.w $r12,$r12,%pc_lo12(a)
21 .size test, .-test