Fix documentation for -mthumb
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Tue, 31 Mar 2009 14:41:32 +0000 (14:41 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Tue, 31 Mar 2009 14:41:32 +0000 (14:41 +0000)
From-SVN: r145347

gcc/ChangeLog
gcc/doc/invoke.texi

index e38995188c1bb7d74dec17b1c95d218aeacf8e6d..3ccdb4c0c3c9b954931c9f86942e0897374709bb 100644 (file)
@@ -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
index 980810451f5f377d9e65c7921a67fdc7be10afa7..b2a764acc02da931875e6c5a30b70bf653aa81c0 100644 (file)
@@ -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