From f55d710361cb1cdb9af48bf38b88842825fca549 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 30 Jan 2003 14:13:25 +0000 Subject: [PATCH] (arm_output_epilogue): Update stack pointer when popping saved IP register off the stack. From-SVN: r62138 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9548a22d212f..bc222aa4a54d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-30 Nick Clifton + + * config/arm/arm.c (arm_output_epilogue): Update stack pointer + when popping saved IP register off the stack. + 2003-01-30 Kazu Hirata * config/rs6000/aix43.h: Fix comment typos. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 576d038a7281..20ae69725a6e 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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 {