aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-23 10:02:25 +0930
committerAlan Modra <amodra@gmail.com>2019-09-23 10:27:21 +0930
commit3352ae9900037b231f9838e088af450a19bade17 (patch)
tree49a17e7be1eff2b77e6c94568a346f1d26b35151
parentd48d68b618f0950f63bdf2842a550384c0c58bc3 (diff)
downloadgdb-3352ae9900037b231f9838e088af450a19bade17.zip
gdb-3352ae9900037b231f9838e088af450a19bade17.tar.gz
gdb-3352ae9900037b231f9838e088af450a19bade17.tar.bz2
ia64 bfd.h tidy
bfd/ * bfd-in.h: Move ia64 function declarations.. * elfxx-ia64.h: ..to here. * bfd-in2.h: Regenerate. ld/ * emultempl/ia64elf.em: Include elfxx-ia64.h.
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/bfd-in.h7
-rw-r--r--bfd/bfd-in2.h7
-rw-r--r--bfd/elfxx-ia64.h7
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/emultempl/ia64elf.em2
6 files changed, 19 insertions, 14 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 61d31aa..a08cd7e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,11 @@
2019-09-23 Alan Modra <amodra@gmail.com>
+ * bfd-in.h: Move ia64 function declarations..
+ * elfxx-ia64.h: ..to here.
+ * bfd-in2.h: Regenerate.
+
+2019-09-23 Alan Modra <amodra@gmail.com>
+
* bfd-in.h: Move v850 function declarations..
* elf32-v850.h: ..to here, new file.
* elf32-v850.c: Include elf32-v850.h.
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index fe5e168..1d0262f 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -1005,10 +1005,3 @@ extern int bfd_ticoff_get_section_load_page
/* H8/300 functions. */
extern bfd_vma bfd_h8300_pad_address
(bfd *, bfd_vma);
-
-/* IA64 Itanium code generation. Called from linker. */
-extern void bfd_elf32_ia64_after_parse
- (int);
-
-extern void bfd_elf64_ia64_after_parse
- (int);
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 6d92b89..88ca550 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1012,13 +1012,6 @@ extern int bfd_ticoff_get_section_load_page
/* H8/300 functions. */
extern bfd_vma bfd_h8300_pad_address
(bfd *, bfd_vma);
-
-/* IA64 Itanium code generation. Called from linker. */
-extern void bfd_elf32_ia64_after_parse
- (int);
-
-extern void bfd_elf64_ia64_after_parse
- (int);
/* Extracted from init.c. */
unsigned int bfd_init (void);
diff --git a/bfd/elfxx-ia64.h b/bfd/elfxx-ia64.h
index 915df82..628cbf6 100644
--- a/bfd/elfxx-ia64.h
+++ b/bfd/elfxx-ia64.h
@@ -31,3 +31,10 @@ void ia64_elf_relax_ldxmov (bfd_byte *contents, bfd_vma off);
bfd_reloc_status_type ia64_elf_install_value (bfd_byte *hit_addr, bfd_vma v,
unsigned int r_type);
+
+/* IA64 Itanium code generation. Called from linker. */
+extern void bfd_elf32_ia64_after_parse
+ (int);
+
+extern void bfd_elf64_ia64_after_parse
+ (int);
diff --git a/ld/ChangeLog b/ld/ChangeLog
index fa5913e..3eddd55 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2019-09-23 Alan Modra <amodra@gmail.com>
+ * emultempl/ia64elf.em: Include elfxx-ia64.h.
+
+2019-09-23 Alan Modra <amodra@gmail.com>
+
* emultempl/v850elf.em: Include elf32-v850.h.
2019-09-23 Alan Modra <amodra@gmail.com>
diff --git a/ld/emultempl/ia64elf.em b/ld/emultempl/ia64elf.em
index 59e1d8d..ae45956 100644
--- a/ld/emultempl/ia64elf.em
+++ b/ld/emultempl/ia64elf.em
@@ -27,6 +27,8 @@
#
fragment <<EOF
+#include "elfxx-ia64.h"
+
/* None zero if generating binary for Intel Itanium processor. */
static int itanium = 0;