PERFORCE change 101205 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Mon Jul 10 14:33:59 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=101205

Change 101205 by gonzo at gonzo_hq on 2006/07/10 14:33:01

	o Added ASM_ENTRY macros and _start was made pure asm entry. 

Affected files ...

.. //depot/projects/mips2/src/sys/mips/include/asm.h#4 edit
.. //depot/projects/mips2/src/sys/mips/mips/locore.S#9 edit

Differences ...

==== //depot/projects/mips2/src/sys/mips/include/asm.h#4 (text+ko) ====

@@ -137,7 +137,10 @@
 	.globl sym; .ent sym; sym: .frame sp, 0, ra
 
 #define	ENTRY(sym)						\
-	.text; .globl sym; sym:
+	.text; .globl sym; .ent sym; sym:
+
+#define	ASM_ENTRY(sym)						\
+	.text; .globl sym; .type sym, at function; sym:
 
 #define	END(sym)						\
 	.end sym

==== //depot/projects/mips2/src/sys/mips/mips/locore.S#9 (text+ko) ====

@@ -42,7 +42,7 @@
 
 	.text
 GLOBAL(btext)
-ENTRY(_start)
+ASM_ENTRY(_start)
 	/*
 	 * t0: Bits to preserve if set:
 	 * 	Soft reset


More information about the p4-projects mailing list