aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-23 10:09:47 +0930
committerAlan Modra <amodra@gmail.com>2019-09-23 10:27:21 +0930
commitca05ca5e2d8c1628c37a335635dab4714f0d3bfe (patch)
tree65d60942742efeca064168b22d2a49f6d911cf79 /ld
parentobsoleted bfd.h tidy (diff)
downloadbinutils-gdb-ca05ca5e2d8c1628c37a335635dab4714f0d3bfe.tar.gz
binutils-gdb-ca05ca5e2d8c1628c37a335635dab4714f0d3bfe.tar.bz2
binutils-gdb-ca05ca5e2d8c1628c37a335635dab4714f0d3bfe.zip
cr16 bfd.h tidy
bfd/ * bfd-in.h: Move cr16 function declaration.. * elf32-cr16.h: ..to here, new file. * elf32-cr16.c: Include elf32-cr16.h. * bfd-in2.h: Regenerate. ld/ * emultempl/cr16elf.em: Include elf32-cr16.h.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/emultempl/cr16elf.em1
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 5a20bf06ccd..60a1fd6f025 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2019-09-23 Alan Modra <amodra@gmail.com>
+ * emultempl/cr16elf.em: Include elf32-cr16.h.
+
+2019-09-23 Alan Modra <amodra@gmail.com>
+
* emultempl/aix.em: Include xcofflink.h.
2019-09-23 Alan Modra <amodra@gmail.com>
diff --git a/ld/emultempl/cr16elf.em b/ld/emultempl/cr16elf.em
index 9cdd356e356..eb068804f92 100644
--- a/ld/emultempl/cr16elf.em
+++ b/ld/emultempl/cr16elf.em
@@ -26,6 +26,7 @@
fragment <<EOF
#include "ldctor.h"
+#include "elf32-cr16.h"
static void check_sections (bfd *, asection *, void *);