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.4 (approve...



details:   https://anonhg.NetBSD.org/src/rev/0e390b66b165
branches:  netbsd-1-5
changeset: 489379:0e390b66b165
user:      eeh <eeh%NetBSD.org@localhost>
date:      Mon Sep 04 21:32:37 2000 +0000

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

        Fix layout of fields in jmp_buf.  [N.B. we could make JMP_BUFLEN 9 if we want.]

diffstat:

 lib/libc/arch/sparc64/gen/__sigsetjmp14.S |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 54a368c9dbdf -r 0e390b66b165 lib/libc/arch/sparc64/gen/__sigsetjmp14.S
--- a/lib/libc/arch/sparc64/gen/__sigsetjmp14.S Mon Sep 04 21:28:09 2000 +0000
+++ b/lib/libc/arch/sparc64/gen/__sigsetjmp14.S Mon Sep 04 21:32:37 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __sigsetjmp14.S,v 1.1.10.1 2000/07/26 23:55:00 mycroft Exp $   */
+/*     $NetBSD: __sigsetjmp14.S,v 1.1.10.2 2000/09/04 21:32:37 eeh Exp $       */
 /*
  * Copyright (c) 1995 Paul Kranenburg
  * All rights reserved.
@@ -37,7 +37,7 @@
 ENTRY(__sigsetjmp14)
        PIC_PROLOGUE(%g1,%o2)   ! %g1 = _GLOBAL_OFFSET_TABLE
        cmp %o1,0
-       st %o1,[%o0+0x38]               ! jmpbuf[JBLEN]
+       st %o1,[%o0+0x48]               ! jmpbuf[JBLEN]
        bne,a 1f
         ldx [%g1+_C_LABEL(__setjmp14)], %g1    ! if (%o1 != 0) goto _setjmp;
        ldx [%g1+_C_LABEL(_setjmp)], %g1        ! else goto __setjmp;
@@ -47,7 +47,7 @@
 
 ENTRY(__siglongjmp14)
        PIC_PROLOGUE(%g1,%o2)   ! %g1 = _GLOBAL_OFFSET_TABLE
-       ld [%o0+0x38],%o2               ! jmpbuf[JBLEN]
+       ld [%o0+0x48],%o2               ! jmpbuf[JBLEN]
        cmp %o2,0
        bne,a 1f
         ldx [%g1+_C_LABEL(__longjmp14)], %g1    ! if (%g2 != 0) goto _longjmp;
@@ -62,12 +62,12 @@
 ENTRY(__sigsetjmp14)
        cmp %o1,0
        be _C_LABEL(_setjmp)
-        st %o1,[%o0+0x38]              ! jmpbuf[JBLEN]
+        st %o1,[%o0+0x48]              ! jmpbuf[JBLEN]
        ba,a _C_LABEL(__setjmp14)
        unimp 0
 
 ENTRY(__siglongjmp14)
-       ld [%o0+0x38],%g1
+       ld [%o0+0x48],%g1
        cmp %g1,0
        be _C_LABEL(_longjmp)
         nop



Home | Main Index | Thread Index | Old Index