diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-07-12 07:35:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-07-12 07:35:20 +0000 |
commit | df25848f787b2060ff12521f05130a58be70d49e (patch) | |
tree | 81f110ae47f038a76f8e9e9b3b8f61acf4723698 /bfd/vms-hdr.c | |
parent | 6e33f5bd2f6a0e4b30e5f050d45f0052b962e455 (diff) | |
download | gdb-df25848f787b2060ff12521f05130a58be70d49e.tar.gz |
* 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.
Diffstat (limited to 'bfd/vms-hdr.c')
-rw-r--r-- | bfd/vms-hdr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/vms-hdr.c b/bfd/vms-hdr.c index 01d20aabefa..e4ee546dd0e 100644 --- a/bfd/vms-hdr.c +++ b/bfd/vms-hdr.c @@ -1,6 +1,6 @@ /* vms-hdr.c -- BFD back-end for VMS/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. HDR record handling functions EMH record handling functions @@ -334,8 +334,6 @@ _bfd_vms_write_hdr (abfd, objtype) if (symbol->flags & BSF_FILE) { - char *s; - if (strncmp ((char *)symbol->name, "<CASE:", 6) == 0) { PRIV(flag_hash_long_names) = symbol->name[6] - '0'; |