svn commit: r308712 - head/lib/csu/mips

Alexander Kabaev kan at FreeBSD.org
Wed Nov 16 03:21:51 UTC 2016


Author: kan
Date: Wed Nov 16 03:21:49 2016
New Revision: 308712
URL: https://svnweb.freebsd.org/changeset/base/308712

Log:
  Make MIPS startup assembly files use neutral float ABI.
  
  This allows these files to be used with hard and softfloat targets
  with no special flags passed to the compiler.
  
  Reviewed by: adrian, br, imp
  Differential Revision:	https://reviews.freebsd.org/D8506

Modified:
  head/lib/csu/mips/crti.S
  head/lib/csu/mips/crtn.S

Modified: head/lib/csu/mips/crti.S
==============================================================================
--- head/lib/csu/mips/crti.S	Wed Nov 16 03:19:36 2016	(r308711)
+++ head/lib/csu/mips/crti.S	Wed Nov 16 03:21:49 2016	(r308712)
@@ -1,6 +1,7 @@
 #include <machine/asm.h>
 __FBSDID("$FreeBSD$");
 
+	.gnu_attribute 4, 0
 	.section .init,"ax",%progbits
 	.align 4
 	.globl	_init

Modified: head/lib/csu/mips/crtn.S
==============================================================================
--- head/lib/csu/mips/crtn.S	Wed Nov 16 03:19:36 2016	(r308711)
+++ head/lib/csu/mips/crtn.S	Wed Nov 16 03:21:49 2016	(r308712)
@@ -1,6 +1,7 @@
 #include <machine/asm.h>
 __FBSDID("$FreeBSD$");
 
+	.gnu_attribute 4, 0
 	.section .init,"ax",%progbits
 	.align 4
 	.set noreorder


More information about the svn-src-head mailing list