From: Alan Modra Date: Mon, 23 Sep 2019 00:32:25 +0000 (+0930) Subject: ia64 bfd.h tidy X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3352ae9900037b231f9838e088af450a19bade17;p=binutils-gdb.git 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 61d31aaf974..a08cd7e20f0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2019-09-23 Alan Modra + + * bfd-in.h: Move ia64 function declarations.. + * elfxx-ia64.h: ..to here. + * bfd-in2.h: Regenerate. + 2019-09-23 Alan Modra * bfd-in.h: Move v850 function declarations.. diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index fe5e1681283..1d0262ffaec 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 6d92b89e2a5..88ca55011a2 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 915df820897..628cbf6a13c 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 fa5913e7bec..3eddd55ddf8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2019-09-23 Alan Modra + + * emultempl/ia64elf.em: Include elfxx-ia64.h. + 2019-09-23 Alan Modra * emultempl/v850elf.em: Include elf32-v850.h. diff --git a/ld/emultempl/ia64elf.em b/ld/emultempl/ia64elf.em index 59e1d8da79c..ae45956d770 100644 --- a/ld/emultempl/ia64elf.em +++ b/ld/emultempl/ia64elf.em @@ -27,6 +27,8 @@ # fragment <