diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2006-10-29 19:18:47 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2006-10-29 19:18:47 +0000 |
commit | 13a09c7cb443b62dfcf78277110ee3bc6a29fa97 (patch) | |
tree | bd6d5beb256f81de0725b625b5c9ac5db93bbafd | |
parent | f8eae8b28b412fc8d9c8bad1961447652a306dd2 (diff) | |
download | gdb-13a09c7cb443b62dfcf78277110ee3bc6a29fa97.zip gdb-13a09c7cb443b62dfcf78277110ee3bc6a29fa97.tar.gz gdb-13a09c7cb443b62dfcf78277110ee3bc6a29fa97.tar.bz2 |
2006-10-29 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3384
* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
* configure: Regenerated.
* config.in: Likewise.
* readelf.c: Include <limits.h> and <sys/param.h> for PATH_MAX.
(program_interpreter): Allocate PATH_MAX bytes instead of 64.
(process_program_headers): Don't assume that program interpreter
is shorter than 64 characters.
-rw-r--r-- | binutils/config.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/config.in b/binutils/config.in index 2194c7a..e3a178b 100644 --- a/binutils/config.in +++ b/binutils/config.in @@ -79,6 +79,9 @@ /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H +/* Define to 1 if you have the <limits.h> header file. */ +#undef HAVE_LIMITS_H + /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H @@ -115,6 +118,9 @@ /* Define to 1 if you have the <sys/file.h> header file. */ #undef HAVE_SYS_FILE_H +/* Define to 1 if you have the <sys/param.h> header file. */ +#undef HAVE_SYS_PARAM_H + /* Define to 1 if you have the <sys/stat.h> header file. */ #undef HAVE_SYS_STAT_H |