From 98984259211ce5003e9779b4c8f551aa36c3b49b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 13 Aug 1998 14:28:22 +0000 Subject: Patch from Chris Johns to change the way in which the initial stack pointers are saved. --- c/src/lib/start/m68k/start.s | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'c/src/lib/start/m68k/start.s') diff --git a/c/src/lib/start/m68k/start.s b/c/src/lib/start/m68k/start.s index 874ea82b5b..e7a58e997b 100644 --- a/c/src/lib/start/m68k/start.s +++ b/c/src/lib/start/m68k/start.s @@ -57,10 +57,13 @@ SYM (start_around): #if ( M68K_HAS_SEPARATE_STACKS == 1 ) movec isp,a0 move.l a0, SYM (initial_isp) -#endif - move usp,a0 + movec usp,a0 move.l a0, SYM (initial_usp) + movec msp,a0 + move.l a0, SYM (initial_msp) +#else move.l a7, SYM (initial_msp) +#endif | | zero out uninitialized data area -- cgit v1.2.3