svn commit: r292000 - in head/lib/csu: aarch64 amd64 arm i386 mips powerpc powerpc64 sparc64

Ed Maste emaste at FreeBSD.org
Tue Dec 8 19:33:00 UTC 2015


Author: emaste
Date: Tue Dec  8 19:32:58 2015
New Revision: 292000
URL: https://svnweb.freebsd.org/changeset/base/292000

Log:
  Remove historical GNUC test
  
  The requirement is for a GCC-compatible compiler and not necessarily
  GCC itself. However, we currently expect any compiler used for building
  the whole of FreeBSD to be GCC-compatible and many things will break if
  not; there's no longer a need to have an explicit test for this in csu.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/lib/csu/aarch64/crt1.c
  head/lib/csu/amd64/crt1.c
  head/lib/csu/arm/crt1.c
  head/lib/csu/i386/crt1_c.c
  head/lib/csu/mips/crt1.c
  head/lib/csu/powerpc/crt1.c
  head/lib/csu/powerpc64/crt1.c
  head/lib/csu/sparc64/crt1.c

Modified: head/lib/csu/aarch64/crt1.c
==============================================================================
--- head/lib/csu/aarch64/crt1.c	Tue Dec  8 19:19:26 2015	(r291999)
+++ head/lib/csu/aarch64/crt1.c	Tue Dec  8 19:32:58 2015	(r292000)
@@ -32,12 +32,6 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#ifndef lint
-#ifndef __GNUC__
-#error "GCC is needed to compile this file"
-#endif
-#endif /* lint */
-
 #include <stdlib.h>
 
 #include "libc_private.h"

Modified: head/lib/csu/amd64/crt1.c
==============================================================================
--- head/lib/csu/amd64/crt1.c	Tue Dec  8 19:19:26 2015	(r291999)
+++ head/lib/csu/amd64/crt1.c	Tue Dec  8 19:32:58 2015	(r292000)
@@ -27,12 +27,6 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#ifndef lint
-#ifndef __GNUC__
-#error "GCC is needed to compile this file"
-#endif
-#endif /* lint */
-
 #include <stdlib.h>
 
 #include "libc_private.h"

Modified: head/lib/csu/arm/crt1.c
==============================================================================
--- head/lib/csu/arm/crt1.c	Tue Dec  8 19:19:26 2015	(r291999)
+++ head/lib/csu/arm/crt1.c	Tue Dec  8 19:32:58 2015	(r292000)
@@ -42,12 +42,6 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#ifndef lint
-#ifndef __GNUC__
-#error "GCC is needed to compile this file"
-#endif
-#endif /* lint */
-
 #include <stdlib.h>
 
 #include "libc_private.h"

Modified: head/lib/csu/i386/crt1_c.c
==============================================================================
--- head/lib/csu/i386/crt1_c.c	Tue Dec  8 19:19:26 2015	(r291999)
+++ head/lib/csu/i386/crt1_c.c	Tue Dec  8 19:32:58 2015	(r292000)
@@ -29,12 +29,6 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#ifndef lint
-#ifndef __GNUC__
-#error "GCC is needed to compile this file"
-#endif
-#endif /* lint */
-
 #include <stdlib.h>
 
 #include "libc_private.h"

Modified: head/lib/csu/mips/crt1.c
==============================================================================
--- head/lib/csu/mips/crt1.c	Tue Dec  8 19:19:26 2015	(r291999)
+++ head/lib/csu/mips/crt1.c	Tue Dec  8 19:32:58 2015	(r292000)
@@ -36,10 +36,6 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#ifndef __GNUC__
-#error "GCC is needed to compile this file"
-#endif
-
 #include <stdlib.h>
 #include "libc_private.h"
 #include "crtbrand.c"

Modified: head/lib/csu/powerpc/crt1.c
==============================================================================
--- head/lib/csu/powerpc/crt1.c	Tue Dec  8 19:19:26 2015	(r291999)
+++ head/lib/csu/powerpc/crt1.c	Tue Dec  8 19:32:58 2015	(r292000)
@@ -42,12 +42,6 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#ifndef lint
-#ifndef __GNUC__
-#error "GCC is needed to compile this file"
-#endif
-#endif /* lint */
-
 #include <stdlib.h>
 
 #include "libc_private.h"

Modified: head/lib/csu/powerpc64/crt1.c
==============================================================================
--- head/lib/csu/powerpc64/crt1.c	Tue Dec  8 19:19:26 2015	(r291999)
+++ head/lib/csu/powerpc64/crt1.c	Tue Dec  8 19:32:58 2015	(r292000)
@@ -42,12 +42,6 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#ifndef lint
-#ifndef __GNUC__
-#error "GCC is needed to compile this file"
-#endif
-#endif /* lint */
-
 #include <stdlib.h>
 
 #include "libc_private.h"

Modified: head/lib/csu/sparc64/crt1.c
==============================================================================
--- head/lib/csu/sparc64/crt1.c	Tue Dec  8 19:19:26 2015	(r291999)
+++ head/lib/csu/sparc64/crt1.c	Tue Dec  8 19:32:58 2015	(r292000)
@@ -33,12 +33,6 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#ifndef lint
-#ifndef __GNUC__
-#error "GCC is needed to compile this file"
-#endif
-#endif /* lint */
-
 #include <stdlib.h>
 
 #include "libc_private.h"


More information about the svn-src-head mailing list