Commit 14562eb9 by Yvan Roux Committed by Yvan Roux

re PR other/62248 (Configure error with --with-fpu=fp-armv8)

2014-08-27  Yvan Roux  <yvan.roux@linaro.org>

        PR other/62248
        * config.gcc (arm*-*-*): Check --with-fpu against arm-fpus.def.

From-SVN: r214573
parent 4854de0d
2014-08-27 Yvan Roux <yvan.roux@linaro.org>
PR other/62248
* config.gcc (arm*-*-*): Check --with-fpu against arm-fpus.def.
2014-08-27 Alexander Ivchenko <alexander.ivchenko@intel.com> 2014-08-27 Alexander Ivchenko <alexander.ivchenko@intel.com>
Maxim Kuznetsov <maxim.kuznetsov@intel.com> Maxim Kuznetsov <maxim.kuznetsov@intel.com>
Anna Tikhonova <anna.tikhonova@intel.com> Anna Tikhonova <anna.tikhonova@intel.com>
......
...@@ -3523,20 +3523,17 @@ case "${target}" in ...@@ -3523,20 +3523,17 @@ case "${target}" in
;; ;;
esac esac
case "$with_fpu" in # see if it matches any of the entries in arm-fpus.def
"" \ if [ x"$with_fpu" = x ] \
| vfp | vfp3 | vfpv3 \ || grep "^ARM_FPU(\"$with_fpu\"," \
| vfpv3-fp16 | vfpv3-d16 | vfpv3-d16-fp16 | vfpv3xd \ ${srcdir}/config/arm/arm-fpus.def \
| vfpv3xd-fp16 | neon | neon-fp16 | vfpv4 | vfpv4-d16 \ > /dev/null; then
| fpv4-sp-d16 | neon-vfpv4 | fp-arm-v8 | neon-fp-armv8 \ # OK
| crypto-neon-fp-armv8) true
# OK else
;; echo "Unknown fpu used in --with-fpu=$with_fpu" 1>&2
*) exit 1
echo "Unknown fpu used in --with-fpu=$with_fpu" 2>&1 fi
exit 1
;;
esac
case "$with_abi" in case "$with_abi" in
"" \ "" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment