mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Fix PR3423: Link llvm on ARM EABI machines. Patch by Robert Schuster.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63489 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
644f6f875e
commit
2d5424d76a
@ -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
|
// libgcc defines the __register_frame function to dynamically register new
|
||||||
// dwarf frames for exception handling. This functionality is not portable
|
// dwarf frames for exception handling. This functionality is not portable
|
||||||
@ -86,7 +86,7 @@ namespace llvm {
|
|||||||
|
|
||||||
extern "C" void __register_frame(void*);
|
extern "C" void __register_frame(void*);
|
||||||
|
|
||||||
#if defined (__APPLE__)
|
#if defined(__APPLE__)
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
@ -225,7 +225,7 @@ JIT::JIT(ModuleProvider *MP, TargetMachine &tm, TargetJITInfo &tji,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Register routine for informing unwinding runtime about new EH frames
|
// Register routine for informing unwinding runtime about new EH frames
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__) && !defined(__ARM_EABI__)
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__)
|
||||||
struct LibgccObjectInfo* LOI = (struct LibgccObjectInfo*)
|
struct LibgccObjectInfo* LOI = (struct LibgccObjectInfo*)
|
||||||
_keymgr_get_and_lock_processwide_ptr(KEYMGR_GCC3_DW2_OBJ_LIST);
|
_keymgr_get_and_lock_processwide_ptr(KEYMGR_GCC3_DW2_OBJ_LIST);
|
||||||
|
Loading…
Reference in New Issue
Block a user