diff options
author | Nick Clifton <nickc@redhat.com> | 2003-01-30 14:13:25 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2003-01-30 14:13:25 +0000 |
commit | f55d710361cb1cdb9af48bf38b88842825fca549 (patch) | |
tree | 368d6c09a5ef689d141d69925a2dd426000ed55d /gcc | |
parent | b6d08ca1ec3de3cf5723418ddc41796d78ef5690 (diff) | |
download | gcc-f55d710361cb1cdb9af48bf38b88842825fca549.zip gcc-f55d710361cb1cdb9af48bf38b88842825fca549.tar.gz gcc-f55d710361cb1cdb9af48bf38b88842825fca549.tar.bz2 |
(arm_output_epilogue): Update stack pointer when popping saved IP register
off the stack.
From-SVN: r62138
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/arm/arm.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9548a22..bc222aa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 576d038..20ae697 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 { |