mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Move continuation stack from .bss onto sys stack (#4622)
This commit is contained in:
@ -9,7 +9,7 @@ PHDRS
|
||||
irom0_0_phdr PT_LOAD;
|
||||
}
|
||||
/* Default entry point: */
|
||||
ENTRY(call_user_start)
|
||||
ENTRY(app_entry)
|
||||
EXTERN(_DebugExceptionVector)
|
||||
EXTERN(_DoubleExceptionVector)
|
||||
EXTERN(_KernelExceptionVector)
|
||||
@ -75,6 +75,10 @@ SECTIONS
|
||||
_Pri_3_HandlerAddress = ABSOLUTE(.);
|
||||
_data_end = ABSOLUTE(.);
|
||||
} >dram0_0_seg :dram0_0_phdr
|
||||
.noinit : ALIGN(4)
|
||||
{
|
||||
*(.noinit)
|
||||
} >dram0_0_seg :dram0_0_phdr
|
||||
.irom0.text : ALIGN(4)
|
||||
{
|
||||
_irom0_text_start = ABSOLUTE(.);
|
||||
|
@ -12,7 +12,7 @@ PHDRS
|
||||
|
||||
|
||||
/* Default entry point: */
|
||||
ENTRY(call_user_start)
|
||||
ENTRY(app_entry)
|
||||
EXTERN(_DebugExceptionVector)
|
||||
EXTERN(_DoubleExceptionVector)
|
||||
EXTERN(_KernelExceptionVector)
|
||||
@ -83,6 +83,11 @@ SECTIONS
|
||||
_Pri_3_HandlerAddress = ABSOLUTE(.);
|
||||
_data_end = ABSOLUTE(.);
|
||||
} >dram0_0_seg :dram0_0_phdr
|
||||
|
||||
.noinit : ALIGN(4)
|
||||
{
|
||||
*(.noinit)
|
||||
} >dram0_0_seg :dram0_0_phdr
|
||||
|
||||
#ifdef VTABLES_IN_DRAM
|
||||
#include "eagle.app.v6.common.ld.vtables.h"
|
||||
|
Reference in New Issue
Block a user