OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gold/] [configure] - Diff between revs 163 and 166

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 163 Rev 166
Line 6310... Line 6310...
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
$as_echo "$gold_cv_prog_gcc41" >&6; }
$as_echo "$gold_cv_prog_gcc41" >&6; }
 
 
 if test "$target_cpu" = "x86_64" -a "$gold_cv_prog_gcc41" = "yes"; then
save_CFLAGS="$CFLAGS"
 
CFLAGS="$CFLAGS -mcmodel=medium"
 
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
/* end confdefs.h.  */
 
int i;
 
_ACEOF
 
if ac_fn_c_try_compile "$LINENO"; then :
 
  have_mcmodel_medium=yes
 
else
 
  have_mcmodel_medium=no
 
fi
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
CFLAGS="$save_CFLAGS"
 
 if test "$target_cpu" = "x86_64" -a "$have_mcmodel_medium" = "yes" -a "$gold_cv_prog_gcc41" = "yes"; then
  MCMODEL_MEDIUM_TRUE=
  MCMODEL_MEDIUM_TRUE=
  MCMODEL_MEDIUM_FALSE='#'
  MCMODEL_MEDIUM_FALSE='#'
else
else
  MCMODEL_MEDIUM_TRUE='#'
  MCMODEL_MEDIUM_TRUE='#'
  MCMODEL_MEDIUM_FALSE=
  MCMODEL_MEDIUM_FALSE=
Line 6422... Line 6435...
  OMP_SUPPORT_FALSE=
  OMP_SUPPORT_FALSE=
fi
fi
 
 
 
 
save_CFLAGS="$CFLAGS"
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -mtls-dialect=gnu2"
CFLAGS="$CFLAGS -fpic -mtls-dialect=gnu2"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */
/* end confdefs.h.  */
int i;
 
 
__thread int i;
 
void foo (void)
 
{
 
  i = 10;
 
}
 
 
_ACEOF
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
if ac_fn_c_try_compile "$LINENO"; then :
  have_tls_gnu2=yes
  have_tls_gnu2=yes
else
else
  have_tls_gnu2=no
  have_tls_gnu2=no

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.