]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix stack offset for r19 load in __getcontext.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 16 Jul 2017 16:24:30 +0000 (12:24 -0400)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 16 Jul 2017 16:24:30 +0000 (12:24 -0400)
ChangeLog
sysdeps/unix/sysv/linux/hppa/getcontext.S

index a1720fc70569397aecc01f8a12b2bd51679bec9b..a4a41341d629d861c5671949e17c78691cd073ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 6f52f2149da30f69b71e0015bf336220f662fe6a..2d7529b3e8c3a285ba81785e5347842db19f2227 100644 (file)
@@ -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