* elf-m10300.c (mn10300_elf_relax_section): Don't test isym within
[deliverable/binutils-gdb.git] / bfd / elf-m10300.c
index c64d34f4e258f02235639510ef94034111cb154c..ba204f4093f39f5a03902a891f6f996c38caa125 100644 (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);
This page took 0.024231 seconds and 4 git commands to generate.