Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ia64/include add a definition for _UC_MACHINE_PC wh...
details: https://anonhg.NetBSD.org/src/rev/fba0dfc1ba3a
branches: trunk
changeset: 346169:fba0dfc1ba3a
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jun 30 01:41:05 2016 +0000
description:
add a definition for _UC_MACHINE_PC which libasan wants.
XXX: i'm not 100% sure i picked the right register.
diffstat:
sys/arch/ia64/include/mcontext.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 3c3ec3aa92f9 -r fba0dfc1ba3a sys/arch/ia64/include/mcontext.h
--- a/sys/arch/ia64/include/mcontext.h Thu Jun 30 01:34:53 2016 +0000
+++ b/sys/arch/ia64/include/mcontext.h Thu Jun 30 01:41:05 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.3 2012/12/26 19:43:10 martin Exp $ */
+/* $NetBSD: mcontext.h,v 1.4 2016/06/30 01:41:05 mrg Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -91,9 +91,8 @@
struct _high_fp mc_high_fp;
} mcontext_t;
-#ifndef _UC_MACHINE_SP
#define _UC_MACHINE_SP(uc) ((uc)->uc_mcontext.mc_special.sp)
-#endif
+#define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.mc_special.rp)
static __inline void *
__lwp_getprivate_fast(void)
Home |
Main Index |
Thread Index |
Old Index