LoongArch: Fix non-ASCII string in disassemble_annotate_one function

Message ID 20260924022722.55003-1-zhaozhou@loongson.cn
State New
Headers
Series LoongArch: Fix non-ASCII string in disassemble_annotate_one function |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Build passed
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Build passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Test passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm success Test passed

Commit Message

zhaozhou Sept. 24, 2026, 2:27 a.m. UTC
  Fix multiple non-ASCII '-' characters in `disassemble_annotate_one`.
---
 opcodes/loongarch-dis.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
  

Patch

diff --git a/opcodes/loongarch-dis.c b/opcodes/loongarch-dis.c
index bdfc6a467e4..529160e77e1 100644
--- a/opcodes/loongarch-dis.c
+++ b/opcodes/loongarch-dis.c
@@ -274,12 +274,11 @@  disassemble_annotate_one (insn_t insn, struct disassemble_info *info)
 
 	  /* dbar imm[4:0] annotate layout:
 	     CRW|RW
-	     │││ ││
-	     │││ │└─ bit 0
-	     │││ └── bit 1
-	     ││└──── bit 2
-	     │└───── bit 3
-	     └────── bit 4
+	     ||| ||_ bit 0
+	     ||| |__ bit 1
+	     |||____ bit 2
+	     ||_____ bit 3
+	     |______ bit 4
 	     Bit 0: false denotes W, true denotes null, W declare store after this
 	     dbar are constrained by the barrier.
 	     Bit 1: false denotes R, true denotes null, R declare load after this