aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-23 10:08:33 +0930
committerAlan Modra <amodra@gmail.com>2019-09-23 10:27:21 +0930
commit6ea7de3237f0780065e6c17cd2d123792410c16b (patch)
tree8da7d99233218e9e42c9ff5c1a438751fa553adb /ld
parentaa739c59d3db95d1709b0417cdf7d082bfdea911 (diff)
downloadgdb-6ea7de3237f0780065e6c17cd2d123792410c16b.zip
gdb-6ea7de3237f0780065e6c17cd2d123792410c16b.tar.gz
gdb-6ea7de3237f0780065e6c17cd2d123792410c16b.tar.bz2
xcoff bfd.h tidy
bfd/ * bfd-in.h: Move xcoff function declarations.. * xcofflink.h: ..to here, new file. * xcofflink.c: Include xcofflink.h. * coff-rs6000.c (bfd_xcoff_ar_archive_set_magic): Delete unused func. * bfd-in2.h: Regenerate. ld/ * emultempl/aix.em: Include xcofflink.h.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/emultempl/aix.em1
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f0fcd20..5a20bf0 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2019-09-23 Alan Modra <amodra@gmail.com>
+ * emultempl/aix.em: Include xcofflink.h.
+
+2019-09-23 Alan Modra <amodra@gmail.com>
+
* emultempl/armelf.em: Include elf32-arm.h.
* emultempl/pe.em: Move func defines later and include coff-arm.h.
diff --git a/ld/emultempl/aix.em b/ld/emultempl/aix.em
index 1ce8376..96e84f9 100644
--- a/ld/emultempl/aix.em
+++ b/ld/emultempl/aix.em
@@ -55,6 +55,7 @@ fragment <<EOF
#include "coff/xcoff.h"
#include "libcoff.h"
#include "libxcoff.h"
+#include "xcofflink.h"
static void gld${EMULATION_NAME}_read_file (const char *, bfd_boolean);
static void gld${EMULATION_NAME}_free (void *);