From: ramana Date: Tue, 31 Mar 2009 14:41:32 +0000 (+0000) Subject: Fix documentation for -mthumb X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee933f51acc72cf733d532461713a446eb5215d4;p=thirdparty%2Fgcc.git Fix documentation for -mthumb git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145347 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e38995188c1b..3ccdb4c0c3c9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-03-31 Ramana Radhakrishnan + + PR target/27237 + * doc/invoke.texi (ARM Options): Update documentation for -mthumb. + 2009-03-31 Richard Guenther PR middle-end/31029 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 980810451f5f..b2a764acc02d 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