[AArch64] Gas add BFD_RELOC_AARCH64_LD64_GOTOFF_LO15 support
authorRenlin Li <renlin.li@arm.com>
Mon, 15 Jun 2015 10:07:37 +0000 (11:07 +0100)
committerJiong Wang <jiong.wang@arm.com>
Mon, 15 Jun 2015 10:07:37 +0000 (11:07 +0100)
commit87f5fbcc7aa49cee13e9ed44587b80d695d7e781
treebd634afe87cb2833ea0582eb3bc2327239753bff
parenta2a4d60d831e40350d96edd2f1cd55f430d04fd4
[AArch64] Gas add BFD_RELOC_AARCH64_LD64_GOTOFF_LO15 support

2015-06-15  Renlin Li <renlin.li@arm.com>
bfd/
    * reloc.c (BFD_RELOC_AARCH64_LD64_GOTOFF_LO15): New entry.
    * elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
    BFD_RELOC_AARCH64_LD64_GOTOFF_LO15.
    * bfd-in2.h: Regenerate.
    * libbfd.h: Regenerate.

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

gas/testsuite/
    * gas/aarch64/reloc-insn.s: Update test
    * gas/aarch64/reloc-insn.d: Update expected result.
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/reloc-insn.d
gas/testsuite/gas/aarch64/reloc-insn.s