* rx-tdep.c (rx_analyze_prologue): Don't require branches to have

conditions.
This commit is contained in:
DJ Delorie
2010-07-29 17:35:34 +00:00
parent 0b29bddec8
commit d0d995612d
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2010-07-29 DJ Delorie <dj@redhat.com>
* rx-tdep.c (rx_analyze_prologue): Don't require branches to have
conditions.
2010-07-29 Pedro Alves <pedro@codesourcery.com>
* PROBLEMS: Remove mention of all problems.

View File

@@ -296,7 +296,6 @@ rx_analyze_prologue (CORE_ADDR start_pc,
}
else if (opc.id == RXO_branch
&& opc.op[0].type == RX_Operand_Immediate
&& opc.op[1].type == RX_Operand_Condition
&& next_pc < opc.op[0].addend)
{
/* When a loop appears as the first statement of a function