[kaffe] CVS kaffe (dalibor): More multi-line string fixes

Kaffe CVS cvs-commits at kaffe.org
Sat Oct 4 17:24:02 PDT 2003


PatchSet 4097 
Date: 2003/10/05 00:21:49
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
More multi-line string fixes

Members: 
	ChangeLog:1.1691->1.1692 
	config/sparc/jit.h:1.6->1.7 
	config/sparc/trampolines.c:1.2->1.3 
	config/sparc/linux/md.c:1.2->1.3 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1691 kaffe/ChangeLog:1.1692
--- kaffe/ChangeLog:1.1691	Sun Oct  5 00:14:25 2003
+++ kaffe/ChangeLog	Sun Oct  5 00:21:49 2003
@@ -1,5 +1,12 @@
 2003-10-05  Dalibor Topic <robilad at kaffe.org>
 
+	* config/sparc/jit.h,
+	config/sparc/trampolines.c,
+	config/sparc/linux/md.c:
+	Changed multi-line strings to single line strings.
+
+2003-10-05  Dalibor Topic <robilad at kaffe.org>
+
 	* config/s390/common.h:
 	Changed multi-line strings to single line strings.
 
Index: kaffe/config/sparc/jit.h
diff -u kaffe/config/sparc/jit.h:1.6 kaffe/config/sparc/jit.h:1.7
--- kaffe/config/sparc/jit.h:1.6	Fri Feb 23 09:56:49 2001
+++ kaffe/config/sparc/jit.h	Sun Oct  5 00:21:51 2003
@@ -60,12 +60,12 @@
 #define CALL_KAFFE_EXCEPTION(F, H, O)					\
 do {									\
 	register int o1 asm("o1"), o2 asm("o2"), o3 asm("o3");		\
-	asm volatile("							\n\
-		ta 3							\n\
-		sub %%sp,64,%%sp					\n\
-		mov %2,%%fp						\n\
-		jmpl %1,%%g0						\n\
-		restore	%0,0,%%o0					\n\
+	asm volatile(							\
+"		ta 3 \n"						\
+"		sub %%sp,64,%%sp \n"					\
+"		mov %2,%%fp \n"						\
+"		jmpl %1,%%g0 \n"					\
+"		restore	%0,0,%%o0 \n"					\
 	" : : "r" (o1=(int)(O)), "r" (o2=(int)(H)), "r" (o3=(int)(F))); \
         asm volatile("" : : "r"(o1), "r"(o2), "r"(o3)); 		\
 } while (0)
Index: kaffe/config/sparc/trampolines.c
diff -u kaffe/config/sparc/trampolines.c:1.2 kaffe/config/sparc/trampolines.c:1.3
--- kaffe/config/sparc/trampolines.c:1.2	Thu Nov  4 20:48:40 1999
+++ kaffe/config/sparc/trampolines.c	Sun Oct  5 00:21:51 2003
@@ -33,14 +33,14 @@
 
 asm(
 	START_ASM_FUNC() C_FUNC_NAME(sparc_do_fixup_trampoline) "\n"
-C_FUNC_NAME(sparc_do_fixup_trampoline) ":			\n
-	save	%sp,-64,%sp					\n
-	ld	[%i7+8],%o0					\n
-	ld	[%i7+12],%o1					\n
-	call	" C_FUNC_NAME(soft_fixup_trampoline) "		\n
-	mov	%g1,%i7						\n
-	jmp	%o0						\n
-	restore"
+C_FUNC_NAME(sparc_do_fixup_trampoline) ": \n"
+"	save	%sp,-64,%sp \n"
+"	ld	[%i7+8],%o0 \n"
+"	ld	[%i7+12],%o1 \n"
+"	call	" C_FUNC_NAME(soft_fixup_trampoline) " \n"
+"	mov	%g1,%i7	\n"
+"	jmp	%o0 \n"
+"	restore"
 	END_ASM_FUNC()
 );
 
Index: kaffe/config/sparc/linux/md.c
diff -u kaffe/config/sparc/linux/md.c:1.2 kaffe/config/sparc/linux/md.c:1.3
--- kaffe/config/sparc/linux/md.c:1.2	Thu Oct  1 20:55:08 1998
+++ kaffe/config/sparc/linux/md.c	Sun Oct  5 00:21:52 2003
@@ -25,16 +25,16 @@
 #define	GET_SP(E)	(((void**)(E))[SP_OFFSET])
 
 extern int __speciallongjmp(void*);
-asm("
-__speciallongjmp:
-	mov %o0,%g1
-	ta 3
-	ld [%g1],%sp
-	ld [%g1+4],%fp
-	ld [%g1+8],%g1
-	jmp %g1+8
-	mov 1,%o0
-");
+asm(" \n"
+"__speciallongjmp: \n"
+"	mov %o0,%g1 \n"
+"	ta 3 \n"
+"	ld [%g1],%sp \n"
+"	ld [%g1+4],%fp \n"
+"	ld [%g1+8],%g1 \n"
+"	jmp %g1+8 \n"
+"	mov 1,%o0 \n"
+);
 
 void
 sparcLinuxContextSwitch(jthread* from, jthread* to)




More information about the kaffe mailing list