aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-11-05 10:45:32 +0000
committerAlan Modra <amodra@gmail.com>2012-11-05 10:45:32 +0000
commitd17dce55671e34440a65ad06713db7c3ad4114dd (patch)
treeba7de4ca288ea99b420c3e77a4d454ef75e08f5f /ld
parent3b8b57a9495016b2b02fbc2612dd1607d4b6f9ba (diff)
downloadgdb-d17dce55671e34440a65ad06713db7c3ad4114dd.zip
gdb-d17dce55671e34440a65ad06713db7c3ad4114dd.tar.gz
gdb-d17dce55671e34440a65ad06713db7c3ad4114dd.tar.bz2
* 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 3b86fcb..e327bbc 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 97a5133..34d1b96 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])