aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-23 10:13:26 +0930
committerAlan Modra <amodra@gmail.com>2019-09-23 10:27:22 +0930
commit0ba9378a2ad073524f20e9637dac8369ef06c639 (patch)
tree76d22b93f35e98e4321b67d8fb8f6d9d394c585a /gas
parent0b4453c791106ab62011b59f97611f9ff21cda9f (diff)
downloadgdb-0ba9378a2ad073524f20e9637dac8369ef06c639.zip
gdb-0ba9378a2ad073524f20e9637dac8369ef06c639.tar.gz
gdb-0ba9378a2ad073524f20e9637dac8369ef06c639.tar.bz2
ecoff bfd.h tidy
bfd/ * bfd-in.h: Move ecoff function declarations.. * ecoff-bfd.h: ..to here, new file. * ecoff.c: Include ecoff-bfd.h. * ecofflink.c: Likewise. * elf64-alpha.c: Likewise. * elfxx-mips.c: Likewise. * bfd-in2.h: Regenerate. gas/ * config/obj-ecoff.c: Include ecoff-bfd.h. * config/obj-elf.c: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/obj-ecoff.c1
-rw-r--r--gas/config/obj-elf.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cab918a..764789b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2019-09-23 Alan Modra <amodra@gmail.com>
+ * config/obj-ecoff.c: Include ecoff-bfd.h.
+ * config/obj-elf.c: Likewise.
+
+2019-09-23 Alan Modra <amodra@gmail.com>
+
* config/tc-arm.c: Include cpu-arm.h.
2019-09-21 Alan Modra <amodra@gmail.com>
diff --git a/gas/config/obj-ecoff.c b/gas/config/obj-ecoff.c
index a5616f3..d8e4f40 100644
--- a/gas/config/obj-ecoff.c
+++ b/gas/config/obj-ecoff.c
@@ -25,6 +25,7 @@
#include "coff/internal.h"
#include "bfd/libcoff.h"
#include "bfd/libecoff.h"
+#include "bfd/ecoff-bfd.h"
/* Almost all of the ECOFF support is actually in ecoff.c in the main
gas directory. This file mostly just arranges to call that one at
diff --git a/gas/config/obj-elf.c b/gas/config/obj-elf.c
index 5629358..ee93628 100644
--- a/gas/config/obj-elf.c
+++ b/gas/config/obj-elf.c
@@ -33,6 +33,7 @@
#ifdef NEED_ECOFF_DEBUG
#include "ecoff.h"
+#include "bfd/ecoff-bfd.h"
#endif
#ifdef TC_ALPHA