[kaffe] CVS kaffe (robilad): Fixed trampoline declaration for Cygwin

Kaffe CVS cvs-commits at kaffe.org
Wed Sep 14 04:58:20 PDT 2005


PatchSet 6897 
Date: 2005/09/14 11:53:15
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed trampoline declaration for Cygwin

Members: 
	ChangeLog:1.4418->1.4419 
	config/i386/trampolines.S:1.4->1.5 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4418 kaffe/ChangeLog:1.4419
--- kaffe/ChangeLog:1.4418	Wed Sep 14 04:38:08 2005
+++ kaffe/ChangeLog	Wed Sep 14 11:53:15 2005
@@ -1,3 +1,8 @@
+2005-09-14  Dalibor Topic  <robilad at kaffe.org>
+
+	* config/i386/trampolines.S:
+	Fixed function declaration for Cygwin.
+
 2005-09-13  Dalibor Topic  <robilad at kaffe.org>
 
 	* libraries/java/java/lang/Runtime.java
Index: kaffe/config/i386/trampolines.S
diff -u kaffe/config/i386/trampolines.S:1.4 kaffe/config/i386/trampolines.S:1.5
--- kaffe/config/i386/trampolines.S:1.4	Sun Jul 17 16:46:29 2005
+++ kaffe/config/i386/trampolines.S	Wed Sep 14 11:53:16 2005
@@ -25,7 +25,15 @@
      .text
      .align 4
      .globl C_FUNC_NAME(i386_do_fixup_trampoline)
+/* Cygwin does not like the PIC declaration for some reason */
+#if defined(__CYGWIN__)
+     .def C_FUNC_NAME(i386_do_fixup_trampoline)
+     .scl 3
+     .type 32
+     .endef
+#else
      .type C_FUNC_NAME(i386_do_fixup_trampoline), @function
+#endif
 
      C_FUNC_NAME(i386_do_fixup_trampoline) :
         popl	%eax




More information about the kaffe mailing list