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:
Nate Begeman 2005-06-08 01:02:38 +00:00
parent 141e488a70
commit 6dae3308f5

View File

@ -43,7 +43,7 @@ extern "C" {
asm( asm(
".text\n" ".text\n"
".align 8\n" ".align 8\n"
#ifdef __CYGWIN__ #if defined(__CYGWIN__) || defined(__APPLE__)
".globl _X86CompilationCallback\n" ".globl _X86CompilationCallback\n"
"_X86CompilationCallback:\n" "_X86CompilationCallback:\n"
#else #else
@ -54,7 +54,7 @@ extern "C" {
"movl %esp, %ebp\n" // Standard prologue "movl %esp, %ebp\n" // Standard prologue
"pushl %eax\n" "pushl %eax\n"
"pushl %edx\n" // save EAX/EDX "pushl %edx\n" // save EAX/EDX
#ifdef __CYGWIN__ #if defined(__CYGWIN__) || defined(__APPLE__)
"call _X86CompilationCallback2\n" "call _X86CompilationCallback2\n"
#else #else
"call X86CompilationCallback2\n" "call X86CompilationCallback2\n"