aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-02-29 21:03:12 +1030
committerAlan Modra <amodra@gmail.com>2024-02-29 21:07:04 +1030
commitf757c5cae97b1437f4fcf2e25c53376775ea541f (patch)
treee5507d3b9733352b7b6f8d28c91dcd115063808d /opcodes
parent159afbb7617d2c8a9cd3f3350374711f37f60442 (diff)
downloadbinutils-f757c5cae97b1437f4fcf2e25c53376775ea541f.zip
binutils-f757c5cae97b1437f4fcf2e25c53376775ea541f.tar.gz
binutils-f757c5cae97b1437f4fcf2e25c53376775ea541f.tar.bz2
PR21739, Inconsistent diagnostics
PR 21739 cpu/ * mep.opc (parse_lo16, parse_unsigned7): Mark %function message as no-c-format. opcodes/ * mep-asm.c: Regenerate.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/mep-asm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/mep-asm.c b/opcodes/mep-asm.c
index e2dda51..6e72ddb 100644
--- a/opcodes/mep-asm.c
+++ b/opcodes/mep-asm.c
@@ -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);