altos: Move from newlib-nano to picolibc
[fw/altos] / src / stmf0 / ao_boot_chain.c
index 8f850a0a6d98d7ee1b0484f746dd8f6453e19d43..d91afdabc7fcbfb949ac007d72d0b8e330339fdf 100644 (file)
@@ -43,7 +43,7 @@ struct ao_boot {
        uint32_t        check;
 };
 
-static struct ao_boot __attribute__ ((section(".boot"))) ao_boot;
+struct ao_boot ao_boot __attribute__((section(".preserve.2")));
 
 int
 ao_boot_check_chain(void)