This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Release 2.23
- From: Alan Modra <amodra at gmail dot com>
- To: Matthias Klose <doko at ubuntu dot com>, binutils Development <binutils at sourceware dot org>
- Date: Mon, 5 Nov 2012 21:18:01 +1030
- Subject: Re: Release 2.23
- References: <EFF1B4C0-3885-4580-8DA9-23540D588E9E@adacore.com> <504CA3A0.4020901@ubuntu.com> <20120909144833.GB3159@bubble.grove.modra.org> <504E0372.2050607@ubuntu.com> <20120910223331.GG3159@bubble.grove.modra.org>
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