diff --git a/js/src/nanojit/NativeARM.cpp b/js/src/nanojit/NativeARM.cpp index 8905f8f472b..f08132ab71f 100644 --- a/js/src/nanojit/NativeARM.cpp +++ b/js/src/nanojit/NativeARM.cpp @@ -42,9 +42,7 @@ #ifdef UNDER_CE #include -static inline bool blx_lr_broken() { - return false; -} +extern "C" bool blx_lr_broken(); #endif #if defined(AVMPLUS_LINUX) diff --git a/js/src/nanojit/avmplus.cpp b/js/src/nanojit/avmplus.cpp index aa26b64d85f..4596971a379 100644 --- a/js/src/nanojit/avmplus.cpp +++ b/js/src/nanojit/avmplus.cpp @@ -45,6 +45,13 @@ typedef void *maddr_ptr; #endif +#if defined(AVMPLUS_ARM) && defined(UNDER_CE) +extern "C" bool +blx_lr_broken() { + return false; +} +#endif + using namespace avmplus; Config AvmCore::config;