From: Nick Clifton Date: Thu, 30 Jan 2003 14:13:25 +0000 (+0000) Subject: (arm_output_epilogue): Update stack pointer when popping saved IP register X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f55d710361cb1cdb9af48bf38b88842825fca549;p=gcc.git (arm_output_epilogue): Update stack pointer when popping saved IP register off the stack. From-SVN: r62138 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9548a22d212..bc222aa4a54 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 576d038a728..20ae69725a6 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 {