fix: bdwgc.init() causing archive mode building fail

P

P

P
This commit is contained in:
Haolan
2025-09-16 12:30:31 +08:00
parent 812dfd45c9
commit 531f69ae6a
9 changed files with 242 additions and 183 deletions

View File

@@ -92,6 +92,12 @@ SECTIONS
_iram_end = .;
} > iram_seg
.stack (NOLOAD) :
{
. += 16K;
__stack = .;
} > dram_seg
/**
* This section is required to skip .iram0.text area because iram0_0_seg and
* dram0_0_seg reflect the same address space on different buses.
@@ -102,14 +108,6 @@ SECTIONS
. += ORIGIN(iram_seg) == ORIGIN(dram_seg) ? 0 : _iram_end - _iram_start;
} > dram_seg
.stack (NOLOAD) :
{
__stack_end = .;
. = ALIGN(16);
. += 16K;
__stack = .;
}
.data :
{
_data_start = .;