Module Name: src
Committed By: matt
Date: Sat Dec 8 06:58:36 UTC 2012
Modified Files:
src/sys/arch/arm/include: mcontext.h
Log Message:
Define the correct __UCONTEXT_SIZE for EABI.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/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/arm/include/mcontext.h
diff -u src/sys/arch/arm/include/mcontext.h:1.14 src/sys/arch/arm/include/mcontext.h:1.15
--- src/sys/arch/arm/include/mcontext.h:1.14 Sat Dec 8 02:41:54 2012
+++ src/sys/arch/arm/include/mcontext.h Sat Dec 8 06:58:36 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.14 2012/12/08 02:41:54 christos Exp $ */
+/* $NetBSD: mcontext.h,v 1.15 2012/12/08 06:58:36 matt Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -114,7 +114,11 @@ typedef struct {
#define _UC_MACHINE_SET_PC(uc, pc) _UC_MACHINE_PC(uc) = (pc)
+#ifdef __ARM_EABI__
+#define __UCONTEXT_SIZE (256 + 144)
+#else
#define __UCONTEXT_SIZE 256
+#endif
static __inline void *
__lwp_getprivate_fast(void)