Module Name: src
Committed By: matt
Date: Tue Jan 18 01:23:24 UTC 2011
Modified Files:
src/lib/libc/arch/powerpc: genassym.cf
Log Message:
Change to deal with callframe changes
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/arch/powerpc/genassym.cf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/arch/powerpc/genassym.cf
diff -u src/lib/libc/arch/powerpc/genassym.cf:1.2 src/lib/libc/arch/powerpc/genassym.cf:1.3
--- src/lib/libc/arch/powerpc/genassym.cf:1.2 Sat Jan 15 07:31:12 2011
+++ src/lib/libc/arch/powerpc/genassym.cf Tue Jan 18 01:23:24 2011
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.2 2011/01/15 07:31:12 matt Exp $
+# $NetBSD: genassym.cf,v 1.3 2011/01/18 01:23:24 matt Exp $
#
# Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -36,9 +36,9 @@
include <machine/frame.h>
define CALLFRAMELEN sizeof(struct callframe)
-define CALLFRAME_LR offsetof(struct callframe, lr)
-define CALLFRAME_R30 offsetof(struct callframe, r30)
-define CALLFRAME_R31 offsetof(struct callframe, r31)
+define CALLFRAME_LR offsetof(struct callframe, cf_lr)
+define CALLFRAME_R30 offsetof(struct callframe, cf_r30)
+define CALLFRAME_R31 offsetof(struct callframe, cf_r31)
define UC_GREGS_R1 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_R1])
define UC_GREGS_R3 offsetof(ucontext_t, uc_mcontext.__gregs[_REG_R3])