aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2012-11-05 10:45:29 +0000
committerAlan Modra <amodra@bigpond.net.au>2012-11-05 10:45:29 +0000
commit99a64a087ce6200b218937dfa1407c5c16becf4f (patch)
tree075a13faf57c87fb8e8d024ac40e58d3909c141b /ld
parentff140ad13f0a9e4050ecff0d756e4a7b15424fe8 (diff)
downloadbinutils-current-99a64a087ce6200b218937dfa1407c5c16becf4f.tar.gz
* configure.in: Apply 2012-09-10 change to config.in here.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/configure.in2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3b86fcb57..e327bbc69 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-05 Alan Modra <amodra@gmail.com>
+
+ * configure.in: Apply 2012-09-10 change to config.in here.
+
2012-11-01 Nathan Sidwell <nathan@codesourcery.com>
* emultempl/elf32.em: Print stacksize help.
diff --git a/ld/configure.in b/ld/configure.in
index 97a513360..34d1b9687 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -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])