[AArch64][2/2] BFD support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14

Jiong Wang jiong.wang@arm.com
Wed May 20 10:51:00 GMT 2015


This patch add BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14 relocation supoprt in bfd linker.

native check-ld OK

OK for trunk?


2015-05-19  Jiong Wang  <jiong.wang@arm.com>

bfd/
  * elfnn-aarch64.c (aarch64_reloc_got_type): Support
  BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
  (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-28.s: New test file.
  * ld-aarch64/emit-relocs-28.d: Ditto.
  * ld-aarch64/aarch64-elf.exp: Run new test.
-- 
Regards,
Jiong

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld-3.patch
Type: text/x-diff
Size: 6600 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150520/b6e9cbcb/attachment.bin>


More information about the Binutils mailing list