* elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 29 Jul 2003 06:18:40 +0000 (06:18 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 29 Jul 2003 06:18:40 +0000 (06:18 +0000)
from input_bfd.

bfd/ChangeLog
bfd/elf-m10300.c

index 0aa4e09f1aed94d6edcfe4a19854d0b187bc8a0b..5d7aeeb7f501d789124c3e55e6f21b9b3e730434 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-29  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
+       from input_bfd.
+
 2003-07-28  Alan Modra  <amodra@bigpond.net.au>
 
        * elf.c (special_sections): Set attributes for .got and .plt.
index 1c243dac236f612b329152d80b298ccbffd19457..0d68fe5119b70e14ec0bf4051e1ef1f3b107cbfd 100644 (file)
@@ -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++)
                {