summaryrefslogtreecommitdiffstats
path: root/c/src/lib/start
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-26 16:18:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-26 16:18:58 +0000
commitdb88957493b8c5f6c586ee3353995286766f2c41 (patch)
treec84662a4f3c98755916dd1b33ac76bea357c6c87 /c/src/lib/start
parent2f3692ee72b2bd3ecdd8376a54e224c1eb58980f (diff)
downloadrtems-db88957493b8c5f6c586ee3353995286766f2c41.tar.bz2
Patches done in conjunction with Juan Zamorano Flores
<jzamora@avellano.datsi.fi.upm.es>. He debugged enough to let me know what was wrong and I supplied the code. :)
Diffstat (limited to 'c/src/lib/start')
-rw-r--r--c/src/lib/start/m68k/start.s15
1 files changed, 1 insertions, 14 deletions
diff --git a/c/src/lib/start/m68k/start.s b/c/src/lib/start/m68k/start.s
index e7a58e997b..72849170d9 100644
--- a/c/src/lib/start/m68k/start.s
+++ b/c/src/lib/start/m68k/start.s
@@ -77,10 +77,7 @@ loop: movel #0,a1@+ | to zero out uninitialized
cmpal a0,a1
jlt loop | loop until _end reached
- movel # SYM (end),d0 | d0 = end of bss/start of heap
- addl # SYM (heap_size),d0 | d0 = end of heap
- movel d0, SYM (stack_start) | Save for brk() routine
- addl # SYM (stack_size),d0 | make room for stack
+ movel # SYM (stack_init),d0 | d0 = stop of stack
andl #0xffffffc0,d0 | align it on 16 byte boundary
movw #0x3700,sr | SUPV MODE,INTERRUPTS OFF!!!
movel d0,a7 | set master stack pointer
@@ -124,9 +121,6 @@ BEGIN_DATA
SYM (start_frame):
.space 4,0
- PUBLIC (stack_start)
-SYM (stack_start):
- .space 4,0
END_DATA
BEGIN_BSS
@@ -152,13 +146,6 @@ SYM (initial_usp):
SYM (initial_sr):
.space 2
- PUBLIC (heap_size)
- .set SYM (heap_size),0x2000
-
- PUBLIC (stack_size)
- .set SYM (stack_size),0x1000
-
-
END_DATA
#endif
END