diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-08-15 02:39:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-08-15 02:39:03 +0000 |
commit | 55e0df36d56ef802b989f5fd14df64436f0fd760 (patch) | |
tree | a272a892458b151f20782bb5e79de6f9c0068485 /sysdeps | |
parent | 2ea19c152e105649560d449c5b2585d7004b074f (diff) | |
download | glibc-55e0df36d56ef802b989f5fd14df64436f0fd760.tar glibc-55e0df36d56ef802b989f5fd14df64436f0fd760.tar.gz glibc-55e0df36d56ef802b989f5fd14df64436f0fd760.tar.bz2 glibc-55e0df36d56ef802b989f5fd14df64436f0fd760.zip |
Correct value of R0 before calling sigjmp_save.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/arm/fpu/setjmp.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/arm/fpu/setjmp.S b/sysdeps/arm/fpu/setjmp.S index 790e7566d4..6ee53c57b0 100644 --- a/sysdeps/arm/fpu/setjmp.S +++ b/sysdeps/arm/fpu/setjmp.S @@ -30,6 +30,9 @@ ENTRY (__sigsetjmp) sfmea f4, 4, [r0]! stmia r0, {v1-v6, sl, fp, sp, lr} + /* Restore pointer to jmp_buf */ + sub r0, r0, #48 + /* Make a tail call to __sigjmp_save; it takes the same args. */ B PLTJMP(C_SYMBOL_NAME(__sigjmp_save)) END (__setjmp) |