Fix stack offset for r19 load in __getcontext.

This commit is contained in:
John David Anglin 2017-07-16 12:24:30 -04:00
parent 07f94b7a96
commit cc407f4e81
2 changed files with 4 additions and 1 deletions

View File

@ -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.

View 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