Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/aarch64/gen _REG_LR should be _lwp_exit
details: https://anonhg.NetBSD.org/src/rev/0d3557acfd9a
branches: trunk
changeset: 994787:0d3557acfd9a
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Nov 21 21:24:42 2018 +0000
description:
_REG_LR should be _lwp_exit
diffstat:
lib/libc/arch/aarch64/gen/_lwp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5004c5c875d2 -r 0d3557acfd9a lib/libc/arch/aarch64/gen/_lwp.c
--- a/lib/libc/arch/aarch64/gen/_lwp.c Wed Nov 21 21:04:15 2018 +0000
+++ b/lib/libc/arch/aarch64/gen/_lwp.c Wed Nov 21 21:24:42 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: _lwp.c,v 1.2 2018/08/04 10:22:09 ryo Exp $ */
+/* $NetBSD: _lwp.c,v 1.3 2018/11/21 21:24:42 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: _lwp.c,v 1.2 2018/08/04 10:22:09 ryo Exp $");
+__RCSID("$NetBSD: _lwp.c,v 1.3 2018/11/21 21:24:42 skrll Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -58,7 +58,7 @@
u->uc_mcontext.__gregs[_REG_X0] = (__greg_t)(uintptr_t)arg;
u->uc_mcontext.__gregs[_REG_SP] = ((__greg_t)sp) & -16;
- u->uc_mcontext.__gregs[_REG_X29] = (__greg_t)(uintptr_t)_lwp_exit;
+ u->uc_mcontext.__gregs[_REG_LR] = (__greg_t)(uintptr_t)_lwp_exit;
u->uc_mcontext.__gregs[_REG_PC] = (__greg_t)(uintptr_t)start;
u->uc_mcontext.__gregs[_REG_TPIDR] = (__greg_t)(uintptr_t)private;
u->uc_flags |= _UC_TLSBASE;
Home |
Main Index |
Thread Index |
Old Index