Date: Fri, 20 May 2016 19:14:15 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r300323 - in stable/10/lib/csu: amd64 arm i386-elf mips powerpc powerpc64 sparc64 Message-ID: <201605201914.u4KJEFB8018399@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Fri May 20 19:14:15 2016 New Revision: 300323 URL: https://svnweb.freebsd.org/changeset/base/300323 Log: 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. Modified: stable/10/lib/csu/amd64/crt1.c stable/10/lib/csu/arm/crt1.c stable/10/lib/csu/i386-elf/crt1_c.c stable/10/lib/csu/mips/crt1.c stable/10/lib/csu/powerpc/crt1.c stable/10/lib/csu/powerpc64/crt1.c stable/10/lib/csu/sparc64/crt1.c Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/csu/amd64/crt1.c ============================================================================== --- stable/10/lib/csu/amd64/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/amd64/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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: stable/10/lib/csu/arm/crt1.c ============================================================================== --- stable/10/lib/csu/arm/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/arm/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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: stable/10/lib/csu/i386-elf/crt1_c.c ============================================================================== --- stable/10/lib/csu/i386-elf/crt1_c.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/i386-elf/crt1_c.c Fri May 20 19:14:15 2016 (r300323) @@ -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: stable/10/lib/csu/mips/crt1.c ============================================================================== --- stable/10/lib/csu/mips/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/mips/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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: stable/10/lib/csu/powerpc/crt1.c ============================================================================== --- stable/10/lib/csu/powerpc/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/powerpc/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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: stable/10/lib/csu/powerpc64/crt1.c ============================================================================== --- stable/10/lib/csu/powerpc64/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/powerpc64/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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: stable/10/lib/csu/sparc64/crt1.c ============================================================================== --- stable/10/lib/csu/sparc64/crt1.c Fri May 20 19:10:29 2016 (r300322) +++ stable/10/lib/csu/sparc64/crt1.c Fri May 20 19:14:15 2016 (r300323) @@ -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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605201914.u4KJEFB8018399>