[AArch64] GAS support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14
[deliverable/binutils-gdb.git] / gas / testsuite / gas / aarch64 / ilp32-basic.s
1 .cpu generic
2 .text
3 .align 2
4 .global foo
5 .type foo, %function
6 foo:
7 adrp x4, ptrs
8 add x3, x4, :lo12:ptrs
9 str w0, [x4,#:lo12:ptrs]
10 str w1, [x3,4]
11 str w2, [x3,8]
12 adrp x4, :got:ptrs
13 ldr x3, [x4,#:got_lo12:ptrs]
14 mov w0, w4
15 ret
16 ldr x3, [x4,#:gotpage_lo14:ptrs]
17 .size foo, .-foo
18 .comm ptrs,12,8
This page took 0.031573 seconds and 4 git commands to generate.