diff options
author | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-03 19:23:06 +0000 |
---|---|---|
committer | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-03 19:23:06 +0000 |
commit | 34fe62ca4d73fb5fbe446f5fe9be2ed292cdca03 (patch) | |
tree | b2590f513b8ab63891cdd4b0963419a435e0a3f9 /gcc/configure | |
parent | 7fcab166dc9b8291cd969fb9b569cbf589acd7ab (diff) | |
download | gcc-34fe62ca4d73fb5fbe446f5fe9be2ed292cdca03.tar.gz |
* configure.ac (HAVE_AS_REL16): Move test back to correct place.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122511 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/gcc/configure b/gcc/configure index ba7be7c1c9f..1e63c02811f 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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] @@ -15680,43 +15717,6 @@ cat >>confdefs.h <<\_ACEOF _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 ;; mips*-*-*) |