Commit: Fix typo in aarch64-opc.c

Nick Clifton nickc@redhat.com
Mon Dec 8 14:58:40 GMT 2025


Hi Guys

  I am checking in the patch below as an obvious fix for a typo in
  aarch64-opc.c.  This was actually flagged as a warning when I compiled
  the sources with Clang, which is how I found the problem.

Cheers
  Nick
  
diff --git a/opcodes/aarch64-opc.c b/opcodes/aarch64-opc.c
index c501b9b35e5..97852a0132d 100644
--- a/opcodes/aarch64-opc.c
+++ b/opcodes/aarch64-opc.c
@@ -5006,7 +5006,7 @@ aarch64_print_operand (char *buf, size_t size, bfd_vma pc,
 
 	    if (!(aarch64_sys_regs[i].value == opnd->sysreg.value)
 		|| aarch64_sys_reg_deprecated_p (aarch64_sys_regs[i].flags)
-		| aarch64_sys_reg_alias_p (aarch64_sys_regs[i].flags))
+		|| aarch64_sys_reg_alias_p (aarch64_sys_regs[i].flags))
 	      continue;
 
 	    int mismatch_score = 0;



More information about the Binutils mailing list