* elf-m10300.c (mn10300_elf_relax_section): Don't test isym within

loop over hashes.
This commit is contained in:
Alexandre Oliva 2004-05-27 04:07:41 +00:00
parent d4e145e024
commit 9bb351fd9c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-05-27 Alexandre Oliva <aoliva@redhat.com>
* elf-m10300.c (mn10300_elf_relax_section): Don't test isym within
loop over hashes.
2004-05-26 Alan Modra <amodra@bigpond.net.au>
* elf.c (_bfd_elf_make_section_from_shdr): Don't set SEC_EXCLUDE

View File

@ -2057,7 +2057,7 @@ mn10300_elf_relax_section (abfd, sec, link_info, again)
if ((hash->root.root.type == bfd_link_hash_defined
|| hash->root.root.type == bfd_link_hash_defweak)
&& hash->root.root.u.def.section == section
&& ELF_ST_TYPE (isym->st_info) == STT_FUNC)
&& hash->root.type == STT_FUNC)
compute_function_info (input_bfd, hash,
(hash)->root.root.u.def.value,
contents);