link mmap_space + aot array into .text

This commit is contained in:
2026-04-21 22:34:36 +02:00
parent 41ffcaeb08
commit aec774c633
2 changed files with 5 additions and 4 deletions

View File

@ -322,8 +322,9 @@ rec {
domain = "gitea.local.chriphost.de"; domain = "gitea.local.chriphost.de";
owner = "christoph"; owner = "christoph";
repo = "wamr"; repo = "wamr";
rev = "4e7aed33fe53bf3ee4a3f2fe582c74816f850759";
hash = "sha256-/4BKwoFDRfkA+DmbWagxdtkCDAED5rxbz5e4xvjvVWU="; rev = "cda2009deb85511089b04b0ac736ad4da2d07e58";
hash = "sha256-CN6xTiwzF4Jbrpf21TF5c/C03Xb3urwkibRuIXjoU/w=";
}; };
nativeBuildInputs = with pkgs; [cmake]; nativeBuildInputs = with pkgs; [cmake];

View File

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