summaryrefslogtreecommitdiff
path: root/bfd/elf32-dlx.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-05-02 10:01:56 +0000
committerBen Elliston <bje@au.ibm.com>2006-05-02 10:01:56 +0000
commitb48c61bccb90f21e146389b29828671551f381d1 (patch)
treec1ee39eb4fa6dacfc4b24347dae26c34e1c53b33 /bfd/elf32-dlx.c
parent63f2fc308398575e847c6137c241e47dbe36af6a (diff)
downloadbinutils-gdb-b48c61bccb90f21e146389b29828671551f381d1.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/elf32-dlx.c')
-rw-r--r--bfd/elf32-dlx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/bfd/elf32-dlx.c b/bfd/elf32-dlx.c
index ae42baf3a63..b1f6257641c 100644
--- a/bfd/elf32-dlx.c
+++ b/bfd/elf32-dlx.c
@@ -512,21 +512,15 @@ dlx_rtype_to_howto (unsigned int r_type)
{
case R_DLX_RELOC_16_PCREL:
return & elf_dlx_gnu_rel16_s2;
- break;
case R_DLX_RELOC_26_PCREL:
return & elf_dlx_gnu_rel26_s2;
- break;
case R_DLX_RELOC_16_HI:
return & elf_dlx_reloc_16_hi;
- break;
case R_DLX_RELOC_16_LO:
return & elf_dlx_reloc_16_lo;
- break;
-
default:
BFD_ASSERT (r_type < (unsigned int) R_DLX_max);
return & dlx_elf_howto_table[r_type];
- break;
}
}