From 96221e40dde88044a9e1effa4070490c93342667 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 11 Dec 2021 11:44:17 +0100 Subject: bsps/aarch64: Support .noinit linker section --- bsps/aarch64/shared/start/linkcmds.base | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bsps/aarch64/shared') diff --git a/bsps/aarch64/shared/start/linkcmds.base b/bsps/aarch64/shared/start/linkcmds.base index a560b1016e..d3b5485777 100644 --- a/bsps/aarch64/shared/start/linkcmds.base +++ b/bsps/aarch64/shared/start/linkcmds.base @@ -321,6 +321,13 @@ SECTIONS { } > REGION_WORK AT > REGION_WORK bsp_section_rtemsstack_size = bsp_section_rtemsstack_end - bsp_section_rtemsstack_begin; + .noinit (NOLOAD) : ALIGN_WITH_INPUT { + bsp_section_noinit_begin = .; + *(.noinit*) + bsp_section_noinit_end = .; + } > REGION_WORK AT > REGION_WORK + bsp_section_noinit_size = bsp_section_noinit_end - bsp_section_noinit_begin; + .work : ALIGN_WITH_INPUT { /* * The work section will occupy the remaining REGION_WORK region and -- cgit v1.2.3