[AArch64] GAS support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14
authorJiong Wang <jiong.wang@arm.com>
Mon, 1 Jun 2015 14:41:54 +0000 (15:41 +0100)
committerJiong Wang <jiong.wang@arm.com>
Mon, 1 Jun 2015 14:41:54 +0000 (15:41 +0100)
commit3d715ce4202ef799e288261d08a5438c82e7c21e
tree204d5430a5b7e78fac9b7ed5fddf6a4c1dcbf77c
parente0619de699ae6e86d8b93fa96a7668aef2e9636a
[AArch64] GAS support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14

This patch add BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14 support in Gas.

The relocation modifier
===
  :gotpage_lo14:symbol

2015-06-01 Jiong.Wang <jiong.wang@arm.com>

bfd/
  * reloc.c (BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14): New entry.
  * bfd-in2.h: Regenerate.
  * libbfd.h: Regenerate.
  * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
  BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.

gas/
  * config/tc-aarch64.c (reloc_table): New relocation modifiers.
  (md_apply_fix): Support BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14.
  (aarch64_force_relocation): Ditto.

gas/testsuite/
  * gas/aarch64/ilp32-basic.s: New testcase.
  * gas/aarch64/ilp32-basic.d: Ditto.
bfd/ChangeLog
bfd/bfd-in2.h
bfd/elfnn-aarch64.c
bfd/libbfd.h
bfd/reloc.c
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/ChangeLog
gas/testsuite/gas/aarch64/ilp32-basic.d
gas/testsuite/gas/aarch64/ilp32-basic.s