forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* vms.c -- BFD back-end for VAX (openVMS/VAX) and
|
||||
EVAX (openVMS/Alpha) files.
|
||||
Copyright 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
Copyright 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
||||
|
||||
Written by Klaus K"ampf (kkaempf@rmi.de)
|
||||
|
||||
@@ -357,8 +357,6 @@ static boolean
|
||||
vms_fixup_sections (abfd)
|
||||
bfd *abfd;
|
||||
{
|
||||
asection *s;
|
||||
|
||||
if (PRIV(fixup_done))
|
||||
return true;
|
||||
|
||||
@@ -646,7 +644,6 @@ vms_close_and_cleanup (abfd)
|
||||
{
|
||||
asection *sec;
|
||||
vms_section *es, *es1;
|
||||
vms_reloc *er, *er1;
|
||||
int i;
|
||||
|
||||
#if VMS_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user