aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-m10300.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-07-29 06:18:40 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-07-29 06:18:40 +0000
commit709e685dff869dbeda46e05f6bd886c62575357d (patch)
tree03ecffcebacdfe8190ed9c9a64bc113c065b316f /bfd/elf-m10300.c
parente5c113a1dec87039910f29f07dab5fd332989cc2 (diff)
downloadgdb-709e685dff869dbeda46e05f6bd886c62575357d.zip
gdb-709e685dff869dbeda46e05f6bd886c62575357d.tar.gz
gdb-709e685dff869dbeda46e05f6bd886c62575357d.tar.bz2
* elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
from input_bfd.
Diffstat (limited to 'bfd/elf-m10300.c')
-rw-r--r--bfd/elf-m10300.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf-m10300.c b/bfd/elf-m10300.c
index 1c243da..0d68fe5 100644
--- a/bfd/elf-m10300.c
+++ b/bfd/elf-m10300.c
@@ -2065,7 +2065,7 @@ mn10300_elf_relax_section (abfd, sec, link_info, again)
symcount = (symtab_hdr->sh_size / sizeof (Elf32_External_Sym)
- symtab_hdr->sh_info);
- hashes = elf_sym_hashes (abfd);
+ hashes = elf_sym_hashes (input_bfd);
end_hashes = hashes + symcount;
for (; hashes < end_hashes; hashes++)
{
@@ -2283,7 +2283,7 @@ mn10300_elf_relax_section (abfd, sec, link_info, again)
need insns deleted from their prologues. */
symcount = (symtab_hdr->sh_size / sizeof (Elf32_External_Sym)
- symtab_hdr->sh_info);
- hashes = elf_sym_hashes (abfd);
+ hashes = elf_sym_hashes (input_bfd);
end_hashes = hashes + symcount;
for (; hashes < end_hashes; hashes++)
{