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 | e049a0de5aa29277c6e42046a9fc960cce1ff6ed (patch) | |
tree | f864ee52079ac788bb502a42e361f8794a51aa13 /bfd/elf32-d10v.c | |
parent | 5d341b0e2a8e31c93bc32ce3d4ed447fcfb34c6f (diff) | |
download | binutils-e049a0de5aa29277c6e42046a9fc960cce1ff6ed.tar.gz binutils-e049a0de5aa29277c6e42046a9fc960cce1ff6ed.tar.bz2 binutils-e049a0de5aa29277c6e42046a9fc960cce1ff6ed.zip |
* 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/elf32-d10v.c')
-rw-r--r-- | bfd/elf32-d10v.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/elf32-d10v.c b/bfd/elf32-d10v.c index be80bae2e9b..07f120ec892 100644 --- a/bfd/elf32-d10v.c +++ b/bfd/elf32-d10v.c @@ -1,5 +1,5 @@ /* D10V-specific support for 32-bit ELF - Copyright (C) 1996 Free Software Foundation, Inc. + Copyright (C) 1996, 1998, 1999 Free Software Foundation, Inc. Contributed by Martin Hunt (hunt@cygnus.com). This file is part of BFD, the Binary File Descriptor library. @@ -267,6 +267,9 @@ elf32_d10v_gc_mark_hook (abfd, info, rel, h, sym) case bfd_link_hash_common: return h->root.u.c.p->section; + + default: + break; } } } |