PR24421, Wrong brackets in opcodes/arm-dis.c
Alan Modra
amodra@gmail.com
Sun Apr 7 13:11:00 GMT 2019
PR 24421
* arm-dis.c (print_insn_coprocessor): Correct bracket placement.
(print_insn_neon, print_insn_arm): Likewise.
(-w diff shown, the actual diff does a lot of indentation.)
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index d47ef32b97..34acea240e 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -3836,6 +3836,7 @@ print_insn_coprocessor (bfd_vma pc,
default:
abort ();
}
+ }
break;
case 'y':
@@ -4021,7 +4022,6 @@ print_insn_coprocessor (bfd_vma pc,
abort ();
}
}
- }
else
func (stream, "%c", *c);
}
@@ -4584,13 +4584,13 @@ print_insn_neon (struct disassemble_info *info, long given, bfd_boolean thumb)
default:
abort ();
}
+ }
break;
default:
abort ();
}
}
- }
else
func (stream, "%c", *c);
}
@@ -5123,6 +5123,7 @@ print_insn_arm (bfd_vma pc, struct disassemble_info *info, long given)
default:
abort ();
}
+ }
break;
case 'e':
@@ -5183,7 +5184,6 @@ print_insn_arm (bfd_vma pc, struct disassemble_info *info, long given)
abort ();
}
}
- }
else
func (stream, "%c", *c);
}
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list