From 5e6ff04582073b7d7242d83ae803b47af9a2fd5a Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 20 May 2016 19:14:15 +0000 Subject: [PATCH] MFC r292000: 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. git-svn-id: svn://svn.freebsd.org/base/stable/10@300323 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- lib/csu/amd64/crt1.c | 6 ------ lib/csu/arm/crt1.c | 6 ------ lib/csu/i386-elf/crt1_c.c | 6 ------ lib/csu/mips/crt1.c | 4 ---- lib/csu/powerpc/crt1.c | 6 ------ lib/csu/powerpc64/crt1.c | 6 ------ lib/csu/sparc64/crt1.c | 6 ------ 7 files changed, 40 deletions(-) diff --git a/lib/csu/amd64/crt1.c b/lib/csu/amd64/crt1.c index 3740e737a..c4f07e052 100644 --- a/lib/csu/amd64/crt1.c +++ b/lib/csu/amd64/crt1.c @@ -27,12 +27,6 @@ #include __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include #include "libc_private.h" diff --git a/lib/csu/arm/crt1.c b/lib/csu/arm/crt1.c index d2fbab35c..5dec5e5f1 100644 --- a/lib/csu/arm/crt1.c +++ b/lib/csu/arm/crt1.c @@ -42,12 +42,6 @@ #include __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include #include "libc_private.h" diff --git a/lib/csu/i386-elf/crt1_c.c b/lib/csu/i386-elf/crt1_c.c index 65de04ce4..8b16f160e 100644 --- a/lib/csu/i386-elf/crt1_c.c +++ b/lib/csu/i386-elf/crt1_c.c @@ -29,12 +29,6 @@ #include __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include #include "libc_private.h" diff --git a/lib/csu/mips/crt1.c b/lib/csu/mips/crt1.c index 95348b767..4030ce069 100644 --- a/lib/csu/mips/crt1.c +++ b/lib/csu/mips/crt1.c @@ -36,10 +36,6 @@ #include __FBSDID("$FreeBSD$"); -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif - #include #include "libc_private.h" #include "crtbrand.c" diff --git a/lib/csu/powerpc/crt1.c b/lib/csu/powerpc/crt1.c index d1a3ea0bf..4e41bf747 100644 --- a/lib/csu/powerpc/crt1.c +++ b/lib/csu/powerpc/crt1.c @@ -42,12 +42,6 @@ #include __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include #include "libc_private.h" diff --git a/lib/csu/powerpc64/crt1.c b/lib/csu/powerpc64/crt1.c index 35c5a6e5c..3ae52501c 100644 --- a/lib/csu/powerpc64/crt1.c +++ b/lib/csu/powerpc64/crt1.c @@ -42,12 +42,6 @@ #include __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include #include "libc_private.h" diff --git a/lib/csu/sparc64/crt1.c b/lib/csu/sparc64/crt1.c index e11ae39d8..35132b8c7 100644 --- a/lib/csu/sparc64/crt1.c +++ b/lib/csu/sparc64/crt1.c @@ -33,12 +33,6 @@ #include __FBSDID("$FreeBSD$"); -#ifndef lint -#ifndef __GNUC__ -#error "GCC is needed to compile this file" -#endif -#endif /* lint */ - #include #include "libc_private.h" -- 2.42.0