Skip to content

Commit 38e96ac

Browse files
author
Deepika
committed
__aeabi_read_tp function required for TLS in Dlib
1 parent 22afcfa commit 38e96ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

platform/mbed_retarget.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,9 @@ extern "C" WEAK void __iar_file_Mtxinit(__iar_Rmtx *mutex) {}
884884
extern "C" WEAK void __iar_file_Mtxdst(__iar_Rmtx *mutex) {}
885885
extern "C" WEAK void __iar_file_Mtxlock(__iar_Rmtx *mutex) {}
886886
extern "C" WEAK void __iar_file_Mtxunlock(__iar_Rmtx *mutex) {}
887+
#if (__IAR_SYSTEMS_ICC__ >= 8)
888+
extern "C" WEAK void *__aeabi_read_tp (void) {}
889+
#endif
887890
#elif defined(__CC_ARM)
888891
// Do nothing
889892
#elif defined (__GNUC__)

0 commit comments

Comments
 (0)