diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2017-07-16 12:24:30 -0400 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2017-07-16 12:24:30 -0400 |
commit | cc407f4e81070d2db7ddc8a0528bb40bbe9d2a13 (patch) | |
tree | 37755c3e27e7ff8c120fe217b073ecb573888f87 | |
parent | 07f94b7a96392c8609ac8d29956728d9017e6e8a (diff) | |
download | glibc-cc407f4e81070d2db7ddc8a0528bb40bbe9d2a13.zip glibc-cc407f4e81070d2db7ddc8a0528bb40bbe9d2a13.tar.gz glibc-cc407f4e81070d2db7ddc8a0528bb40bbe9d2a13.tar.bz2 |
Fix stack offset for r19 load in __getcontext.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/getcontext.S | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2017-07-16 John David Anglin <danglin@gcc.gnu.org> + * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack + offset for r19 load. + * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0. * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset. diff --git a/sysdeps/unix/sysv/linux/hppa/getcontext.S b/sysdeps/unix/sysv/linux/hppa/getcontext.S index 6f52f21..2d7529b 100644 --- a/sysdeps/unix/sysv/linux/hppa/getcontext.S +++ b/sysdeps/unix/sysv/linux/hppa/getcontext.S @@ -156,7 +156,7 @@ ENTRY(__getcontext) /* Epilogue */ ldw -84(%sp), %r2 #ifdef PIC - ldw -96(%sp), %r19 + ldw -32(%sp), %r19 #endif bv %r0(%r2) ldwm -64(%sp), %r4 |