diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2017-08-12 16:28:32 -0400 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2017-08-12 16:28:32 -0400 |
commit | 604c01c69ab365cdc3bcb16f0ec7b856dc2d56cb (patch) | |
tree | 369c21ae615a0eae38db2d32642b412d0dac662d | |
parent | 725118c013c9828b08f7dfbc64a522a8eaf87d30 (diff) | |
download | glibc-604c01c69ab365cdc3bcb16f0ec7b856dc2d56cb.tar.gz |
Fix __setcontext return value on hppa.
* sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/setcontext.S | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,7 @@ 2017-08-12 John David Anglin <danglin@gcc.gnu.org> + * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0. + * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset. Use .cfi_def_cfa_offset instead of .cfi_offset. Don't record stack pointer offset. Correct PIC register offset. Don't mention frame diff --git a/sysdeps/unix/sysv/linux/hppa/setcontext.S b/sysdeps/unix/sysv/linux/hppa/setcontext.S index 3f4da7938f..848d02e908 100644 --- a/sysdeps/unix/sysv/linux/hppa/setcontext.S +++ b/sysdeps/unix/sysv/linux/hppa/setcontext.S @@ -141,7 +141,7 @@ ENTRY(__setcontext) /* No further context available. Exit now. */ bl HIDDEN_JUMPTARGET(exit), %r2 - ldi -1, %r26 + ldi 0, %r26 .Lerror: |