From 31e069a5808be5b2ae4d2ca7573f47ba4b39fd6a Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 20 May 2016 19:14:15 +0000 Subject: 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. --- 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(-) (limited to 'lib/csu') diff --git a/lib/csu/amd64/crt1.c b/lib/csu/amd64/crt1.c index 3740e73..c4f07e0 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 d2fbab3..5dec5e5 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 65de04c..8b16f16 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 95348b7..4030ce0 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 d1a3ea0..4e41bf7 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 35c5a6e..3ae5250 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 e11ae39..35132b8 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" -- cgit v1.1