Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / protected-data.s
blob4878f05ef3ca4749a79350796bcedb70f835d89f
1 .data
2 .protected var
3 .global var
4 .align 2
5 .type var, %object
6 .size var, 4
7 var:
8 .word 1
10 .text
11 .align 2
12 .global getaddr
13 .type getaddr, %function
14 getaddr:
15 adrp x0, :got:var
16 ldr x0, [x0, #:got_lo12:var]
17 ret
18 .size getaddr, .-getaddr