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
This commit is contained in:
parent
4241ecb002
commit
3cf9427949
@ -1,3 +1,9 @@
|
||||
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".
|
||||
|
||||
2006-03-17 J"orn Rennecke <joern.rennecke@st.com>
|
||||
|
||||
* sh.c (max_labelno_before_reorg): New variable.
|
||||
|
@ -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
|
||||
|
@ -220,7 +220,8 @@ extern GTY(()) rtx aof_pic_label;
|
||||
{"float", \
|
||||
"%{!msoft-float:%{!mhard-float:%{!mfloat-abi=*:-mfloat-abi=%(VALUE)}}}" }, \
|
||||
{"fpu", "%{!mfpu=*:-mfpu=%(VALUE)}"}, \
|
||||
{"abi", "%{!mabi=*:-mabi=%(VALUE)}"},
|
||||
{"abi", "%{!mabi=*:-mabi=%(VALUE)}"}, \
|
||||
{"mode", "%{!marm:%{!mthumb:-m%(VALUE)}}"},
|
||||
|
||||
/* Which floating point model to use. */
|
||||
enum arm_fp_model
|
||||
|
@ -995,6 +995,10 @@ options and for @option{-mhard-float} or @option{-msoft-float}. As with
|
||||
@option{--with-cpu}, which switches will be accepted and acceptable values
|
||||
of the arguments depend on the target.
|
||||
|
||||
@item --with-mode=@var{mode}
|
||||
Specify if the compiler should default to @option{-marm} or @option{-mthumb}.
|
||||
This option is only supported on ARM targets.
|
||||
|
||||
@item --with-divide=@var{type}
|
||||
Specify how the compiler should generate code for checking for
|
||||
division by zero. This option is only supported on the MIPS target.
|
||||
|
Loading…
Reference in New Issue
Block a user