[msp430] add missing option documentation
diff mbox

Message ID 201409052116.s85LGaiL021577@greed.delorie.com
State New
Headers show

Commit Message

DJ Delorie Sept. 5, 2014, 9:16 p.m. UTC
Minor bit of docs for an msp430 option.  OK for trunk and 4.9 branch?

	* doc/invoke.texi (MSP430 Options): Add -minrt.

Comments

Richard Biener Sept. 8, 2014, 9:12 a.m. UTC | #1
On Fri, Sep 5, 2014 at 11:16 PM, DJ Delorie <dj@redhat.com> wrote:
>
> Minor bit of docs for an msp430 option.  OK for trunk and 4.9 branch?

Ok.

Thanks,
Richard.

>         * doc/invoke.texi (MSP430 Options): Add -minrt.
>
> Index: doc/invoke.texi
> ===================================================================
> --- doc/invoke.texi     (revision 214976)
> +++ doc/invoke.texi     (working copy)
> @@ -834,13 +834,13 @@ Objective-C and Objective-C++ Dialects}.
>
>  @emph{Moxie Options}
>  @gccoptlist{-meb -mel -mno-crt0}
>
>  @emph{MSP430 Options}
>  @gccoptlist{-msim -masm-hex -mmcu= -mcpu= -mlarge -msmall -mrelax @gol
> --mhwmult=}
> +-mhwmult= -minrt}
>
>  @emph{NDS32 Options}
>  @gccoptlist{-mbig-endian -mlittle-endian @gol
>  -mreduced-regs -mfull-regs @gol
>  -mcmov -mno-cmov @gol
>  -mperf-ext -mno-perf-ext @gol
> @@ -18583,12 +18583,19 @@ routine.  This saves space in the genera
>  inline.  This makes for bigger, but faster code.
>
>  The hardware multiply routines disable interrupts whilst running and
>  restore the previous interrupt state when they finish.  This makes
>  them safe to use inside interrupt handlers as well as in normal code.
>
> +@item -minrt
> +@opindex minrt
> +Enable the use of a minimum runtime environment - no static
> +initializers or constructors.  This is intended for memory-constrained
> +devices.  The compiler will include special symbols in some objects
> +that tell the linker and runtime which code fragments are required.
> +
>  @end table
>
>  @node NDS32 Options
>  @subsection NDS32 Options
>  @cindex NDS32 Options
>
DJ Delorie Sept. 8, 2014, 7:34 p.m. UTC | #2
> > Minor bit of docs for an msp430 option.  OK for trunk and 4.9 branch?
> 
> Ok.
> 
> >         * doc/invoke.texi (MSP430 Options): Add -minrt.

Thanks! Committed.

Patch
diff mbox

Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi	(revision 214976)
+++ doc/invoke.texi	(working copy)
@@ -834,13 +834,13 @@  Objective-C and Objective-C++ Dialects}.
 
 @emph{Moxie Options}
 @gccoptlist{-meb -mel -mno-crt0}
 
 @emph{MSP430 Options}
 @gccoptlist{-msim -masm-hex -mmcu= -mcpu= -mlarge -msmall -mrelax @gol
--mhwmult=}
+-mhwmult= -minrt}
 
 @emph{NDS32 Options}
 @gccoptlist{-mbig-endian -mlittle-endian @gol
 -mreduced-regs -mfull-regs @gol
 -mcmov -mno-cmov @gol
 -mperf-ext -mno-perf-ext @gol
@@ -18583,12 +18583,19 @@  routine.  This saves space in the genera
 inline.  This makes for bigger, but faster code.
 
 The hardware multiply routines disable interrupts whilst running and
 restore the previous interrupt state when they finish.  This makes
 them safe to use inside interrupt handlers as well as in normal code.
 
+@item -minrt
+@opindex minrt
+Enable the use of a minimum runtime environment - no static
+initializers or constructors.  This is intended for memory-constrained
+devices.  The compiler will include special symbols in some objects
+that tell the linker and runtime which code fragments are required.
+
 @end table
 
 @node NDS32 Options
 @subsection NDS32 Options
 @cindex NDS32 Options