[AArch64][4/6] LD support TLSLD move/add relocation types
[deliverable/binutils-gdb.git] / ld / testsuite / ld-aarch64 / pcrel.s
CommitLineData
dcbd20eb
JW
1 .text
2 .align 2
3main:
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
10
11 #R_AARCH64_LD_PREL_LO19
12 ldr x3, global_a
13
14 # R_AARCH64_PREL16
15 # R_AARCH64_PREL32
16 # R_AARCH64_PREL64
17 .hword global_a - .
18 .word global_a - .
19 .xword global_a - .
20
This page took 0.03764 seconds and 4 git commands to generate.