aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-04-26 14:47:00 +0000
committerAlan Modra <amodra@gmail.com>2007-04-26 14:47:00 +0000
commit3db64b009284dda3a1ce10a91beb1297475e60a7 (patch)
tree857667d21c6a9471c4a2288e1ee9644c1b3b3b56 /binutils/readelf.c
parent0c3e446c448c0681d859493c61603fc6aaad3489 (diff)
downloadgdb-3db64b009284dda3a1ce10a91beb1297475e60a7.zip
gdb-3db64b009284dda3a1ce10a91beb1297475e60a7.tar.gz
gdb-3db64b009284dda3a1ce10a91beb1297475e60a7.tar.bz2
bfd/
Many files: Include sysdep.h before bfd.h. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. binutils/ * bucumm.h: Split off host dependencies to.. * sysdep.h: ..here. Many files: Include sysdep.h. Remove duplicate headers and reorder. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ Many files: Include sysdep.h first. Remove duplicate headers. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. opcodes/ * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * ns32k-dis.c: Include sysdep.h first.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 000221e..14dbb52 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -41,10 +41,9 @@
ELF file than is provided by objdump. In particular it can display DWARF
debugging information which (at the moment) objdump cannot. */
+#include "sysdep.h"
#include <assert.h>
-#include <sys/types.h>
#include <sys/stat.h>
-#include <stdio.h>
#include <time.h>
/* for PATH_MAX */
@@ -74,6 +73,8 @@
#define BFD64
#endif
+#include "bfd.h"
+#include "bucomm.h"
#include "dwarf.h"
#include "elf/common.h"
@@ -154,7 +155,6 @@
#include "aout/ar.h"
-#include "bucomm.h"
#include "getopt.h"
#include "libiberty.h"