Fix PR3423: Link llvm on ARM EABI machines. Patch by Robert Schuster.

llvm-svn: 63489
This commit is contained in:
Evan Cheng 2009-02-01 06:42:27 +00:00
parent dfbb6a1a9a
commit 676130f2e1
1 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ namespace llvm {
}
#if defined (__GNUC__)
#if defined(__GNUC__) && !defined(__ARM__EABI__)
// libgcc defines the __register_frame function to dynamically register new
// dwarf frames for exception handling. This functionality is not portable
@ -86,7 +86,7 @@ namespace llvm {
extern "C" void __register_frame(void*);
#if defined (__APPLE__)
#if defined(__APPLE__)
namespace {
@ -225,7 +225,7 @@ JIT::JIT(ModuleProvider *MP, TargetMachine &tm, TargetJITInfo &tji,
}
// Register routine for informing unwinding runtime about new EH frames
#if defined(__GNUC__)
#if defined(__GNUC__) && !defined(__ARM_EABI__)
#if defined(__APPLE__)
struct LibgccObjectInfo* LOI = (struct LibgccObjectInfo*)
_keymgr_get_and_lock_processwide_ptr(KEYMGR_GCC3_DW2_OBJ_LIST);