diff options
author | Jing Yu <jingyu@google.com> | 2014-07-02 16:21:23 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2014-07-02 16:21:23 -0700 |
commit | 053a4d680b6b870079e7ba094b52a12a4861ce9b (patch) | |
tree | 6605ac7e288800f362a77c17dc42b6e897e1fe2b /gold/configure.tgt | |
parent | 2b239efbec446a0c213710b7c5258f2926ef78a4 (diff) | |
download | gdb-053a4d680b6b870079e7ba094b52a12a4861ce9b.zip gdb-053a4d680b6b870079e7ba094b52a12a4861ce9b.tar.gz gdb-053a4d680b6b870079e7ba094b52a12a4861ce9b.tar.bz2 |
2014-07-02 Jing Yu <jingyu@google.com>
Initial patch to enable gold aarch64 backend.
This patch is just a skeleton which almost does nothing.
It does not support ILP32 now.
gold/ChangeLog:
* aarch64.cc: New file
* Makefile.am (TARGETSOURCES): Add aarch64.cc
(ALL_TARGETOBJS): Add aarch64.$(OBJEXT)
* Makefile.in: Regenerate.
* configure.tgt: Add entries for aarch64*.
* configure.ac: Likewise.
* configure: Likewise.
elfcpp/ChangeLog:
* aarch64.h: New file. New enums for aarch64-elf64 relocations.
* elfcpp.h (EM_AARCH64, SHT_AARCH64_ATTRIBUTES, PT_AARCH64_ARCHEXT,
PT_AARCH64_UNWIND): New enum constant.
Diffstat (limited to 'gold/configure.tgt')
-rw-r--r-- | gold/configure.tgt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/configure.tgt b/gold/configure.tgt index 93d622d..9a75070 100644 --- a/gold/configure.tgt +++ b/gold/configure.tgt @@ -144,6 +144,14 @@ arm*-*-*) targ_big_endian=false targ_extra_big_endian=true ;; +aarch64*-*) + targ_obj=aarch64 + targ_machine=EM_AARCH64 + targ_size=64 + targ_extra_size=32 + targ_big_endian=false + targ_extra_big_endian=true + ;; mips*el*-*-*|mips*le*-*-*) targ_obj=mips targ_machine=EM_MIPS_RS3_LE |