mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 18:31:23 +00:00
Fix lli linking on Mac OS X 10.4.1 for Intel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22200 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
141e488a70
commit
6dae3308f5
@ -43,7 +43,7 @@ extern "C" {
|
||||
asm(
|
||||
".text\n"
|
||||
".align 8\n"
|
||||
#ifdef __CYGWIN__
|
||||
#if defined(__CYGWIN__) || defined(__APPLE__)
|
||||
".globl _X86CompilationCallback\n"
|
||||
"_X86CompilationCallback:\n"
|
||||
#else
|
||||
@ -54,7 +54,7 @@ extern "C" {
|
||||
"movl %esp, %ebp\n" // Standard prologue
|
||||
"pushl %eax\n"
|
||||
"pushl %edx\n" // save EAX/EDX
|
||||
#ifdef __CYGWIN__
|
||||
#if defined(__CYGWIN__) || defined(__APPLE__)
|
||||
"call _X86CompilationCallback2\n"
|
||||
#else
|
||||
"call X86CompilationCallback2\n"
|
||||
|
Loading…
Reference in New Issue
Block a user