Commit 105249d1 by Nick Clifton Committed by Nick Clifton

rx.c (rx_get_stack_layout): Fix allocation of second register to push into the stack frame when...

        * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
        register to push into the stack frame when the accumulator has to
        be saved during interrupts.

From-SVN: r155652
parent 653f6dc5
2010-01-05 Nick Clifton <nickc@redhat.com>
* config/rx/rx.c (rx_get_stack_layout): Fix allocation of second
register to push into the stack frame when the accumulator has to
be saved during interrupts.
2010-01-05 Eric Fisher <joefoxreal@gmail.com> 2010-01-05 Eric Fisher <joefoxreal@gmail.com>
* doc/invoke.texi: Remove the documentation about option * doc/invoke.texi: Remove the documentation about option
......
...@@ -1072,8 +1072,8 @@ rx_get_stack_layout (unsigned int * lowest, ...@@ -1072,8 +1072,8 @@ rx_get_stack_layout (unsigned int * lowest,
save_mask |= (1 << 13) | (1 << 14); save_mask |= (1 << 13) | (1 << 14);
if (low == 0) if (low == 0)
low = 13; low = 13;
if (high == 0) if (high == 0 || low == high)
high = 14; high = low + 1;
} }
/* Decide if it would be faster fill in the call-saved area of the stack /* Decide if it would be faster fill in the call-saved area of the stack
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment