Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / pcrel.s
blobdf542ef5deea7e065c8efc3836b53bc56dd11e95
1 .text
2 .align 2
3 main:
4 # R_AARCH64_ADR_PREL_PG_HI21
5 # R_AARCH64_ADR_PREL_PG_HI21_NC
6 # R_AARCH64_ADR_LO_21
7 adrp x0, :pg_hi21:global_a
8 adrp x1, :pg_hi21_nc:global_a
9 adr x2, global_a
11 #R_AARCH64_LD_PREL_LO19
12 ldr x3, global_a
14 # R_AARCH64_PREL16
15 # R_AARCH64_PREL32
16 # R_AARCH64_PREL64
17 .hword global_a - .
18 .word global_a - .
19 .xword global_a - .