aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.tgt
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2015-10-05 16:57:13 +0200
committerCary Coutant <ccoutant@gmail.com>2015-10-28 16:47:27 -0700
commite79a4bad70029595e43cc536c0d1e60d5d6ee115 (patch)
treed764e1b819719d1144c649cbed1e9ad2f475e791 /gold/configure.tgt
parent6f97897dbef256a80fb08c561b7f447aacf4bdf1 (diff)
downloadgdb-e79a4bad70029595e43cc536c0d1e60d5d6ee115.zip
gdb-e79a4bad70029595e43cc536c0d1e60d5d6ee115.tar.gz
gdb-e79a4bad70029595e43cc536c0d1e60d5d6ee115.tar.bz2
Add s390 backend.
elfcpp/ * s390.h: New file. gold/ * s390.cc: New file. * Makefile.am (TARGETSOURCES): Add s390.cc. (ALL_TARGETOBJS): Add s390.o. * Makefile.in: Regenerate. * configure.ac: Add s390 support. * configure: Regenerate. * configure.tgt: Add s390-*-* and s390x-*-*. * testsuite/icf_safe_test.sh (arch_specific_safe_fold): Add s390 support.
Diffstat (limited to 'gold/configure.tgt')
-rw-r--r--gold/configure.tgt14
1 files changed, 14 insertions, 0 deletions
diff --git a/gold/configure.tgt b/gold/configure.tgt
index a3cb34d..495c9cd 100644
--- a/gold/configure.tgt
+++ b/gold/configure.tgt
@@ -167,6 +167,20 @@ mips*-*-*)
targ_big_endian=true
targ_extra_big_endian=false
;;
+s390-*-*)
+ targ_obj=s390
+ targ_machine=EM_S390
+ targ_size=32
+ targ_big_endian=true
+ targ_extra_big_endian=false
+ ;;
+s390x-*-*)
+ targ_obj=s390
+ targ_machine=EM_S390
+ targ_size=64
+ targ_big_endian=true
+ targ_extra_big_endian=false
+ ;;
*)
targ_obj=UNKNOWN
;;