Skip to content

Commit fd4639b

Browse files
author
Deepika
committed
__aeabi_read_tp function required for TLS in Dlib
1 parent 07c8044 commit fd4639b

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
@@ -880,6 +880,9 @@ extern "C" WEAK void __iar_file_Mtxinit(__iar_Rmtx *mutex) {}
880880
extern "C" WEAK void __iar_file_Mtxdst(__iar_Rmtx *mutex) {}
881881
extern "C" WEAK void __iar_file_Mtxlock(__iar_Rmtx *mutex) {}
882882
extern "C" WEAK void __iar_file_Mtxunlock(__iar_Rmtx *mutex) {}
883+
#if (__IAR_SYSTEMS_ICC__ >= 8)
884+
extern "C" WEAK void *__aeabi_read_tp (void) {}
885+
#endif
883886
#elif defined(__CC_ARM)
884887
// Do nothing
885888
#elif defined (__GNUC__)

0 commit comments

Comments
 (0)