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 | b48c61bccb90f21e146389b29828671551f381d1 (patch) | |
tree | c1ee39eb4fa6dacfc4b24347dae26c34e1c53b33 /bfd/aout-ns32k.c | |
parent | 63f2fc308398575e847c6137c241e47dbe36af6a (diff) | |
download | gdb-b48c61bccb90f21e146389b29828671551f381d1.zip gdb-b48c61bccb90f21e146389b29828671551f381d1.tar.gz gdb-b48c61bccb90f21e146389b29828671551f381d1.tar.bz2 |
* 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 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; } |