mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 11:35:02 +08:00
configure.ac (HAVE_AS_REL16): Move test back to correct place.
* configure.ac (HAVE_AS_REL16): Move test back to correct place. * configure: Regenerate. From-SVN: r122511
This commit is contained in:
parent
c1cad89ed5
commit
695d883001
@ -1,3 +1,8 @@
|
||||
2007-03-03 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* configure.ac (HAVE_AS_REL16): Move test back to correct place.
|
||||
* configure: Regenerate.
|
||||
|
||||
2007-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* builtins.def (ATTR_MATHFN_FPROUNDING): Rely on
|
||||
|
74
gcc/configure
vendored
74
gcc/configure
vendored
@ -15589,6 +15589,43 @@ LCF0:
|
||||
addis 11,30,_GLOBAL_OFFSET_TABLE_-.LCF0@ha';;
|
||||
esac
|
||||
|
||||
echo "$as_me:$LINENO: checking assembler for rel16 relocs" >&5
|
||||
echo $ECHO_N "checking assembler for rel16 relocs... $ECHO_C" >&6
|
||||
if test "${gcc_cv_as_powerpc_rel16+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
gcc_cv_as_powerpc_rel16=no
|
||||
if test $in_tree_gas = yes; then
|
||||
if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 17 \) \* 1000 + 0`
|
||||
then gcc_cv_as_powerpc_rel16=yes
|
||||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo "$conftest_s" > conftest.s
|
||||
if { ac_try='$gcc_cv_as -a32 -o conftest.o conftest.s >&5'
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }
|
||||
then
|
||||
gcc_cv_as_powerpc_rel16=yes
|
||||
else
|
||||
echo "configure: failed program was" >&5
|
||||
cat conftest.s >&5
|
||||
fi
|
||||
rm -f conftest.o conftest.s
|
||||
fi
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $gcc_cv_as_powerpc_rel16" >&5
|
||||
echo "${ECHO_T}$gcc_cv_as_powerpc_rel16" >&6
|
||||
if test $gcc_cv_as_powerpc_rel16 = yes; then
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE_AS_REL16 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
case $target in
|
||||
*-*-aix*) conftest_s=' .machine "pwr6"
|
||||
.csect .text[PR]
|
||||
@ -15679,43 +15716,6 @@ cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE_AS_DFP 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
|
||||
echo "$as_me:$LINENO: checking assembler for rel16 relocs" >&5
|
||||
echo $ECHO_N "checking assembler for rel16 relocs... $ECHO_C" >&6
|
||||
if test "${gcc_cv_as_powerpc_rel16+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||
else
|
||||
gcc_cv_as_powerpc_rel16=no
|
||||
if test $in_tree_gas = yes; then
|
||||
if test $gcc_cv_gas_vers -ge `expr \( \( 2 \* 1000 \) + 17 \) \* 1000 + 0`
|
||||
then gcc_cv_as_powerpc_rel16=yes
|
||||
fi
|
||||
elif test x$gcc_cv_as != x; then
|
||||
echo "$conftest_s" > conftest.s
|
||||
if { ac_try='$gcc_cv_as -a32 -o conftest.o conftest.s >&5'
|
||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }
|
||||
then
|
||||
gcc_cv_as_powerpc_rel16=yes
|
||||
else
|
||||
echo "configure: failed program was" >&5
|
||||
cat conftest.s >&5
|
||||
fi
|
||||
rm -f conftest.o conftest.s
|
||||
fi
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $gcc_cv_as_powerpc_rel16" >&5
|
||||
echo "${ECHO_T}$gcc_cv_as_powerpc_rel16" >&6
|
||||
if test $gcc_cv_as_powerpc_rel16 = yes; then
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE_AS_REL16 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
;;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# configure.ac for GCC
|
||||
# Process this file with autoconf to generate a configuration script.
|
||||
|
||||
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
#This file is part of GCC.
|
||||
@ -2926,6 +2926,12 @@ LCF0:
|
||||
addis 11,30,_GLOBAL_OFFSET_TABLE_-.LCF0@ha';;
|
||||
esac
|
||||
|
||||
gcc_GAS_CHECK_FEATURE([rel16 relocs],
|
||||
gcc_cv_as_powerpc_rel16, [2,17,0], -a32,
|
||||
[$conftest_s],,
|
||||
[AC_DEFINE(HAVE_AS_REL16, 1,
|
||||
[Define if your assembler supports R_PPC_REL16 relocs.])])
|
||||
|
||||
case $target in
|
||||
*-*-aix*) conftest_s=' .machine "pwr6"
|
||||
.csect .text[[PR]]
|
||||
@ -2955,12 +2961,6 @@ LCF0:
|
||||
[$conftest_s],,
|
||||
[AC_DEFINE(HAVE_AS_DFP, 1,
|
||||
[Define if your assembler supports DFP instructions.])])
|
||||
|
||||
gcc_GAS_CHECK_FEATURE([rel16 relocs],
|
||||
gcc_cv_as_powerpc_rel16, [2,17,0], -a32,
|
||||
[$conftest_s],,
|
||||
[AC_DEFINE(HAVE_AS_REL16, 1,
|
||||
[Define if your assembler supports R_PPC_REL16 relocs.])])
|
||||
;;
|
||||
|
||||
mips*-*-*)
|
||||
|
Loading…
Reference in New Issue
Block a user