From ab90591541a18371d9676ce8d731ff50d4f74a90 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 18 Sep 2013 07:50:34 +0000 Subject: * config/tc-msp430.c (OPTION_MOVE_DATA): Define. (move_data): New variable. (md_parse_option): Parse -md. (msp430_section): New function. Catch references to the .bss or .data sections and generate a special symbol for use by the libcrt library. (md_pseudo_table): Intercept .section directives. (md_longopt): Add -md (md_show_usage): Likewise. (msp430_operands): Generate a warning message if a NOP is inserted into the instruction stream. * doc/c-msp430.texi (node MSP430 Options): Document -md option. --- gas/doc/c-msp430.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gas/doc') diff --git a/gas/doc/c-msp430.texi b/gas/doc/c-msp430.texi index 538133a..2927add 100644 --- a/gas/doc/c-msp430.texi +++ b/gas/doc/c-msp430.texi @@ -57,6 +57,10 @@ instruction happens automatically, but this command line option disables this behaviour. It is then up to the programmer to ensure that interrupts are enabled and disabled correctly. +@item -md +mark the object file as one that requires data to copied from ROM to +RAM at execution startup. Disabled by default. + @end table @node MSP430 Syntax -- cgit v1.1