[kaffe] CVS kaffe (robilad): pic fix for Cygwin

Kaffe CVS cvs-commits at kaffe.org
Tue Aug 7 12:00:06 PDT 2007


PatchSet 7521 
Date: 2007/08/07 18:59:03
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
pic fix for Cygwin

Members: 
	ChangeLog:1.5019->1.5020 
	config/i386/trampolines.S:1.5->1.6 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.5019 kaffe/ChangeLog:1.5020
--- kaffe/ChangeLog:1.5019	Tue Aug  7 16:08:33 2007
+++ kaffe/ChangeLog	Tue Aug  7 18:59:03 2007
@@ -1,3 +1,8 @@
+2007-08-07  Kazuyuki Shudo  <2006 at shudo.net>
+
+	* config/i386/trampolines.S: Don't generate PIC code
+	for Cygwin.
+
 2007-08-08  Kiyo Inaba <inaba at src.ricoh.co.jp>
 
 	* RELEASE-NOTES, TODO: Include status for arm, m68k.
Index: kaffe/config/i386/trampolines.S
diff -u kaffe/config/i386/trampolines.S:1.5 kaffe/config/i386/trampolines.S:1.6
--- kaffe/config/i386/trampolines.S:1.5	Wed Sep 14 11:53:16 2005
+++ kaffe/config/i386/trampolines.S	Tue Aug  7 18:59:04 2007
@@ -39,7 +39,7 @@
         popl	%eax
 	push	%ebp
 	mov	%esp,%ebp
-#if defined(PIC)
+#if defined(PIC) && !defined(__CYGWIN__)
 	pushl	%ebx
 	call	.L2
      .L2:




More information about the kaffe mailing list