tizen 2.4 release
[external/binutils.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         .size   foo, .-foo
17         .comm   ptrs,12,8