[AArch64][1/2] Gas BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14

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


This patch add BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14 support in Gas.

The relocation modifier
===
  :gotpage_lo14:symbol

native gas check OK

OK for trunk?

2015-05-19 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.
  
-- 
Regards,
Jiong

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


More information about the Binutils mailing list