svn commit: r287331 - stable/10/libexec/rtld-elf

Ed Maste emaste at FreeBSD.org
Mon Aug 31 19:20:19 UTC 2015


Author: emaste
Date: Mon Aug 31 19:20:18 2015
New Revision: 287331
URL: https://svnweb.freebsd.org/changeset/base/287331

Log:
  MFC r282551: 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.

Modified:
  stable/10/libexec/rtld-elf/debug.h
  stable/10/libexec/rtld-elf/rtld.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/libexec/rtld-elf/debug.h
==============================================================================
--- stable/10/libexec/rtld-elf/debug.h	Mon Aug 31 19:12:10 2015	(r287330)
+++ stable/10/libexec/rtld-elf/debug.h	Mon Aug 31 19:20:18 2015	(r287331)
@@ -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: stable/10/libexec/rtld-elf/rtld.c
==============================================================================
--- stable/10/libexec/rtld-elf/rtld.c	Mon Aug 31 19:12:10 2015	(r287330)
+++ stable/10/libexec/rtld-elf/rtld.c	Mon Aug 31 19:20:18 2015	(r287331)
@@ -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