aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-02-09 04:51:44 +0000
committerAlan Modra <amodra@gmail.com>2012-02-09 04:51:44 +0000
commitdbb7c4414b09c017dafc73b63de13640f19c5735 (patch)
tree30dbe64359e2a5268fcdf11ec4efbed4a923023a /binutils/readelf.c
parent34d3dcbff2967840b901fd1eb287d31c29b5b0e4 (diff)
downloadgdb-dbb7c4414b09c017dafc73b63de13640f19c5735.zip
gdb-dbb7c4414b09c017dafc73b63de13640f19c5735.tar.gz
gdb-dbb7c4414b09c017dafc73b63de13640f19c5735.tar.bz2
* sysdep.h: Include sys/stat.h here.
* ar.c: Don't include headers already included by sysdep.h. * bucomm.c: Likewise. * budbg.h: Likewise. * dlltool.h: Likewise. * elfedit.c: Likewise. * nlmconv.c: Likewise. * objcopy.c: Likewise. * objdump.c: Likewise. * objdump.h: Likewise. * readelf.c: Likewise. * rename.c: Likewise. * resrc.c: Likewise. * strings.c: Likewise. * windres.c: Likewise. * od-macho.c: Ensure #include sysdep.h is first. * od-xcoff.c: Likewise. * dllwrap.c: Remove alloca pragma handled by sysdep.h, and remove duplicate headers. * dlltool.c: Likewise and ensure #include sysdep.h is first.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 3ade53e..560df7a 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -42,10 +42,8 @@
ELF file than is provided by objdump. In particular it can display DWARF
debugging information which (at the moment) objdump cannot. */
-#include "config.h"
#include "sysdep.h"
#include <assert.h>
-#include <sys/stat.h>
#include <time.h>
#ifdef HAVE_ZLIB_H
#include <zlib.h>