Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/lib/libc/arch/sparc64/gen Pull up revision 1.3 (approve...



details:   https://anonhg.NetBSD.org/src/rev/54a368c9dbdf
branches:  netbsd-1-5
changeset: 489378:54a368c9dbdf
user:      eeh <eeh%NetBSD.org@localhost>
date:      Mon Sep 04 21:28:09 2000 +0000

description:
Pull up revision 1.3 (approved by thorpej):

        date: 2000/08/28 00:45:59;  author: eeh;  state: Exp;  lines: +3 -4
        Fix layout of fields in jmp_buf.  [N.B. we could make JMP_BUFLEN 9 if we want.]

diffstat:

 lib/libc/arch/sparc64/gen/__setjmp14.S |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r c29ca9d83be1 -r 54a368c9dbdf lib/libc/arch/sparc64/gen/__setjmp14.S
--- a/lib/libc/arch/sparc64/gen/__setjmp14.S    Mon Sep 04 17:53:13 2000 +0000
+++ b/lib/libc/arch/sparc64/gen/__setjmp14.S    Mon Sep 04 21:28:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __setjmp14.S,v 1.2 1999/01/03 16:22:04 eeh Exp $       */
+/*     $NetBSD: __setjmp14.S,v 1.2.10.1 2000/09/04 21:28:09 eeh Exp $  */
 
 /*
  * Copyright (c) 1992, 1993
@@ -46,7 +46,7 @@
 #if 0
        .asciz "@(#)setjmp.s    8.1 (Berkeley) 6/4/93"
 #else
-       RCSID("$NetBSD: __setjmp14.S,v 1.2 1999/01/03 16:22:04 eeh Exp $")
+       RCSID("$NetBSD: __setjmp14.S,v 1.2.10.1 2000/09/04 21:28:09 eeh Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -77,10 +77,9 @@
        clr     %o1                     /* sigprocmask(SIG_BLOCK, (sigset_t *)NULL, (sigset_t *)a) */
        t       ST_SYSCALL
        
-       st      %o0, [%o3 + 0x04]       /* sc.sc_mask = current mask; */
        mov     SYS___sigaltstack14, %g1
        clr     %o0                     /* sigstack(NULL, &foo) */
-       add     %o2, 8, %o1             /* (foo being at the bottom of the stack) */
+       add     %o3, 8, %o1             /* (foo being part of the sigcontext we're overwriting) */
        t       ST_SYSCALL
        
        lduw    [%o3 + 8 + 0x10], %o0   /* foo.ss_flags */



Home | Main Index | Thread Index | Old Index