diff options
author | Jiong Wang <jiong.wang@arm.com> | 2015-06-01 10:22:15 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2015-06-01 10:22:15 +0100 |
commit | a921b5bd708cc6e8afa3cf33443cda54b4e8cae6 (patch) | |
tree | e55f41343d77f83e9bcfb1347dccbae2aa83dc9b /bfd/reloc.c | |
parent | 3a8547d2fb5319890dda877fb313822053083c3a (diff) | |
download | gdb-a921b5bd708cc6e8afa3cf33443cda54b4e8cae6.zip gdb-a921b5bd708cc6e8afa3cf33443cda54b4e8cae6.tar.gz gdb-a921b5bd708cc6e8afa3cf33443cda54b4e8cae6.tar.bz2 |
[AArch64] GAS Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15
2015-06-01 Jiong.Wang <jiong.wang@arm.com>
bfd/
* reloc.c (BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15): New entry.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elfnn-aarch64.c (elfNN_aarch64_howto_table): New entry for
BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
gas/
* config/tc-aarch64.c (reloc_table): New relocation modifiers.
(md_apply_fix): Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15.
(aarch64_force_relocation): Ditto.
gas/testsuite/
* gas/aarch64/reloc-insn.s: New testcase.
* gas/aarch64/reloc-insn.d: Ditto.
Diffstat (limited to 'bfd/reloc.c')
-rw-r--r-- | bfd/reloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c index 8c4a88a..4ee384f 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -6762,6 +6762,10 @@ 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_GOTPAGE_LO15 +ENUMDOC + Scaled 15 bit byte offset to the page base of the global offset table. +ENUM BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21 ENUMDOC Get to the page base of the global offset table entry for a symbols |