aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.tgt
diff options
context:
space:
mode:
authorJing Yu <jingyu@google.com>2014-07-02 16:21:23 -0700
committerCary Coutant <ccoutant@google.com>2014-07-02 16:21:23 -0700
commit053a4d680b6b870079e7ba094b52a12a4861ce9b (patch)
tree6605ac7e288800f362a77c17dc42b6e897e1fe2b /gold/configure.tgt
parent2b239efbec446a0c213710b7c5258f2926ef78a4 (diff)
downloadgdb-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.tgt8
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