summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m/llsr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m/llsr.c b/core/cortex-m/llsr.c
index 5a43dc1f08..0827121e97 100644
--- a/core/cortex-m/llsr.c
+++ b/core/cortex-m/llsr.c
@@ -14,7 +14,7 @@ union words {
uint32_t w[2];
};
-uint64_t __aeabi_llsr(uint64_t v, uint32_t shift)
+uint64_t __attribute__((used)) __aeabi_llsr(uint64_t v, uint32_t shift)
{
union words val;
union words res;