aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>1999-07-19 09:11:14 +0000
committerAndreas Schwab <schwab@linux-m68k.org>1999-07-19 09:11:14 +0000
commita9602746fa290e999d3df58bb9281f80340bf5ac (patch)
tree079b362a740ee32b428e84e69a992761d1926def
parent31367b81b727a42f74fa5f2b0de05f31dc5f25ae (diff)
downloadgdb-a9602746fa290e999d3df58bb9281f80340bf5ac.zip
gdb-a9602746fa290e999d3df58bb9281f80340bf5ac.tar.gz
gdb-a9602746fa290e999d3df58bb9281f80340bf5ac.tar.bz2
* elflink.h (elf_bfd_final_link): Remove unused variables rel_hash
and rel_hdr.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elflink.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d278985..04fa927 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+1999-07-19 Andreas Schwab <schwab@suse.de>
+
+ * elflink.h (elf_bfd_final_link): Remove unused variables rel_hash
+ and rel_hdr.
+
Sat Jul 17 02:28:28 1999 Mark P. Mitchell <mark@codesourcery.com>
* elflink.h (elf_link_adjust_relocs): New function.
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 7591f64..1e88b63 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -4314,9 +4314,6 @@ elf_bfd_final_link (abfd, info)
/* Adjust the relocs to have the correct symbol indices. */
for (o = abfd->sections; o != NULL; o = o->next)
{
- struct elf_link_hash_entry **rel_hash;
- Elf_Internal_Shdr *rel_hdr;
-
if ((o->flags & SEC_RELOC) == 0)
continue;