* elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
from input_bfd.
This commit is contained in:
parent
e5c113a1de
commit
709e685dff
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
2003-07-28 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf.c (special_sections): Set attributes for .got and .plt.
|
* elf.c (special_sections): Set attributes for .got and .plt.
|
||||||
|
|
|
@ -2065,7 +2065,7 @@ mn10300_elf_relax_section (abfd, sec, link_info, again)
|
||||||
|
|
||||||
symcount = (symtab_hdr->sh_size / sizeof (Elf32_External_Sym)
|
symcount = (symtab_hdr->sh_size / sizeof (Elf32_External_Sym)
|
||||||
- symtab_hdr->sh_info);
|
- symtab_hdr->sh_info);
|
||||||
hashes = elf_sym_hashes (abfd);
|
hashes = elf_sym_hashes (input_bfd);
|
||||||
end_hashes = hashes + symcount;
|
end_hashes = hashes + symcount;
|
||||||
for (; hashes < end_hashes; hashes++)
|
for (; hashes < end_hashes; hashes++)
|
||||||
{
|
{
|
||||||
|
@ -2283,7 +2283,7 @@ mn10300_elf_relax_section (abfd, sec, link_info, again)
|
||||||
need insns deleted from their prologues. */
|
need insns deleted from their prologues. */
|
||||||
symcount = (symtab_hdr->sh_size / sizeof (Elf32_External_Sym)
|
symcount = (symtab_hdr->sh_size / sizeof (Elf32_External_Sym)
|
||||||
- symtab_hdr->sh_info);
|
- symtab_hdr->sh_info);
|
||||||
hashes = elf_sym_hashes (abfd);
|
hashes = elf_sym_hashes (input_bfd);
|
||||||
end_hashes = hashes + symcount;
|
end_hashes = hashes + symcount;
|
||||||
for (; hashes < end_hashes; hashes++)
|
for (; hashes < end_hashes; hashes++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue