Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2007 00:37:41 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 114604 for review
Message-ID:  <200702160037.l1G0bft7030002@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=114604

Change 114604 by gonzo@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702160037.l1G0bft7030002>