Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 May 2015 15:29:11 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r282551 - head/libexec/rtld-elf
Message-ID:  <201505061529.t46FTB1v061059@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed May  6 15:29:11 2015
New Revision: 282551
URL: https://svnweb.freebsd.org/changeset/base/282551

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 rtld.
  
  Reviewed by:	imp, kib
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D2422

Modified:
  head/libexec/rtld-elf/debug.h
  head/libexec/rtld-elf/rtld.c

Modified: head/libexec/rtld-elf/debug.h
==============================================================================
--- head/libexec/rtld-elf/debug.h	Wed May  6 15:25:20 2015	(r282550)
+++ head/libexec/rtld-elf/debug.h	Wed May  6 15:29:11 2015	(r282551)
@@ -32,10 +32,6 @@
 #ifndef DEBUG_H
 #define DEBUG_H 1
 
-#ifndef __GNUC__
-#error "This file must be compiled with GCC"
-#endif
-
 #include <sys/cdefs.h>
 
 #include <string.h>

Modified: head/libexec/rtld-elf/rtld.c
==============================================================================
--- head/libexec/rtld-elf/rtld.c	Wed May  6 15:25:20 2015	(r282550)
+++ head/libexec/rtld-elf/rtld.c	Wed May  6 15:29:11 2015	(r282551)
@@ -34,10 +34,6 @@
  * John Polstra <jdp@polstra.com>.
  */
 
-#ifndef __GNUC__
-#error "GCC is needed to compile this file"
-#endif
-
 #include <sys/param.h>
 #include <sys/mount.h>
 #include <sys/mman.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505061529.t46FTB1v061059>