aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-23 10:00:21 +0930
committerAlan Modra <amodra@gmail.com>2019-09-23 10:27:20 +0930
commit7beeaeb8c6d84ecc899b9454d9b92521e515fe4a (patch)
tree1e93fb187daaaf4581866a0151a4a7cdc0750b9d /opcodes/mips-dis.c
parentcsky bfd.h tidy (diff)
downloadbinutils-gdb-7beeaeb8c6d84ecc899b9454d9b92521e515fe4a.tar.gz
binutils-gdb-7beeaeb8c6d84ecc899b9454d9b92521e515fe4a.tar.bz2
binutils-gdb-7beeaeb8c6d84ecc899b9454d9b92521e515fe4a.zip
mips bfd.h tidy
bfd/ * bfd-in.h: Move mips function declaration to.. * elfxx-mips.h: ..here. * bfd-in2.h: Regenerate. opcodes/ * mips-dis.c: Include elfxx-mips.h. Move "elf-bfd.h" and "elf/mips.h" earlier.
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r--opcodes/mips-dis.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
index 5bf33d9f8fd..84188418421 100644
--- a/opcodes/mips-dis.c
+++ b/opcodes/mips-dis.c
@@ -24,6 +24,9 @@
#include "libiberty.h"
#include "opcode/mips.h"
#include "opintl.h"
+#include "elf-bfd.h"
+#include "elf/mips.h"
+#include "elfxx-mips.h"
/* FIXME: These are needed to figure out if the code is mips16 or
not. The low bit of the address is often a good indicator. No
@@ -32,8 +35,6 @@
#if !defined(EMBEDDED_ENV)
#define SYMTAB_AVAILABLE 1
-#include "elf-bfd.h"
-#include "elf/mips.h"
#endif
/* Mips instructions are at maximum this many bytes long. */