Patch from Chris Johns <ccj@acm.org> to change the way in which the initial

stack pointers are saved.
This commit is contained in:
Joel Sherrill
1998-08-13 14:28:22 +00:00
parent 26e5cd406a
commit 9898425921

View File

@@ -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