diff options
author | 2016-05-23 09:42:09 +0000 | |
---|---|---|
committer | 2016-05-23 09:42:09 +0000 | |
commit | 7e54078707e4219e22e0e40c38369883b51b9e20 (patch) | |
tree | 23fd16bdd33eb8ebe9d820c34a69f4df02bcd642 /lib/libc | |
parent | VOP_REALLOCBLKS() and related code is unused since the removal of (diff) | |
download | wireguard-openbsd-7e54078707e4219e22e0e40c38369883b51b9e20.tar.xz wireguard-openbsd-7e54078707e4219e22e0e40c38369883b51b9e20.zip |
More fixes from miod
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/arch/sparc/gen/setjmp.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/sparc/gen/setjmp.S b/lib/libc/arch/sparc/gen/setjmp.S index 322aa9e4f0c..5a618ec199e 100644 --- a/lib/libc/arch/sparc/gen/setjmp.S +++ b/lib/libc/arch/sparc/gen/setjmp.S @@ -1,4 +1,4 @@ -/* $OpenBSD: setjmp.S,v 1.8 2016/05/23 08:57:20 guenther Exp $ */ +/* $OpenBSD: setjmp.S,v 1.9 2016/05/23 09:42:09 guenther Exp $ */ /* * * Copyright (c) 1992, 1993 @@ -57,8 +57,8 @@ ENTRY(setjmp) t ST_SYSCALL st %o0, [%o3 + 8] - st %sp, [%o0 + 0] /* store caller's stack pointer */ - st %o7, [%o0 + 4] /* ... and return pc */ + st %sp, [%o3 + 0] /* store caller's stack pointer */ + st %o7, [%o3 + 4] /* ... and return pc */ retl clr %o0 /* return 0 */ @@ -78,6 +78,6 @@ ENTRY(longjmp) be,a 0f mov 1, %i1 0: - mov %i1, %o0 + mov %i1, %i0 ret restore |