diff options
author | Nick Clifton <nickc@redhat.com> | 2015-10-22 16:00:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2015-10-22 16:00:38 +0000 |
commit | 8d535dab41846796712adabc2beb260f26ad457e (patch) | |
tree | 8dc8295f83d6d2ab6705bba92fd28604c5066788 /gcc | |
parent | 2c34eb7423bf4ccfc12bcd352f8d6c2a2e99a24a (diff) | |
download | gcc-8d535dab41846796712adabc2beb260f26ad457e.zip gcc-8d535dab41846796712adabc2beb260f26ad457e.tar.gz gcc-8d535dab41846796712adabc2beb260f26ad457e.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/msp430/msp430.h | 2 | ||||
-rw-r--r-- | gcc/config/msp430/msp430.opt | 8 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 11 |
4 files changed, 29 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9383e1c..08d26a9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/msp430/msp430.h b/gcc/config/msp430/msp430.h index 2c5d99b..340aabd 100644 --- a/gcc/config/msp430/msp430.h +++ b/gcc/config/msp430/msp430.h @@ -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 diff --git a/gcc/config/msp430/msp430.opt b/gcc/config/msp430/msp430.opt index aa1b39e..269c834 100644 --- a/gcc/config/msp430/msp430.opt +++ b/gcc/config/msp430/msp430.opt @@ -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 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index cd82544..67ca5f1 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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 |