From 67e5d3d6d0da4d0e75691ba303d888beba273fb0 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 12 Jul 1999 11:06:03 +0000 Subject: [PATCH] * bfd-in.h: Remove tests of COFF_IMAGE_WITH_PE. * bfd-in2.h: Rebuild. --- bfd/ChangeLog | 6 ++++++ bfd/bfd-in.h | 25 ++++++++----------------- bfd/bfd-in2.h | 25 ++++++++----------------- 3 files changed, 22 insertions(+), 34 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0c7f909..7bec398 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 1999-07-12 Ian Lance Taylor + * Makefile.am: Rebuild dependencies. + * Makefile.in: Rebuild. + + * bfd-in.h: Remove tests of COFF_IMAGE_WITH_PE. + * bfd-in2.h: Rebuild. + * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED as appropriate. Use EMPTY_HOWTO as appropriate. Fill in structure initializations. Add casts. diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 9c983ba..b5ff7dd 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -705,32 +705,23 @@ extern boolean bfd_coff_set_symbol_class PARAMS ((bfd *, struct symbol_cache_entry *, unsigned int)); /* ARM Interworking support. Called from linker. */ -#ifdef COFF_IMAGE_WITH_PE -static -#endif extern boolean bfd_arm_allocate_interworking_sections PARAMS ((struct bfd_link_info *)); -#ifdef COFF_IMAGE_WITH_PE -static -#endif extern boolean bfd_arm_process_before_allocation PARAMS ((bfd *, struct bfd_link_info *, int)); -#ifdef COFF_IMAGE_WITH_PE -static -#endif extern boolean bfd_arm_get_bfd_for_interworking PARAMS ((bfd *, struct bfd_link_info *)); /* ELF ARM Interworking support. Called from linker. */ - extern boolean bfd_elf32_arm_allocate_interworking_sections - PARAMS ((struct bfd_link_info *)); - - extern boolean bfd_elf32_arm_process_before_allocation - PARAMS ((bfd *, struct bfd_link_info *, int)); - - extern boolean bfd_elf32_arm_get_bfd_for_interworking - PARAMS ((bfd *, struct bfd_link_info *)); +extern boolean bfd_elf32_arm_allocate_interworking_sections + PARAMS ((struct bfd_link_info *)); + +extern boolean bfd_elf32_arm_process_before_allocation + PARAMS ((bfd *, struct bfd_link_info *, int)); + +extern boolean bfd_elf32_arm_get_bfd_for_interworking + PARAMS ((bfd *, struct bfd_link_info *)); /* And more from the source. */ diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 70e6cdd..cbf883d 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -705,33 +705,24 @@ extern boolean bfd_coff_set_symbol_class PARAMS ((bfd *, struct symbol_cache_entry *, unsigned int)); /* ARM Interworking support. Called from linker. */ -#ifdef COFF_IMAGE_WITH_PE -static -#endif extern boolean bfd_arm_allocate_interworking_sections PARAMS ((struct bfd_link_info *)); -#ifdef COFF_IMAGE_WITH_PE -static -#endif extern boolean bfd_arm_process_before_allocation PARAMS ((bfd *, struct bfd_link_info *, int)); -#ifdef COFF_IMAGE_WITH_PE -static -#endif extern boolean bfd_arm_get_bfd_for_interworking PARAMS ((bfd *, struct bfd_link_info *)); /* ELF ARM Interworking support. Called from linker. */ - extern boolean bfd_elf32_arm_allocate_interworking_sections - PARAMS ((struct bfd_link_info *)); - - extern boolean bfd_elf32_arm_process_before_allocation - PARAMS ((bfd *, struct bfd_link_info *, int)); - - extern boolean bfd_elf32_arm_get_bfd_for_interworking - PARAMS ((bfd *, struct bfd_link_info *)); +extern boolean bfd_elf32_arm_allocate_interworking_sections + PARAMS ((struct bfd_link_info *)); + +extern boolean bfd_elf32_arm_process_before_allocation + PARAMS ((bfd *, struct bfd_link_info *, int)); + +extern boolean bfd_elf32_arm_get_bfd_for_interworking + PARAMS ((bfd *, struct bfd_link_info *)); /* And more from the source. */ void -- 2.7.4