Change -mz command line option to -my for the MSP430 port of GAS.
authorNick Clifton <nickc@redhat.com>
Tue, 3 Jun 2014 07:49:02 +0000 (08:49 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 3 Jun 2014 07:49:02 +0000 (08:49 +0100)
* 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.

gas/ChangeLog
gas/config/tc-msp430.c
gas/doc/c-msp430.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/msp430/bad.d

index 98186d3242686dc3b8177d6da77ea3c85aae44a1..040e5d8f9b924ab82fc54ce55a48edf96fe0fba3 100644 (file)
@@ -1,3 +1,9 @@
+2014-06-03  Nick Clifton  <nickc@redhat.com>
+
+       * 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.
+
 2014-05-22  Alan Modra  <amodra@gmail.com>
 
        * listing.c (listing_warning, listing_error): Add space after colon.
index 2db0fc027c1b3f21e8ef89c129c66f10255c46b0..1398b8c2acddd3af2d9ab61234034eac276b0692 100644 (file)
@@ -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"));
 }
index c5399469d8360a1cb7b2bd2bdd54fdabee36e659..cae3d8a6af1290383495f6a4ca47d6e8805799f4 100644 (file)
@@ -61,7 +61,7 @@ disables the generation of a NOP instruction following any instruction
 that might change the interrupts enabled/disabled state.  This is the
 default behaviour.
 
-@item -mz
+@item -my
 tells the assembler to generate a warning message if a NOP does not
 immediately forllow an instruction that enables or disables
 interrupts.  This is the default.
@@ -70,7 +70,7 @@ Note that this option can be stacked with the @option{-mn} option so
 that the assembler will both warn about missing NOP instructions and
 then insert them automatically.
 
-@item -mZ
+@item -mY
 disables warnings about missing NOP instructions.
 
 @item -md
index 855add8e3c14271836a381cdc966d790b3e62eda..bc6ba36ff390a719477ae13069909e6f96c232ce 100644 (file)
@@ -1,3 +1,7 @@
+2014-06-03  Nick Clifton  <nickc@redhat.com>
+
+       * gas/msp430/bad.d: Use -my not -mz.
+
 2014-05-22  Alan Modra  <amodra@gmail.com>
 
        * gas/d30v/bittest.l: Update for changed whitespace.
index 1a067b5f8ddd296110db93ec8ace67456142632d..749759ec8cb1947fc2fb5e29cba6e6f001092b0d 100644 (file)
@@ -1,4 +1,4 @@
 #name: Diagnostics Quality
 #source: bad.s
-#as: -mz
+#as: -my
 #error-output: bad.l
This page took 0.031624 seconds and 4 git commands to generate.