diff options
author | Renlin Li <renlin.li@arm.com> | 2015-10-02 15:18:51 +0100 |
---|---|---|
committer | Renlin Li <renlin.li@arm.com> | 2015-10-02 17:56:07 +0100 |
commit | 654248e7f702887c5a43bf402cd6080734f57819 (patch) | |
tree | 5b76fecb278592159ba0088a9eb1c01d73755bb8 /bfd/bfd-in2.h | |
parent | a2e1db00c76bcad0594654d78af76d0e12a217ee (diff) | |
download | gdb-654248e7f702887c5a43bf402cd6080734f57819.zip gdb-654248e7f702887c5a43bf402cd6080734f57819.tar.gz gdb-654248e7f702887c5a43bf402cd6080734f57819.tar.bz2 |
[GAS][AARCH64]Add BFD_RELOC_AARCH64_MOVW_GOTOFF_G1 Support.
bfd/
2015-10-02 Renlin Li <renlin.li@arm.com>
* reloc.c (BFD_RELOC_AARCH64_MOVW_GOTOFF_G1): New.
* elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
MOVW_GOTOFF_G1.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
gas/
2015-10-02 Renlin Li <renlin.li@arm.com>
* config/tc-aarch64.c (reloc_table): New relocation modifier
gotoff_g1.
(process_movw_reloc_info): Support newly added modifier.
(md_apply_fix): Likewise.
gas/testsuite/
2015-10-02 Renlin Li <renlin.li@arm.com>
* gas/aarch64/reloc-gotoff_g1.s: New.
* gas/aarch64/reloc-gotoff_g1.d: New.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r-- | bfd/bfd-in2.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 0d096f9..9c4b349 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -5754,6 +5754,10 @@ the GOT entry for this symbol. Used in conjunction with BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in ILP32 ABI only. */ BFD_RELOC_AARCH64_LD32_GOT_LO12_NC, +/* Unsigned 16 bit byte higher offset for 64 bit load/store from the GOT entry +for this symbol. Valid in LP64 ABI only. */ + BFD_RELOC_AARCH64_MOVW_GOTOFF_G1, + /* Unsigned 15 bit byte offset for 64 bit load/store from the page of the GOT entry for this symbol. Valid in LP64 ABI only. */ BFD_RELOC_AARCH64_LD64_GOTOFF_LO15, |