Delete asection.symbol_ptr_ptr
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / pcrel.s
blobc5e18d019e4e802273bcbd88b232699fa2f582d7
1 .hidden global_b
2 .text
3 .align 2
4 main:
5 # R_AARCH64_ADR_PREL_PG_HI21
6 # R_AARCH64_ADR_PREL_PG_HI21_NC
7 # R_AARCH64_ADR_LO_21
8 adrp x0, :pg_hi21:global_a
9 adrp x1, :pg_hi21_nc:global_a
10 adr x2, global_a
12 #R_AARCH64_LD_PREL_LO19
13 ldr x3, global_a
15 # R_AARCH64_PREL16
16 # R_AARCH64_PREL32
17 # R_AARCH64_PREL64
18 .hword global_a - .
19 .word global_a - .
20 .xword global_a - .
22 # Defined global symbol may bind externally because of copy relocation,
23 # while defined hidden symbol binds locally. LD should be able to
24 # differenciate this.
25 adrp x0, :pg_hi21:global_b
26 .xword global_b - .