summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/board/common/compal_osmoload.lds
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/firmware/board/common/compal_osmoload.lds')
-rw-r--r--src/target/firmware/board/common/compal_osmoload.lds4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/firmware/board/common/compal_osmoload.lds b/src/target/firmware/board/common/compal_osmoload.lds
index 6f6a9679..2765ec22 100644
--- a/src/target/firmware/board/common/compal_osmoload.lds
+++ b/src/target/firmware/board/common/compal_osmoload.lds
@@ -32,12 +32,12 @@ SECTIONS
. = ALIGN(4);
__CTOR_LIST__ = .;
LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
- *(SORT(.ctors))
+ KEEP(*(SORT(.ctors)))
LONG(0) /* end of list */
__CTOR_END__ = .;
__DTOR_LIST__ = .;
LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
- *(SORT(.dtors))
+ KEEP(*(SORT(.dtors)))
LONG(0) /* end of list */
__DTOR_END__ = .;
} > LRAM