diff options
author | Nick Clifton <nickc@redhat.com> | 2014-06-03 08:49:02 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-06-03 08:49:02 +0100 |
commit | 69227609dc00d472115b00b70c8c4eca6befdd81 (patch) | |
tree | 9d3970208d671d30cab283977c9e04d28368b38e /gas/config/tc-msp430.c | |
parent | 9bc24099c80dca9ab1d5f2d18670de666f3f4590 (diff) | |
download | gdb-69227609dc00d472115b00b70c8c4eca6befdd81.zip gdb-69227609dc00d472115b00b70c8c4eca6befdd81.tar.gz gdb-69227609dc00d472115b00b70c8c4eca6befdd81.tar.bz2 |
Change -mz command line option to -my for the MSP430 port of GAS.
* config/tc-msp430.c (OPTION_WARN_INTR_NOPS): Use y instead of z.
(OPTION_NO_WARN_INTR_NOPS): Use Y instead of Z.
* doc/c-msp430.texi: Update command line option description.
* gas/msp430/bad.d: Use -my not -mz.
Diffstat (limited to 'gas/config/tc-msp430.c')
-rw-r--r-- | gas/config/tc-msp430.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gas/config/tc-msp430.c b/gas/config/tc-msp430.c index 2db0fc0..1398b8c 100644 --- a/gas/config/tc-msp430.c +++ b/gas/config/tc-msp430.c @@ -673,8 +673,8 @@ static bfd_boolean large_model = FALSE; #define OPTION_NO_INTR_NOPS 'N' #define OPTION_INTR_NOPS 'n' static bfd_boolean gen_interrupt_nops = FALSE; -#define OPTION_WARN_INTR_NOPS 'z' -#define OPTION_NO_WARN_INTR_NOPS 'Z' +#define OPTION_WARN_INTR_NOPS 'y' +#define OPTION_NO_WARN_INTR_NOPS 'Y' static bfd_boolean warn_interrupt_nops = TRUE; #define OPTION_MCPU 'c' #define OPTION_MOVE_DATA 'd' @@ -919,7 +919,7 @@ const pseudo_typeS md_pseudo_table[] = {NULL, NULL, 0} }; -const char *md_shortopts = "mm:,mP,mQ,ml,mN,mn,mz,mZ"; +const char *md_shortopts = "mm:,mP,mQ,ml,mN,mn,my,mY"; struct option md_longopts[] = { @@ -930,8 +930,8 @@ struct option md_longopts[] = {"ml", no_argument, NULL, OPTION_LARGE}, {"mN", no_argument, NULL, OPTION_NO_INTR_NOPS}, {"mn", no_argument, NULL, OPTION_INTR_NOPS}, - {"mZ", no_argument, NULL, OPTION_NO_WARN_INTR_NOPS}, - {"mz", no_argument, NULL, OPTION_WARN_INTR_NOPS}, + {"mY", no_argument, NULL, OPTION_NO_WARN_INTR_NOPS}, + {"my", no_argument, NULL, OPTION_WARN_INTR_NOPS}, {"md", no_argument, NULL, OPTION_MOVE_DATA}, {NULL, no_argument, NULL, 0} }; @@ -955,9 +955,9 @@ md_show_usage (FILE * stream) fprintf (stream, _(" -mn - insert a NOP after changing interrupts\n")); fprintf (stream, - _(" -mZ - do not warn about missing NOPs after changing interrupts\n")); + _(" -mY - do not warn about missing NOPs after changing interrupts\n")); fprintf (stream, - _(" -mz - warn about missing NOPs after changing interrupts (default)\n")); + _(" -my - warn about missing NOPs after changing interrupts (default)\n")); fprintf (stream, _(" -md - Force copying of data from ROM to RAM at startup\n")); } |