From 4e7aed33fe53bf3ee4a3f2fe582c74816f850759 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Tue, 21 Apr 2026 14:40:38 +0200 Subject: [PATCH] baremetal: undo last change --- core/shared/platform/baremetal/platform_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/shared/platform/baremetal/platform_init.c b/core/shared/platform/baremetal/platform_init.c index ec1fa981..8f9e65a4 100644 --- a/core/shared/platform/baremetal/platform_init.c +++ b/core/shared/platform/baremetal/platform_init.c @@ -44,9 +44,9 @@ os_dumps_proc_mem_info(char *out, unsigned int size) // #11 0x08048cff in wasm_runtime_load // #12 0x08048112 in main -// Place mmap memory inside the .text segment, so FAIL* ignores it -__attribute__((section(".text.wamr_aot"), - aligned(4096))) static uint8_t mmap_space[MMAP_SPACE_SIZE]; +// To place mmap memory inside the .text segment: +// __attribute__((section(".text.wamr_aot"), aligned(4096))) +static uint8_t mmap_space[MMAP_SPACE_SIZE]; static size_t mmap_offset = 0; // Free space begins here static size_t