__aeabi_read_tp function required for TLS in Dlib

pull/4938/head
Deepika 2017-08-17 15:39:12 -05:00
parent 22afcfacbd
commit 38e96ac432
1 changed files with 3 additions and 0 deletions

View File

@ -884,6 +884,9 @@ extern "C" WEAK void __iar_file_Mtxinit(__iar_Rmtx *mutex) {}
extern "C" WEAK void __iar_file_Mtxdst(__iar_Rmtx *mutex) {}
extern "C" WEAK void __iar_file_Mtxlock(__iar_Rmtx *mutex) {}
extern "C" WEAK void __iar_file_Mtxunlock(__iar_Rmtx *mutex) {}
#if (__IAR_SYSTEMS_ICC__ >= 8)
extern "C" WEAK void *__aeabi_read_tp (void) {}
#endif
#elif defined(__CC_ARM)
// Do nothing
#elif defined (__GNUC__)