aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2010-10-11 00:21:45 +0000
committerDave Korn <dave.korn@artimi.com>2010-10-11 00:21:45 +0000
commitfb41131eab5fac6b0c56a55971aadfd6cb946617 (patch)
treea6d038a76ae90ddb76408278a17876401d3057cc /bfd/elflink.c
parentb44435fc6753d81636866c49874588cb6603c2cd (diff)
downloadgdb-fb41131eab5fac6b0c56a55971aadfd6cb946617.zip
gdb-fb41131eab5fac6b0c56a55971aadfd6cb946617.tar.gz
gdb-fb41131eab5fac6b0c56a55971aadfd6cb946617.tar.bz2
* elflink.c (_bfd_elf_link_output_relocs): Delete unused variable
"output_rel_hdr".
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index cda897e..41fba17 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);