diff options
Diffstat (limited to 'bsps/mips/malta/start')
-rw-r--r-- | bsps/mips/malta/start/linkcmds | 8 | ||||
-rw-r--r-- | bsps/mips/malta/start/start.S | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/bsps/mips/malta/start/linkcmds b/bsps/mips/malta/start/linkcmds index 4e44bce110..1d6745cfe1 100644 --- a/bsps/mips/malta/start/linkcmds +++ b/bsps/mips/malta/start/linkcmds @@ -8,7 +8,6 @@ RamBase = DEFINED(RamBase) ? RamBase : 0x80000000; RamSize = DEFINED(RamSize) ? RamSize : 128M; HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0; -_StackSize = DEFINED(_StackSize) ? _StackSize : 0x2000; ENTRY(_start) STARTUP(start.o) @@ -165,10 +164,6 @@ SECTIONS *(.bss*) *(COMMON) . = ALIGN (64); - _stack_limit = .; - . += _StackSize; - __stack = .; - _stack_init = .; _clear_end = .; } @@ -182,9 +177,6 @@ SECTIONS _end = .; -/* Put starting stack in SRAM (8 Kb); this size is the same as the stack from - the original script (when everything was in SRAM). */ - /* __stack = 0x8000A000; */ /* DWARF debug sections. Symbols in the DWARF debugging sections are relative to the beginning of the section so we begin them at 0. */ diff --git a/bsps/mips/malta/start/start.S b/bsps/mips/malta/start/start.S index 8f5f96489f..d437575cca 100644 --- a/bsps/mips/malta/start/start.S +++ b/bsps/mips/malta/start/start.S @@ -166,7 +166,7 @@ zerobss: bltu v0,v1,3b addiu v0,v0,4 # executed in delay slot - la t0, _stack_init # initialize stack so we + la t0, _Configuration_Interrupt_stack_area_end # initialize stack so we /* We must subtract 24 bytes for the 3 8 byte arguments to main, in case main wants to write them back to the stack. The caller is supposed to allocate stack space for parameters in registers in |