From 1fd1aeef96ca8f9a456863bd947476ff616bdd4c Mon Sep 17 00:00:00 2001 From: nickc 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62138 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 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 { -- 2.11.4.GIT