aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRamana Radhakrishnan <ramana.radhakrishnan@linaro.org>2011-05-06 10:56:32 +0000
committerRamana Radhakrishnan <ramana@gcc.gnu.org>2011-05-06 10:56:32 +0000
commitee6824ae01132c0175ad8db0e58e19ee661fe5cb (patch)
treec1dfa8ce7af1d0b08a3e401911908903e58050cb /gcc/doc
parente7385332a07dc8254dfffcdc4958179a4f9ef121 (diff)
downloadgcc-ee6824ae01132c0175ad8db0e58e19ee661fe5cb.zip
gcc-ee6824ae01132c0175ad8db0e58e19ee661fe5cb.tar.gz
gcc-ee6824ae01132c0175ad8db0e58e19ee661fe5cb.tar.bz2
re PR target/47930 (-marm is undocumented; driver accepts -mno-thumb)
2011-05-06 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> PR target/47930 * config/arm/arm.opt (marm): Document it. (mthumb): Reject negative variant. From-SVN: r173481
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 2a46c37..848aa37 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -10282,15 +10282,15 @@ there is a function name embedded immediately preceding this location
and has length @code{((pc[-3]) & 0xff000000)}.
@item -mthumb
+@itemx -marm
+@opindex marm
@opindex mthumb
-Generate code for the Thumb instruction set. The default is to
-use the 32-bit ARM instruction set.
-This option automatically enables either 16-bit Thumb-1 or
-mixed 16/32-bit Thumb-2 instructions based on the @option{-mcpu=@var{name}}
-and @option{-march=@var{name}} options. This option is not passed to the
-assembler. If you want to force assembler files to be interpreted as Thumb code,
-either add a @samp{.thumb} directive to the source or pass the @option{-mthumb}
-option directly to the assembler by prefixing it with @option{-Wa}.
+
+Select between generating code that executes in ARM and Thumb
+states. The default for most configurations is to generate code
+that executes in ARM state, but the default can be changed by
+configuring GCC with the @option{--with-mode=}@var{state}
+configure option.
@item -mtpcs-frame
@opindex mtpcs-frame