From ce71d18450aef81a25add09e595163a6459bd201 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Wed, 5 Sep 2018 07:09:24 +0200 Subject: [PATCH] runtime/nrf: remove AEABI functions Apparently these functions were not actually used. --- src/runtime/runtime_nrf.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/runtime/runtime_nrf.c b/src/runtime/runtime_nrf.c index 14e098a9..046a7b64 100644 --- a/src/runtime/runtime_nrf.c +++ b/src/runtime/runtime_nrf.c @@ -28,20 +28,3 @@ void RTC0_IRQHandler() { NRF_RTC0->EVENTS_COMPARE[0] = 0; rtc_wakeup = true; } - -__attribute__((weak)) -void __aeabi_unwind_cpp_pr0() { - // dummy, not actually used -} - -__attribute__((weak)) -void __aeabi_memclr(uint8_t *dest, size_t n) { - // TODO: link with compiler-rt for a better implementation. - // For now, use a simple memory zeroer. - memset(dest, 0, n); -} - -__attribute__((weak)) -void __aeabi_memclr4(uint8_t *dest, size_t n) { - __aeabi_memclr(dest, n); -}