Commit c7d19c0b by Terry Guo Committed by Xuepeng Guo

config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.

2014-01-06  Terry Guo  <terry.guo@arm.com>

	* config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.

From-SVN: r206354
parent 9596ecdf
2014-01-06 Terry Guo <terry.guo@arm.com>
* config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.
2014-01-05 Iain Sandoe <iain@codesourcery.com> 2014-01-05 Iain Sandoe <iain@codesourcery.com>
PR bootstrap/59541 PR bootstrap/59541
......
...@@ -3476,19 +3476,17 @@ case "${target}" in ...@@ -3476,19 +3476,17 @@ case "${target}" in
fi fi
done done
case "$with_arch" in # See if it matches any of the entries in arm-arches.def
"" \ if [ x"$with_arch" = x ] \
| armv[23456] | armv2a | armv3m | armv4t | armv5t \ || grep "^ARM_ARCH(\"$with_arch\"," \
| armv5te | armv6j |armv6k | armv6z | armv6zk | armv6-m \ ${srcdir}/config/arm/arm-arches.def \
| armv7 | armv7-a | armv7-r | armv7-m | armv8-a \ > /dev/null; then
| iwmmxt | ep9312) # OK
# OK true
;; else
*) echo "Unknown arch used in --with-arch=$with_arch" 1>&2
echo "Unknown arch used in --with-arch=$with_arch" 1>&2 exit 1
exit 1 fi
;;
esac
case "$with_float" in case "$with_float" 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