(arm_output_epilogue): Update stack pointer when popping saved IP register

off the stack.

From-SVN: r62138
This commit is contained in:
Nick Clifton 2003-01-30 14:13:25 +00:00 committed by Nick Clifton
parent b6d08ca1ec
commit f55d710361
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-01-30 Nick Clifton <nickc@redhat.com>
* config/arm/arm.c (arm_output_epilogue): Update stack pointer
when popping saved IP register off the stack.
2003-01-30 Kazu Hirata <kazu@cs.umass.edu>
* config/rs6000/aix43.h: Fix comment typos.

View File

@ -8209,7 +8209,7 @@ arm_output_epilogue (really_return)
if (IS_INTERRUPT (func_type))
/* Interrupt handlers will have pushed the
IP onto the stack, so restore it now. */
print_multi_reg (f, "ldmfd\t%r", SP_REGNUM, 1 << IP_REGNUM);
print_multi_reg (f, "ldmfd\t%r!", SP_REGNUM, 1 << IP_REGNUM);
}
else
{