diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/arm/ieee754-df.S | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7ce7d8c..32dbb6e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2007-12-13 Richard Earnshaw <rearnsha@arm.com> + + PR target/30192 + * config/arm/ieee754-df.S (floatundidf): Fix for wrong sp value on + exit when using hard FPA. + * config/arm/ieee754-df.S (floatdidf): Likewise. + 2007-12-12 Jakub Jelinek <jakub@redhat.com> PR bootstrap/30589 diff --git a/gcc/config/arm/ieee754-df.S b/gcc/config/arm/ieee754-df.S index 76cbb6e..b866e67 100644 --- a/gcc/config/arm/ieee754-df.S +++ b/gcc/config/arm/ieee754-df.S @@ -512,7 +512,8 @@ ARM_FUNC_ALIAS aeabi_ul2d floatundidf @ we can return the result in f0 as well as in r0/r1 for backwards @ compatibility. adr ip, LSYM(f0_ret) - do_push {r4, r5, ip, lr} + @ Push pc as well so that RETLDM works correctly. + do_push {r4, r5, ip, lr, pc} #else do_push {r4, r5, lr} #endif @@ -537,7 +538,8 @@ ARM_FUNC_ALIAS aeabi_l2d floatdidf @ we can return the result in f0 as well as in r0/r1 for backwards @ compatibility. adr ip, LSYM(f0_ret) - do_push {r4, r5, ip, lr} + @ Push pc as well so that RETLDM works correctly. + do_push {r4, r5, ip, lr, pc} #else do_push {r4, r5, lr} #endif |