From 3257709e164dc5566597591db5fc1d0d980c6c53 Mon Sep 17 00:00:00 2001 From: Zihao Yu Date: Tue, 16 Jan 2024 16:03:08 +0800 Subject: [PATCH] bsp,am,extra.ld: fix position of .bss.extra * with the AM link script, the .bss.extra will originally be placed after the heap --- bsp/abstract-machine/extra.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/abstract-machine/extra.ld b/bsp/abstract-machine/extra.ld index b7e24cc..5cdc656 100644 --- a/bsp/abstract-machine/extra.ld +++ b/bsp/abstract-machine/extra.ld @@ -42,4 +42,4 @@ SECTIONS { . = ALIGN(8); } } -INSERT AFTER .bss; +INSERT BEFORE .bss;