[binutils-gdb] ppc-opc.c non-ascii string

Alan Modra amodra@sourceware.org
Sat Mar 7 03:28:30 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c94eee7589548c1ded3882ea9b64f5fb58e56630

commit c94eee7589548c1ded3882ea9b64f5fb58e56630
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Mar 5 23:48:53 2026 +1030

    ppc-opc.c non-ascii string
    
    Fix a gettext complaint.
    
            * ppc-opc.c (insert_sr): Don't use non-ascii dash.

Diff:
---
 opcodes/ppc-opc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index af96fbba3fc..2750aa94c57 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -1825,7 +1825,7 @@ insert_sr (uint64_t insn,
 	   const char **errmsg)
 {
   if (value < 0 || value > 23)
-    *errmsg = _("invalid SR value (must be 0–23)");
+    *errmsg = _("invalid SR value (must be 0-23)");
   return insn | ((value & 0x1f) << 11);
 }


More information about the Binutils-cvs mailing list