svn commit: r282551 - head/libexec/rtld-elf

Ed Maste emaste at FreeBSD.org
Wed May 6 15:29:12 UTC 2015


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 at 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>


More information about the svn-src-all mailing list