aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2006-03-17 14:48:58 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2006-03-17 14:48:58 +0000
commit3cf9427949d3c455bd19d9dcfe57e57c073b37c3 (patch)
tree79123bffd6aa61668f108746ecd160273164f4cc /gcc/config.gcc
parent4241ecb0023443edeae332690c48851e140ef10b (diff)
downloadgcc-3cf9427949d3c455bd19d9dcfe57e57c073b37c3.zip
gcc-3cf9427949d3c455bd19d9dcfe57e57c073b37c3.tar.gz
gcc-3cf9427949d3c455bd19d9dcfe57e57c073b37c3.tar.bz2
install.texi: Docuemnt --with-mode.
2006-03-17 Paul Brook <paul@codesourcery.com> * doc/install.texi: Docuemnt --with-mode. * config.gcc: Add --with-mode for arm*-*-*. * config/arm/arm.h (OPTION_DEFAULT_SPECS): Add "mode". From-SVN: r112174
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc13
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 0af55a5..1213156 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2564,7 +2564,7 @@ case "${target}" in
;;
arm*-*-*)
- supported_defaults="arch cpu float tune fpu abi"
+ supported_defaults="arch cpu float tune fpu abi mode"
for which in cpu tune; do
# See if it matches any of the entries in arm-cores.def
eval "val=\$with_$which"
@@ -2632,6 +2632,17 @@ case "${target}" in
;;
esac
+ case "$with_mode" in
+ "" \
+ | arm | thumb )
+ #OK
+ ;;
+ *)
+ echo "Unknown mode used in --with-mode=$with_mode"
+ exit 1
+ ;;
+ esac
+
if test "x$with_arch" != x && test "x$with_cpu" != x; then
echo "Warning: --with-arch overrides --with-cpu=$with_cpu" 1>&2
fi