aboutsummaryrefslogtreecommitdiff
path: root/gold/configure
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
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')
-rwxr-xr-xgold/configure15
1 files changed, 15 insertions, 0 deletions
diff --git a/gold/configure b/gold/configure
index eac9669..987a846 100755
--- a/gold/configure
+++ b/gold/configure
@@ -692,6 +692,8 @@ DEFAULT_TARGET_X32_FALSE
DEFAULT_TARGET_X32_TRUE
DEFAULT_TARGET_X86_64_FALSE
DEFAULT_TARGET_X86_64_TRUE
+DEFAULT_TARGET_S390_FALSE
+DEFAULT_TARGET_S390_TRUE
DEFAULT_TARGET_SPARC_FALSE
DEFAULT_TARGET_SPARC_TRUE
DEFAULT_TARGET_POWERPC_FALSE
@@ -3477,6 +3479,14 @@ else
DEFAULT_TARGET_SPARC_FALSE=
fi
+ if test "$targ_obj" = "s390"; then
+ DEFAULT_TARGET_S390_TRUE=
+ DEFAULT_TARGET_S390_FALSE='#'
+else
+ DEFAULT_TARGET_S390_TRUE='#'
+ DEFAULT_TARGET_S390_FALSE=
+fi
+
target_x86_64=no
target_x32=no
if test "$targ_obj" = "x86_64"; then
@@ -6328,6 +6338,7 @@ fi
powerpc*) false;;
x86_64) false;;
sparc64) false;;
+ s390x) false;;
*) true;;
esac; then
FN_PTRS_IN_SO_WITHOUT_PIC_TRUE=
@@ -7755,6 +7766,10 @@ if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FAL
as_fn_error "conditional \"DEFAULT_TARGET_SPARC\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${DEFAULT_TARGET_S390_TRUE}" && test -z "${DEFAULT_TARGET_S390_FALSE}"; then
+ as_fn_error "conditional \"DEFAULT_TARGET_S390\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
as_fn_error "conditional \"DEFAULT_TARGET_X86_64\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5