Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/mips/gen Add a NOP_L



details:   https://anonhg.NetBSD.org/src/rev/33d46eb1f5a7
branches:  trunk
changeset: 347090:33d46eb1f5a7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Aug 13 08:09:17 2016 +0000

description:
Add a NOP_L

diffstat:

 lib/libc/arch/mips/gen/_resumecontext.S |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e75399d168de -r 33d46eb1f5a7 lib/libc/arch/mips/gen/_resumecontext.S
--- a/lib/libc/arch/mips/gen/_resumecontext.S   Sat Aug 13 08:08:11 2016 +0000
+++ b/lib/libc/arch/mips/gen/_resumecontext.S   Sat Aug 13 08:09:17 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _resumecontext.S,v 1.9 2016/08/13 07:49:32 skrll Exp $ */
+/*     $NetBSD: _resumecontext.S,v 1.10 2016/08/13 08:09:17 skrll Exp $        */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #include "assym.h"
 
 #if defined(SYSLIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: _resumecontext.S,v 1.9 2016/08/13 07:49:32 skrll Exp $")
+       RCSID("$NetBSD: _resumecontext.S,v 1.10 2016/08/13 08:09:17 skrll Exp $")
 #endif /* SYSLIBC_SCCS && !lint */
 
        .set    reorder
@@ -51,6 +51,7 @@
        PTR_S           zero, _OFFSETOF_UC_LINK(a0)     # make sure uc_link is 0
        SYSTRAP(getcontext)                             # get context
        PTR_L           a0, _OFFSETOF_UC_LINK(a0)       # linked context?
+       NOP_L
        beq             a0, zero, 1f                    #   nope, exit process
        nop
        SYSTRAP(setcontext)                             #   yes, become it.



Home | Main Index | Thread Index | Old Index