PERFORCE change 114604 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Fri Feb 16 00:37:42 UTC 2007


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

Change 114604 by gonzo at gonzo_jeeves on 2007/02/16 00:36:55

	o _fini should use .abicalls if compiled with respective 
	    gcc option.

Affected files ...

.. //depot/projects/mips2/src/lib/csu/mips/crti.S#3 edit

Differences ...

==== //depot/projects/mips2/src/lib/csu/mips/crti.S#3 (text+ko) ====

@@ -18,10 +18,20 @@
 	subu	sp, sp, 32
 	sw	ra, 28(sp)
 #endif
+
 	.section .fini,"ax",%progbits
 	.align 4
 	.globl	_fini
 	.type	_fini,%function
 _fini:
+#ifdef __ABICALLS__
+	.set   noreorder
+	.cpload $25
+	.set   reorder
+	subu	sp, sp, 32
+	.cprestore 16
+	sw	ra, 28(sp)
+#else
 	subu    sp, sp, 32
 	sw	ra, 28(sp)
+#endif


More information about the p4-projects mailing list