diff options
author | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | 2009-03-31 14:41:32 +0000 |
---|---|---|
committer | Ramana Radhakrishnan <ramana@gcc.gnu.org> | 2009-03-31 14:41:32 +0000 |
commit | bebc6e07b129cd3e159a6a82fb283e8d13c7a1ff (patch) | |
tree | f32cdac597e4898cf067afd8a591e1810274c258 | |
parent | 6b12efe971ad59e925d119243e6b6fabfdc2ba05 (diff) | |
download | gcc-bebc6e07b129cd3e159a6a82fb283e8d13c7a1ff.zip gcc-bebc6e07b129cd3e159a6a82fb283e8d13c7a1ff.tar.gz gcc-bebc6e07b129cd3e159a6a82fb283e8d13c7a1ff.tar.bz2 |
Fix documentation for -mthumb
From-SVN: r145347
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e389951..3ccdb4c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-03-31 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + PR target/27237 + * doc/invoke.texi (ARM Options): Update documentation for -mthumb. + 2009-03-31 Richard Guenther <rguenther@suse.de> PR middle-end/31029 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 9808104..b2a764a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -9223,7 +9223,10 @@ 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. +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}. @item -mtpcs-frame @opindex mtpcs-frame |