Module Name: src
Committed By: mrg
Date: Thu Jun 30 01:41:05 UTC 2016
Modified Files:
src/sys/arch/ia64/include: mcontext.h
Log Message:
add a definition for _UC_MACHINE_PC which libasan wants.
XXX: i'm not 100% sure i picked the right register.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/ia64/include/mcontext.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/ia64/include/mcontext.h
diff -u src/sys/arch/ia64/include/mcontext.h:1.3 src/sys/arch/ia64/include/mcontext.h:1.4
--- src/sys/arch/ia64/include/mcontext.h:1.3 Wed Dec 26 19:43:10 2012
+++ src/sys/arch/ia64/include/mcontext.h Thu Jun 30 01:41:05 2016
@@ -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 @@ typedef struct __mcontext {
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)