From 9810d34d76d19f63d4bbe7390fa36ceb85d10cde Mon Sep 17 00:00:00 2001 From: Sasa Stankovic Date: Mon, 23 Jun 2014 11:52:34 -0700 Subject: gold/ * mips.cc: New file. * Makefile.am (TARGETSOURCES): Add mips.cc (ALL_TARGETOBJS): Add mips.$(OBJEXT) * configure.tgt: Add entries for mips*. * configure.ac: Likewise. * Makefile.in: Regenerate. * configure: Likewise. --- gold/configure | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'gold/configure') diff --git a/gold/configure b/gold/configure index 6f53b22..9880635 100755 --- a/gold/configure +++ b/gold/configure @@ -684,6 +684,8 @@ CC NM TARGETOBJS DEFAULT_TARGET +DEFAULT_TARGET_MIPS_FALSE +DEFAULT_TARGET_MIPS_TRUE DEFAULT_TARGET_TILEGX_FALSE DEFAULT_TARGET_TILEGX_TRUE DEFAULT_TARGET_X86_64_FALSE @@ -3479,6 +3481,14 @@ else DEFAULT_TARGET_TILEGX_FALSE= fi + if test "$targ_obj" = "mips"; then + DEFAULT_TARGET_MIPS_TRUE= + DEFAULT_TARGET_MIPS_FALSE='#' +else + DEFAULT_TARGET_MIPS_TRUE='#' + DEFAULT_TARGET_MIPS_FALSE= +fi + DEFAULT_TARGET=${targ_obj} fi @@ -7791,6 +7801,10 @@ if test -z "${DEFAULT_TARGET_TILEGX_TRUE}" && test -z "${DEFAULT_TARGET_TILEGX_F as_fn_error "conditional \"DEFAULT_TARGET_TILEGX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${DEFAULT_TARGET_MIPS_TRUE}" && test -z "${DEFAULT_TARGET_MIPS_FALSE}"; then + as_fn_error "conditional \"DEFAULT_TARGET_MIPS\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 -- cgit v1.1