don't link mmap region into .text but aot array itself

This commit is contained in:
2026-04-21 14:46:31 +02:00
parent ea56079c09
commit 264795bf71
6 changed files with 18 additions and 13 deletions

View File

@ -51,8 +51,8 @@ SECTIONS {
/* Data and Stacks */
/* NOTE: When including the WAMR mmap region inside .text, it has to be large */
/* . = 0x200000; */
. = ALIGN(4096);
. = 0x200000;
/* . = ALIGN(4096); */
.data : {
KEEP (*(".startup_stack"))
KEEP (*(".kernel_stack"))