msp430.opt: Add -msilicon-errata and -msilicon-errata-warn.

* config/msp430/msp430.opt: Add -msilicon-errata and
	-msilicon-errata-warn.
	* config/msp430/msp430.h (ASM_SPEC): Pass new options on to
	assembler.
	* doc/invoke.texi: Document new options.

From-SVN: r229177
This commit is contained in:
Nick Clifton 2015-10-22 16:00:38 +00:00 committed by Nick Clifton
parent 2c34eb7423
commit 8d535dab41
4 changed files with 29 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2015-10-22 Nick Clifton <nickc@redhat.com>
* config/msp430/msp430.opt: Add -msilicon-errata and
-msilicon-errata-warn.
* config/msp430/msp430.h (ASM_SPEC): Pass new options on to
assembler.
* doc/invoke.texi: Document new options.
2015-10-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/58497

View File

@ -56,6 +56,8 @@ extern bool msp430x;
"%{mrelax=-mQ} " /* Pass the relax option on to the assembler. */ \
"%{mlarge:-ml} " /* Tell the assembler if we are building for the LARGE pointer model. */ \
"%{!msim:-md} %{msim:%{mlarge:-md}} " /* Copy data from ROM to RAM if necessary. */ \
"%{msilicon-errata=*:-msilicon-errata=%*} " /* Pass on -msilicon-errata. */ \
"%{msilicon-errata-warn=*:-msilicon-errata-warn=%*} " /* Pass on -msilicon-errata-warn. */ \
"%{ffunction-sections:-gdwarf-sections} " /* If function sections are being created then create DWARF line number sections as well. */
/* Enable linker section garbage collection by default, unless we

View File

@ -80,3 +80,11 @@ Enum(msp430_regions) String(lower) Value(LOWER)
EnumValue
Enum(msp430_regions) String(upper) Value(UPPER)
msilicon-errata=
Target Joined RejectNegative Report ToLower
Passes on a request to the assembler to enable fixes for various silicon errata
msilicon-errata-warn=
Target Joined RejectNegative Report ToLower
Passes on a request to the assembler to warn about various silicon errata

View File

@ -841,6 +841,7 @@ Objective-C and Objective-C++ Dialects}.
@emph{MSP430 Options}
@gccoptlist{-msim -masm-hex -mmcu= -mcpu= -mlarge -msmall -mrelax @gol
-mcode-region= -mdata-region= @gol
-msilicon-errata= -msilicon-errata-warn= @gol
-mhwmult= -minrt}
@emph{NDS32 Options}
@ -18449,6 +18450,16 @@ like the corresponding attribute. The fourth possible value -
linker script and how it assigns the standard sections (.text, .data
etc) to the memory regions.
@item -msilicon-errata=
@opindex msilicon-errata
This option passes on a request to assembler to enable the fixes for
the names silicon errata.
@item -msilicon-errata-warn=
@opindex msilicon-errata-warn
This option passes on a request to the assembler to enable warning
messages when a silicon errata might need to be applied.
@end table
@node NDS32 Options