aboutsummaryrefslogtreecommitdiff
path: root/bfd/ecofflink.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-05-04 05:05:25 +0000
committerBen Elliston <bje@au.ibm.com>2006-05-04 05:05:25 +0000
commit9578239d3edd0341cca6686bdf89ba9f5a1cd9f7 (patch)
treeadbc992b8c6d413b1aa379e1723a5dcb36310a6f /bfd/ecofflink.c
parent251533c9556bbb894524588ff15ed02ce645f264 (diff)
downloadgdb-9578239d3edd0341cca6686bdf89ba9f5a1cd9f7.zip
gdb-9578239d3edd0341cca6686bdf89ba9f5a1cd9f7.tar.gz
gdb-9578239d3edd0341cca6686bdf89ba9f5a1cd9f7.tar.bz2
* coff-or32.c (bfd_section_from_shdr): Remove unused local
variable `ptr'. * cofflink.c (process_embedded_commands): Remove unused local variables `had_read' and `had_shared'. * ecofflink.c (bfd_ecoff_debug_accumulate): Remove unused local variable `fdr_adr'. * ihex.c (ihex_read_section): Remove unused local variable `addr'.
Diffstat (limited to 'bfd/ecofflink.c')
-rw-r--r--bfd/ecofflink.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/ecofflink.c b/bfd/ecofflink.c
index 4246e94..d3d79b4 100644
--- a/bfd/ecofflink.c
+++ b/bfd/ecofflink.c
@@ -782,7 +782,6 @@ bfd_ecoff_debug_accumulate (handle, output_bfd, output_debug, output_swap,
fdr_ptr += fdr_add, i++)
{
FDR fdr;
- bfd_vma fdr_adr;
bfd_byte *sym_out;
bfd_byte *lraw_src;
bfd_byte *lraw_end;
@@ -799,8 +798,6 @@ bfd_ecoff_debug_accumulate (handle, output_bfd, output_debug, output_swap,
else
(*input_swap->swap_fdr_in) (input_bfd, (PTR) fdr_ptr, &fdr);
- fdr_adr = fdr.adr;
-
/* FIXME: It is conceivable that this FDR points to the .init or
.fini section, in which case this will not do the right
thing. */