This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Release 2.23


On Tue, Sep 11, 2012 at 08:03:31AM +0930, Alan Modra wrote:
> On Mon, Sep 10, 2012 at 05:12:50PM +0200, Matthias Klose wrote:
> > On 09.09.2012 16:48, Alan Modra wrote:
> > > On Sun, Sep 09, 2012 at 04:11:44PM +0200, Matthias Klose wrote:
> > >> a quick fix for this is to disable this safety check on kfreebsd by checking
> > >> that the __FreeBSD_kernel__ macro isn't defined.
> > > 
> > > The patch is OK with suitable ChangeLog entries.
> > 
> > attached (this time with the diff for ChangeLog's as well). please check it in.
> 
> Applied.

Oops.  config.in is a generated file..

	* configure.in: Apply 2012-09-10 change to config.in here.

Index: bfd/configure.in
===================================================================
RCS file: /cvs/src/src/bfd/configure.in,v
retrieving revision 1.322
diff -u -p -r1.322 configure.in
--- bfd/configure.in	30 Oct 2012 13:30:15 -0000	1.322
+++ bfd/configure.in	5 Nov 2012 10:31:27 -0000
@@ -121,7 +121,7 @@ AC_CONFIG_HEADERS(config.h:config.in)
 AH_VERBATIM([00_CONFIG_H_CHECK],
 [/* Check that config.h is #included before system headers
     (this works only for glibc, but that should be enough).  */
-#if defined(__GLIBC__) && !defined(__CONFIG_H__)
+#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
 #  error config.h must be #included before system headers
 #endif
 #define __CONFIG_H__ 1])
Index: gas/configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.233
diff -u -p -r1.233 configure.in
--- gas/configure.in	27 Jul 2012 16:30:54 -0000	1.233
+++ gas/configure.in	5 Nov 2012 10:31:30 -0000
@@ -62,7 +62,7 @@ AC_CONFIG_HEADERS(config.h:config.in)
 AH_VERBATIM([00_CONFIG_H_CHECK],
 [/* Check that config.h is #included before system headers
    (this works only for glibc, but that should be enough).  */
-#if defined(__GLIBC__) && !defined(__CONFIG_H__)
+#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
 #  error config.h must be #included before system headers
 #endif
 #define __CONFIG_H__ 1])
Index: ld/configure.in
===================================================================
RCS file: /cvs/src/src/ld/configure.in,v
retrieving revision 1.78
diff -u -p -r1.78 configure.in
--- ld/configure.in	14 Aug 2012 11:59:04 -0000	1.78
+++ ld/configure.in	5 Nov 2012 10:31:33 -0000
@@ -128,7 +128,7 @@ AC_CONFIG_HEADERS([config.h:config.in])
 AH_VERBATIM([00_CONFIG_H_CHECK],
 [/* Check that config.h is #included before system headers
    (this works only for glibc, but that should be enough).  */
-#if defined(__GLIBC__) && !defined(__CONFIG_H__)
+#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
 #  error config.h must be #included before system headers
 #endif
 #define __CONFIG_H__ 1])
Index: opcodes/configure.in
===================================================================
RCS file: /cvs/src/src/opcodes/configure.in,v
retrieving revision 1.112
diff -u -p -r1.112 configure.in
--- opcodes/configure.in	17 Aug 2012 14:33:23 -0000	1.112
+++ opcodes/configure.in	5 Nov 2012 10:31:34 -0000
@@ -51,7 +51,7 @@ AC_CONFIG_HEADERS(config.h:config.in)
 AH_VERBATIM([00_CONFIG_H_CHECK],
 [/* Check that config.h is #included before system headers
    (this works only for glibc, but that should be enough).  */
-#if defined(__GLIBC__) && !defined(__CONFIG_H__)
+#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
 #  error config.h must be #included before system headers
 #endif
 #define __CONFIG_H__ 1])


-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]