about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/hppa/getcontext.S
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2017-07-16 12:24:30 -0400
committerJohn David Anglin <danglin@gcc.gnu.org>2017-07-16 12:24:30 -0400
commitcc407f4e81070d2db7ddc8a0528bb40bbe9d2a13 (patch)
tree37755c3e27e7ff8c120fe217b073ecb573888f87 /sysdeps/unix/sysv/linux/hppa/getcontext.S
parent07f94b7a96392c8609ac8d29956728d9017e6e8a (diff)
downloadglibc-cc407f4e81070d2db7ddc8a0528bb40bbe9d2a13.tar.gz
glibc-cc407f4e81070d2db7ddc8a0528bb40bbe9d2a13.tar.xz
glibc-cc407f4e81070d2db7ddc8a0528bb40bbe9d2a13.zip
Fix stack offset for r19 load in __getcontext.
Diffstat (limited to 'sysdeps/unix/sysv/linux/hppa/getcontext.S')
-rw-r--r--sysdeps/unix/sysv/linux/hppa/getcontext.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/getcontext.S b/sysdeps/unix/sysv/linux/hppa/getcontext.S
index 6f52f2149d..2d7529b3e8 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