Changes in directory llvm/lib/ExecutionEngine/JIT:
JIT.cpp updated: 1.73 -> 1.74 --- Log message: Yikes. This requires checking apple gcc version. --- Diffs of the changes: (+4 -2) JIT.cpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) Index: llvm/lib/ExecutionEngine/JIT/JIT.cpp diff -u llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.73 llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.74 --- llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.73 Tue Aug 15 20:24:12 2006 +++ llvm/lib/ExecutionEngine/JIT/JIT.cpp Fri Sep 1 02:00:46 2006 @@ -32,7 +32,8 @@ #ifdef __APPLE__ #include <AvailabilityMacros.h> -#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 +#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_4 && \ + __APPLE_CC__ >= 5330 // __dso_handle is resolved by Mac OS X dynamic linker. extern void *__dso_handle __attribute__ ((__visibility__ ("hidden"))); #endif @@ -309,7 +310,8 @@ // If the global is external, just remember the address. if (GV->isExternal()) { #ifdef __APPLE__ -#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 +#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_4 && \ + __APPLE_CC__ >= 5330 // __dso_handle is resolved by the Mac OS X dynamic linker. if (GV->getName() == "__dso_handle") return (void*)&__dso_handle; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits