Commit 8d535dab by Nick Clifton Committed by Nick Clifton

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
parent 2c34eb74
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> 2015-10-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/58497 PR tree-optimization/58497
...@@ -56,6 +56,8 @@ extern bool msp430x; ...@@ -56,6 +56,8 @@ extern bool msp430x;
"%{mrelax=-mQ} " /* Pass the relax option on to the assembler. */ \ "%{mrelax=-mQ} " /* Pass the relax option on to the assembler. */ \
"%{mlarge:-ml} " /* Tell the assembler if we are building for the LARGE pointer model. */ \ "%{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. */ \ "%{!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. */ "%{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 /* Enable linker section garbage collection by default, unless we
......
...@@ -80,3 +80,11 @@ Enum(msp430_regions) String(lower) Value(LOWER) ...@@ -80,3 +80,11 @@ Enum(msp430_regions) String(lower) Value(LOWER)
EnumValue EnumValue
Enum(msp430_regions) String(upper) Value(UPPER) 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
...@@ -841,6 +841,7 @@ Objective-C and Objective-C++ Dialects}. ...@@ -841,6 +841,7 @@ Objective-C and Objective-C++ Dialects}.
@emph{MSP430 Options} @emph{MSP430 Options}
@gccoptlist{-msim -masm-hex -mmcu= -mcpu= -mlarge -msmall -mrelax @gol @gccoptlist{-msim -masm-hex -mmcu= -mcpu= -mlarge -msmall -mrelax @gol
-mcode-region= -mdata-region= @gol -mcode-region= -mdata-region= @gol
-msilicon-errata= -msilicon-errata-warn= @gol
-mhwmult= -minrt} -mhwmult= -minrt}
@emph{NDS32 Options} @emph{NDS32 Options}
...@@ -18449,6 +18450,16 @@ like the corresponding attribute. The fourth possible value - ...@@ -18449,6 +18450,16 @@ like the corresponding attribute. The fourth possible value -
linker script and how it assigns the standard sections (.text, .data linker script and how it assigns the standard sections (.text, .data
etc) to the memory regions. 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 @end table
@node NDS32 Options @node NDS32 Options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment