From e049a0de5aa29277c6e42046a9fc960cce1ff6ed Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 12 Jul 1999 07:35:20 +0000 Subject: * Many files: Changes to avoid gcc warnings: Remove unused local variables. Add default case to enum switches. * coff-arm.c (bfd_arm_allocate_interworking_sections): Only compile if not COFF_IMAGE_WITH_PE. (record_arm_to_thumb_glue, record_thumb_to_arm_glue): Likewise. (bfd_arm_get_bfd_for_interworking): Likewise. (bfd_arm_process_before_allocation): Likewise. * epoc-pei-arm.c: Don't rename bfd_arm functions. * pei-arm.c: Likewise. * elf32-mips.c (mips_elf_link_hash_table_create): Don't declare. (MIPS_ELF_ADD_DYNAMIC_ENTRY): Correct last change. (mips_elf_got16_entry): Put parens around & in body of ==. (mips_elf_calculate_relocation): Correct test for empty string. * vms-gsd.c: Use _bfd_error_handler rather than fprintf to stderr. * vms-misc.c (_bfd_vms_length_hash_symbol): Correct sprintf format. --- bfd/pei-arm.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'bfd/pei-arm.c') diff --git a/bfd/pei-arm.c b/bfd/pei-arm.c index b04214a..4ba5b3a 100644 --- a/bfd/pei-arm.c +++ b/bfd/pei-arm.c @@ -33,13 +33,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define PCRELOFFSET true #define COFF_LONG_SECTION_NAMES -#ifndef bfd_arm_allocate_interworking_sections -#define bfd_arm_allocate_interworking_sections \ - bfd_arm_pe_allocate_interworking_sections -#define bfd_arm_get_bfd_for_interworking \ - bfd_arm_pe_get_bfd_for_interworking -#define bfd_arm_process_before_allocation \ - bfd_arm_pe_process_before_allocation -#endif - #include "coff-arm.c" -- cgit v1.1