Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/arm/gen Fix a comment



details:   https://anonhg.NetBSD.org/src/rev/16197ad4afbb
branches:  trunk
changeset: 994785:16197ad4afbb
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Nov 21 21:01:41 2018 +0000

description:
Fix a comment

diffstat:

 lib/libc/arch/arm/gen/swapcontext.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8d54c311d079 -r 16197ad4afbb lib/libc/arch/arm/gen/swapcontext.S
--- a/lib/libc/arch/arm/gen/swapcontext.S       Wed Nov 21 20:36:41 2018 +0000
+++ b/lib/libc/arch/arm/gen/swapcontext.S       Wed Nov 21 21:01:41 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: swapcontext.S,v 1.14 2013/11/30 20:20:42 joerg Exp $   */
+/*     $NetBSD: swapcontext.S,v 1.15 2018/11/21 21:01:41 skrll Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #include "assym.h"
 
 #if defined(LIBC_SCCS) && !defined(lint)
-        RCSID("$NetBSD: swapcontext.S,v 1.14 2013/11/30 20:20:42 joerg Exp $")
+        RCSID("$NetBSD: swapcontext.S,v 1.15 2018/11/21 21:01:41 skrll Exp $")
 #endif /* LIBC_SCCS && !lint */
 
 ENTRY(swapcontext)
@@ -70,7 +70,7 @@
 #endif
 #if !defined(__thumb__)
        str     sp, [r0, #_UC_REGS_SP]  /* Adjust saved SP. */
-       str     lr, [r0, #_UC_REGS_PC]  /* Adjust saved SP. */
+       str     lr, [r0, #_UC_REGS_PC]  /* Adjust saved PC. */
 #else
        mov     r2, sp
        str     r2, [r0, #_UC_REGS_SP]  /* Adjust saved SP. */



Home | Main Index | Thread Index | Old Index