This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Check limits.h and sys/param.h for ld
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Cc: Ralf dot Habacker at freenet dot de, cwilson at ece dot gatech dot edu
- Date: Mon, 23 Oct 2006 09:42:25 -0700
- Subject: PATCH: Check limits.h and sys/param.h for ld
http://sourceware.org/ml/binutils/2002-12/msg00396.html
tries to include limits.h and sys/param.h. But they are never tested
so that they are never incldued. I am checking this patch to fix it.
H.J.
----
2006-10-24 H.J. Lu <hongjiu.lu@intel.com>
* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
* configure: Regenerated.
* config.in: Likewise.
--- ld/configure.in.hdr 2006-07-10 07:30:41.000000000 -0700
+++ ld/configure.in 2006-10-23 09:31:34.000000000 -0700
@@ -100,7 +100,7 @@ AC_SUBST(HOSTING_CRT0)
AC_SUBST(HOSTING_LIBS)
AC_SUBST(NATIVE_LIB_DIRS)
-AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h elf-hints.h)
+AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h elf-hints.h limits.h sys/param.h)
AC_CHECK_FUNCS(sbrk realpath glob)
AC_HEADER_DIRENT