altos: Move from newlib-nano to picolibc
[fw/altos] / src / stm / ao_boot_chain.c
index 488af1e1b8dffc2261e303aa3b3981b3a69f29f7..d91afdabc7fcbfb949ac007d72d0b8e330339fdf 100644 (file)
@@ -43,8 +43,8 @@ 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)
 {