From 87f5fbcc7aa49cee13e9ed44587b80d695d7e781 Mon Sep 17 00:00:00 2001 From: Renlin Li Date: Mon, 15 Jun 2015 11:07:37 +0100 Subject: [AArch64] Gas add BFD_RELOC_AARCH64_LD64_GOTOFF_LO15 support 2015-06-15 Renlin Li 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/reloc.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bfd/reloc.c') diff --git a/bfd/reloc.c b/bfd/reloc.c index 7f2b31e..d312e48 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -6762,6 +6762,11 @@ ENUMDOC the GOT entry for this symbol. Used in conjunction with BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in ILP32 ABI only. ENUM + BFD_RELOC_AARCH64_LD64_GOTOFF_LO15 +ENUMDOC + Unsigned 15 bit byte offset for 64 bit load/store from the page of + the GOT entry for this symbol. Valid in ILP64 ABI only. +ENUM BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14 ENUMDOC Scaled 14 bit byte offset to the page base of the global offset table. -- cgit v1.1