diff options
author | Ben Elliston <bje@au.ibm.com> | 2006-05-02 10:01:56 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2006-05-02 10:01:56 +0000 |
commit | 72d35c5c4eaad8f379dde4d2aff89daef01afa00 (patch) | |
tree | 6ac5df29afe73944439117be405f97d26e663981 /bfd/aout-ns32k.c | |
parent | 32a5fc9852c1ef19e036851a3b7b7aa0ee9bdd64 (diff) | |
download | binutils-redhat-72d35c5c4eaad8f379dde4d2aff89daef01afa00.tar.gz |
* archive.c (bfd_generic_archive_p): Remove unused local variable
`fail'.
* dwarf2.c (decode_line_info): Remove unused local variable
`basic_block'.
* elfcode.h (elf_slurp_reloc_table_from_section): Remove unsed
local varibale `s'.
* tekhex.c (tekhex_write_object_contents): Remove unused local
variable `bytes_written'.
* aout-ns32k.c (MY_swap_std_reloc_out): Remove unused local
variable `r_addend'.
* elf32-dlx.c (dlx_rtype_to_howto): Remove breaks after returns.
* elfxx-mips.c (_bfd_elf_mips_mach): Remove breaks after returns.
(_bfd_ns32k_relocate_contents): Remove break after return.
* elf.c (bfd_section_from_shdr): Remove breaks after returns.
Diffstat (limited to 'bfd/aout-ns32k.c')
-rw-r--r-- | bfd/aout-ns32k.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bfd/aout-ns32k.c b/bfd/aout-ns32k.c index cc9f06d8da..86cdcd57cf 100644 --- a/bfd/aout-ns32k.c +++ b/bfd/aout-ns32k.c @@ -274,11 +274,8 @@ MY_swap_std_reloc_out (bfd *abfd, int r_index; asymbol *sym = *(g->sym_ptr_ptr); int r_extern; - unsigned int r_addend; asection *output_section = sym->section->output_section; - r_addend = g->addend + (*(g->sym_ptr_ptr))->section->output_section->vma; - /* Name was clobbered by aout_write_syms to be symbol index. */ /* If this relocation is relative to a symbol then set the @@ -341,7 +338,6 @@ _bfd_ns32k_relocate_contents (reloc_howto_type *howto, case 2: return _bfd_relocate_contents (howto, input_bfd, relocation, location); - break; default: return bfd_reloc_notsupported; } |