This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fwd: Re: [PATCH 2] New option for automatically generating IT instructions and enhancing validations]


Hi Nick,
 for some reason the patch included an outdated change to c-arm.texi, so I'm sending the proper text here. Sorry for the inconveniences.

I'm not sure if this deserves it's own ChangeLog; if so, here it is:

2009-07-15 Daniel Gutson <dgutson@codesourcery.com>

	gas/
	* doc/c-arm.texi (mauto-it): Removed old option.
	(mimplicit-it): Added right option.

Daniel.

Nick Clifton wrote:
Hi Daniel,

Thanks for the revised patch. I have now checked it in along with the changelog entry from the first version.

Cheers
  Nick



-- Daniel Gutson CodeSourcery www.codesourcery.com
? c-arm.texi.patch
Index: gas/doc/c-arm.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-arm.texi,v
retrieving revision 1.58
diff -u -p -r1.58 c-arm.texi
--- gas/doc/c-arm.texi	9 Jul 2009 07:52:35 -0000	1.58
+++ gas/doc/c-arm.texi	15 Jul 2009 14:33:22 -0000
@@ -227,10 +227,20 @@ instructions; that is, it should behave 
 This option specifies that the output generated by the assembler should
 be marked as supporting interworking.
 
-@cindex @code{-mauto-it} command line option, ARM
-@item -mauto-it
-This option enables the automatic generation of IT instructions for
-conditional instructions not covered by an IT block.
+@cindex @code{-mimplicit-it} command line option, ARM
+@item -mimplicit-it=never
+@itemx -mimplicit-it=always
+@itemx -mimplicit-it=arm
+@itemx -mimplicit-it=thumb
+The @code{-mimplicit-it} option controls the behavior of the assembler when
+conditional instructions are not enclosed in IT blocks.
+There are four possible behaviors.
+If @code{never} is specified, such constructs cause a warning in ARM code and an error in Thumb-2 code.
+If @code{always} is specified, such constructs are accepted in both ARM and Thumb-2 code, where
+the IT instruction is added implicitly.
+If @code{arm} is specified, such constructs are accepted in ARM code and cause an error in Thumb-2 code.
+If @code{thumb} is specified, such constructs cause a warning in ARM code and are accepted in Thumb-2 code.
+If you omit this option, the behavior is equivalent to @code{-mimplicit-it=arm}.
 
 @cindex @code{-mapcs} command line option, ARM
 @item -mapcs @code{[26|32]}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]