From bbc3591f27a98c21be30376d2b1614c93d7f3d2a Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Mon, 11 Oct 2010 00:21:44 +0000 Subject: [PATCH] * elflink.c (_bfd_elf_link_output_relocs): Delete unused variable "output_rel_hdr". --- bfd/ChangeLog | 5 +++++ bfd/elflink.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4b9ba37d3..35b4ce896 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2010-10-11 Dave Korn + + * elflink.c (_bfd_elf_link_output_relocs): Delete unused variable + "output_rel_hdr". + 2010-10-09 John Tytgat * reloc.c (BFD_RELOC_ARM_HVC): Add. diff --git a/bfd/elflink.c b/bfd/elflink.c index cda897ebd..41fba17f1 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -2341,14 +2341,12 @@ _bfd_elf_link_output_relocs (bfd *output_bfd, Elf_Internal_Rela *irelaend; bfd_byte *erel; struct bfd_elf_section_reloc_data *output_reldata; - Elf_Internal_Shdr *output_rel_hdr; asection *output_section; const struct elf_backend_data *bed; void (*swap_out) (bfd *, const Elf_Internal_Rela *, bfd_byte *); struct bfd_elf_section_data *esdo; output_section = input_section->output_section; - output_rel_hdr = NULL; bed = get_elf_backend_data (output_bfd); esdo = elf_section_data (output_section); -- 2.11.4.GIT