]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR21739, Inconsistent diagnostics
authorAlan Modra <amodra@gmail.com>
Thu, 29 Feb 2024 10:33:12 +0000 (21:03 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 29 Feb 2024 10:37:04 +0000 (21:07 +1030)
PR 21739
cpu/
* mep.opc (parse_lo16, parse_unsigned7): Mark %function
message as no-c-format.
opcodes/
* mep-asm.c: Regenerate.

cpu/mep.opc
opcodes/mep-asm.c

index ebe119ae339ec087e79a620c03485ed28fec00d3..33dd63b4b9d1f3344be435eda0b58bc31755a62b 100644 (file)
@@ -349,6 +349,7 @@ parse_lo16 (CGEN_CPU_DESC cd,
     }
 
   if (**strp == '%')
+    /* xgettext:no-c-format */
     return _("invalid %function() here");
 
   return cgen_parse_signed_integer (cd, strp, opindex, valuep);
@@ -545,6 +546,7 @@ parse_unsigned7 (CGEN_CPU_DESC cd, const char **strp,
     }
 
   if (**strp == '%')
+    /* xgettext:no-c-format */
     return _("invalid %function() here");
 
   return parse_mep_alignu (cd, strp, opindex, valuep);
index e2dda51a977460c14742771c58ab605c5d98a02a..6e72ddba5a1173915b3da5f31e34046f1b9ba8e4 100644 (file)
@@ -305,6 +305,7 @@ parse_lo16 (CGEN_CPU_DESC cd,
     }
 
   if (**strp == '%')
+    /* xgettext:no-c-format */
     return _("invalid %function() here");
 
   return cgen_parse_signed_integer (cd, strp, opindex, valuep);
@@ -501,6 +502,7 @@ parse_unsigned7 (CGEN_CPU_DESC cd, const char **strp,
     }
 
   if (**strp == '%')
+    /* xgettext:no-c-format */
     return _("invalid %function() here");
 
   return parse_mep_alignu (cd, strp, opindex, valuep);