From f618cfffaf5ac344fa39abcd16c35278cdacee15 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sun, 17 May 2026 21:12:38 +0200 Subject: [PATCH] link mmap space to .text.wamr_mmap instead of .text.wamr_aot --- core/shared/platform/baremetal/platform_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/shared/platform/baremetal/platform_init.c b/core/shared/platform/baremetal/platform_init.c index 3cc677f3..bbf7c102 100644 --- a/core/shared/platform/baremetal/platform_init.c +++ b/core/shared/platform/baremetal/platform_init.c @@ -45,7 +45,7 @@ os_dumps_proc_mem_info(char *out, unsigned int size) // #12 0x08048112 in main // To place mmap memory inside the .text segment: -__attribute__((section(".text.wamr_aot"), aligned(4096))) +__attribute__((section(".text.wamr_mmap"), aligned(4096))) static uint8_t mmap_space[MMAP_SPACE_SIZE]; static size_t mmap_offset = 0; // Free space begins here