aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/score-dis.c10
-rw-r--r--opcodes/score7-dis.c5
3 files changed, 12 insertions, 9 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 82639d8..b8dcf2a 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-22 Alan Modra <amodra@bigpond.net.au>
+
+ * score-dis.c (print_insn_score48, print_insn_score32): Move default
+ case label to proper lexical block.
+ * score7-dis.c (print_insn_score32): Likewise.
+
2009-06-19 Martin Schwidefsky <sschwidefsky@de.ibm.com>
* s390-opc.c (INSTR_RR_0R_OPT, INSTR_RX_0RRD_OPT, MASK_RR_0R_OPT,
diff --git a/opcodes/score-dis.c b/opcodes/score-dis.c
index 02405e4..900c1c1 100644
--- a/opcodes/score-dis.c
+++ b/opcodes/score-dis.c
@@ -646,10 +646,9 @@ print_insn_score48 (struct disassemble_info *info, bfd_vma given)
abort ();
}
break;
-
- default:
- abort ();
}
+ default:
+ abort ();
}
}
else
@@ -854,10 +853,9 @@ print_insn_score32 (bfd_vma pc, struct disassemble_info *info, long given)
abort ();
}
break;
-
- default:
- abort ();
}
+ default:
+ abort ();
}
}
else
diff --git a/opcodes/score7-dis.c b/opcodes/score7-dis.c
index 70ff637..b48d178 100644
--- a/opcodes/score7-dis.c
+++ b/opcodes/score7-dis.c
@@ -678,10 +678,9 @@ print_insn_score32 (bfd_vma pc, struct disassemble_info *info, long given)
abort ();
}
break;
-
- default:
- abort ();
}
+ default:
+ abort ();
}
}
else