[llvm-commits] CVS: llvm/lib/Target/X86/X86JITInfo.cpp
Reid Spencer
reid at x10sys.com
Thu Jun 2 14:33:31 PDT 2005
Changes in directory llvm/lib/Target/X86:
X86JITInfo.cpp updated: 1.11 -> 1.12
---
Log message:
Make sure that Cygwin assembly includes _ as part of function names.
---
Diffs of the changes: (+9 -0)
X86JITInfo.cpp | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/lib/Target/X86/X86JITInfo.cpp
diff -u llvm/lib/Target/X86/X86JITInfo.cpp:1.11 llvm/lib/Target/X86/X86JITInfo.cpp:1.12
--- llvm/lib/Target/X86/X86JITInfo.cpp:1.11 Fri May 20 16:29:24 2005
+++ llvm/lib/Target/X86/X86JITInfo.cpp Thu Jun 2 16:33:19 2005
@@ -43,13 +43,22 @@
asm(
".text\n"
".align 8\n"
+#ifdef __CYGWIN__
+ ".globl _X86CompilationCallback\n"
+ "_X86CompilationCallback:\n"
+#else
".globl X86CompilationCallback\n"
"X86CompilationCallback:\n"
+#endif
"pushl %ebp\n"
"movl %esp, %ebp\n" // Standard prologue
"pushl %eax\n"
"pushl %edx\n" // save EAX/EDX
+#ifdef __CYGWIN__
+ "call _X86CompilationCallback2\n"
+#else
"call X86CompilationCallback2\n"
+#endif
"popl %edx\n"
"popl %eax\n"
"popl %ebp\n"
More information about the llvm-commits
mailing list