99ad26cb0d
2015-06-01 Jiong Wang <jiong.wang@arm.com> bfd/ * elfnn-aarch64.c (aarch64_reloc_got_type): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15. (elfNN_aarch64_final_link_relocate): Ditto. (elfNN_aarch64_gc_swap_hook): Ditto. (elfNN_aarch64_check_relocs): Ditto. * elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Ditto. ld/testsuite/ * ld-aarch64/emit-relocs-313.s: New test file. * ld-aarch64/emit-relocs-313.d: Ditto. * ld-aarch64/aarch64-elf.exp: Run new test.
5 lines
154 B
ArmAsm
5 lines
154 B
ArmAsm
.text
|
|
adrp x2, _GLOBAL_OFFSET_TABLE_
|
|
ldr x0, [x2, #:gotpage_lo14:globala]
|
|
ldr x0, [x2, #:gotpage_lo14:globalb]
|
|
ldr x0, [x2, #:gotpage_lo14:globalc]
|