Subject: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: Michael L. Hitch <mhitch@netbsd.org>
List: source-changes
Date: 06/12/2007 03:34:34
Module Name: src
Committed By: mhitch
Date: Tue Jun 12 03:34:34 UTC 2007
Modified Files:
src/sys/arch/amiga/amiga: locore.s
src/sys/arch/atari/atari: locore.s
src/sys/arch/cesfic/cesfic: locore.s trap.c
src/sys/arch/hp300/hp300: locore.s
src/sys/arch/luna68k/luna68k: locore.s trap.c
src/sys/arch/m68k/m68k: db_trace.c trap_subr.s
src/sys/arch/mac68k/mac68k: locore.s trap.c
src/sys/arch/mvme68k/mvme68k: locore.s trap.c
src/sys/arch/next68k/next68k: locore.s trap.c
src/sys/arch/sun2/sun2: locore.s trap.c
src/sys/arch/sun3/sun3: locore.s trap.c
src/sys/arch/x68k/x68k: locore.s trap.c
Log Message:
Pass a frame pointer to trap() rather than the 'entire frame' trick. Gcc4
was optimizing away modifications to the frame contents (it's not nice to
trick gcc). Pass the pointer as the first argument to reduce the number
of places that would be changed otherwise. Fixes the getcwd regression
test on most m68k ports.
To generate a diff of this commit:
cvs rdiff -r1.142 -r1.143 src/sys/arch/amiga/amiga/locore.s
cvs rdiff -r1.98 -r1.99 src/sys/arch/atari/atari/locore.s
cvs rdiff -r1.14 -r1.15 src/sys/arch/cesfic/cesfic/locore.s
cvs rdiff -r1.34 -r1.35 src/sys/arch/cesfic/cesfic/trap.c
cvs rdiff -r1.139 -r1.140 src/sys/arch/hp300/hp300/locore.s
cvs rdiff -r1.26 -r1.27 src/sys/arch/luna68k/luna68k/locore.s
cvs rdiff -r1.45 -r1.46 src/sys/arch/luna68k/luna68k/trap.c
cvs rdiff -r1.50 -r1.51 src/sys/arch/m68k/m68k/db_trace.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/m68k/m68k/trap_subr.s
cvs rdiff -r1.151 -r1.152 src/sys/arch/mac68k/mac68k/locore.s
cvs rdiff -r1.127 -r1.128 src/sys/arch/mac68k/mac68k/trap.c
cvs rdiff -r1.97 -r1.98 src/sys/arch/mvme68k/mvme68k/locore.s
cvs rdiff -r1.89 -r1.90 src/sys/arch/mvme68k/mvme68k/trap.c
cvs rdiff -r1.47 -r1.48 src/sys/arch/next68k/next68k/locore.s
cvs rdiff -r1.66 -r1.67 src/sys/arch/next68k/next68k/trap.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/sun2/sun2/locore.s
cvs rdiff -r1.31 -r1.32 src/sys/arch/sun2/sun2/trap.c
cvs rdiff -r1.87 -r1.88 src/sys/arch/sun3/sun3/locore.s
cvs rdiff -r1.129 -r1.130 src/sys/arch/sun3/sun3/trap.c
cvs rdiff -r1.78 -r1.79 src/sys/arch/x68k/x68k/locore.s
cvs rdiff -r1.88 -r1.89 src/sys/arch/x68k/x68k/trap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.