From b48c61bccb90f21e146389b29828671551f381d1 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Tue, 2 May 2006 10:01:56 +0000 Subject: * 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. --- bfd/aout-ns32k.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bfd/aout-ns32k.c') diff --git a/bfd/aout-ns32k.c b/bfd/aout-ns32k.c index cc9f06d..86cdcd5 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; } -- cgit v1.1