[kaffe] CVS kaffe (robilad): Fixed PIC trampoline assembler code for powerpc-linux

Kaffe CVS cvs-commits at kaffe.org
Sun Jul 17 08:38:14 PDT 2005


PatchSet 6742 
Date: 2005/07/17 15:32:15
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Fixed PIC trampoline assembler code for powerpc-linux

2005-07-17  Andreas Tobler  <toa at pop.agri.ch>

        * config/powerpc/trampolines.S: Fixed PIC code for powerpc-linux.

Members: 
	ChangeLog:1.4266->1.4267 
	config/powerpc/trampolines.S:1.4->1.5 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.4266 kaffe/ChangeLog:1.4267
--- kaffe/ChangeLog:1.4266	Sun Jul 17 15:24:06 2005
+++ kaffe/ChangeLog	Sun Jul 17 15:32:15 2005
@@ -1,3 +1,7 @@
+2005-07-17  Andreas Tobler  <toa at pop.agri.ch>
+
+	* config/powerpc/trampolines.S: Fixed PIC code for powerpc-linux.
+
 2005-07-17  Dalibor Topic  <robilad at kaffe.org>
 
 	Resynced with GNU Classpath.
Index: kaffe/config/powerpc/trampolines.S
diff -u kaffe/config/powerpc/trampolines.S:1.4 kaffe/config/powerpc/trampolines.S:1.5
--- kaffe/config/powerpc/trampolines.S:1.4	Wed Jul 13 21:27:43 2005
+++ kaffe/config/powerpc/trampolines.S	Sun Jul 17 15:32:18 2005
@@ -68,7 +68,11 @@
 # Call soft_fixup_trampoline(). Return value will be in r3,
 # which is the address of the translated native code.
 
+#if defined(__APPLE__)
      bl Lsoft_fixup_trampoline$stub
+#else
+     bl soft_fixup_trampoline
+#endif
 
 # Save return value in ctr, so that we can jump there at the
 # end of this function
@@ -116,7 +120,8 @@
      bctr
 
 #endif
-
+	
+#if defined(__APPLE__)
 .data
 	.align 2
 LDFCM0:
@@ -138,3 +143,4 @@
 L_soft_fixup_trampoline$lazy_ptr:
 	.indirect_symbol _soft_fixup_trampoline
 	.long   dyld_stub_binding_helper
+#endif




More information about the kaffe mailing list