configure.ac (gcc_cv_as_powerpc_mfcrf, [...]): Detangle.

* configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
        Detangle.

From-SVN: r232697
This commit is contained in:
David Edelsohn 2016-01-21 18:50:17 +00:00 committed by David Edelsohn
parent e271cba1f5
commit 4b7a526411
3 changed files with 23 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2016-01-21 David Edelsohn <dje.gcc@gmail.com>
* configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
Detangle.
2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
* config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.

13
gcc/configure vendored
View File

@ -25904,10 +25904,8 @@ fi
;;
powerpc*-*-*)
case $target in
*-*-aix*) conftest_s=' .machine "pwr5"
.csect .text[PR]
mfcr 3,128';;
*-*-darwin*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler for .machine directive support" >&5
$as_echo_n "checking assembler for .machine directive support... " >&6; }
@ -25940,7 +25938,14 @@ $as_echo "$gcc_cv_as_machine_directive" >&6; }
echo you can get it from: ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2
test x$build = x$target && exit 1
fi
conftest_s=' .text
;;
esac
case $target in
*-*-aix*) conftest_s=' .machine "pwr5"
.csect .text[PR]
mfcr 3,128';;
*-*-darwin*) conftest_s=' .text
mfcr r3,128';;
*) conftest_s=' .machine power4
.text

View File

@ -4172,10 +4172,8 @@ value:'
;;
powerpc*-*-*)
case $target in
*-*-aix*) conftest_s=' .machine "pwr5"
.csect .text[[PR]]
mfcr 3,128';;
*-*-darwin*)
gcc_GAS_CHECK_FEATURE([.machine directive support],
gcc_cv_as_machine_directive,,,
@ -4185,7 +4183,14 @@ value:'
echo you can get it from: ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-528.5.dmg >&2
test x$build = x$target && exit 1
fi
conftest_s=' .text
;;
esac
case $target in
*-*-aix*) conftest_s=' .machine "pwr5"
.csect .text[[PR]]
mfcr 3,128';;
*-*-darwin*) conftest_s=' .text
mfcr r3,128';;
*) conftest_s=' .machine power4
.text