diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-02-03 15:48:50 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-02-03 15:48:50 +0000 |
commit | 0dafdf3fdf89c80c00904b699ff167ec1a292dec (patch) | |
tree | 0b0c265ae270a69f80a693e37ce883e3b724180a /binutils/readelf.c | |
parent | 34a0278d91d5af416424049a8a7a89b60b62ed18 (diff) | |
download | gdb-0dafdf3fdf89c80c00904b699ff167ec1a292dec.zip gdb-0dafdf3fdf89c80c00904b699ff167ec1a292dec.tar.gz gdb-0dafdf3fdf89c80c00904b699ff167ec1a292dec.tar.bz2 |
2009-02-03 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/9784
* NEWS: Mention --prefix=PREFIX and --prefix-strip=LEVEL.
* doc/binutils.texi: Document --prefix=PREFIX and
--prefix-strip=LEVEL.
* objdump.c: Include "filenames.h".
(prefix): New.
(prefix_strip): Likewise.
(prefix_length): Likewise.
(usage): Add --prefix=PREFIX and --prefix-strip=LEVEL.
(option_values): Add OPTION_PREFIX and OPTION_PREFIX_STRIP.
(long_options): Likewise.
(show_line): Handle prefix and prefix_strip.
(main): Handle OPTION_PREFIX and OPTION_PREFIX_STRIP.
* readelf.c (PATH_MAX): Moved to ...
* sysdep.h: Here.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 38da0b6..d1b3e24 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -50,25 +50,6 @@ #include <zlib.h> #endif -/* For PATH_MAX. */ -#ifdef HAVE_LIMITS_H -#include <limits.h> -#endif - -#ifndef PATH_MAX -/* For MAXPATHLEN. */ -# ifdef HAVE_SYS_PARAM_H -# include <sys/param.h> -# endif -# ifndef PATH_MAX -# ifdef MAXPATHLEN -# define PATH_MAX MAXPATHLEN -# else -# define PATH_MAX 1024 -# endif -# endif -#endif - #if __GNUC__ >= 2 /* Define BFD64 here, even if our default architecture is 32 bit ELF as this will allow us to read in and parse 64bit and 32bit ELF files. |