Lines Matching refs:isym
1341 Elf_Internal_Sym * isym; in mn10300_elf_check_relocs() local
1349 isym = isymbuf + r_symndx; in mn10300_elf_check_relocs()
1351 if (isym->st_shndx == SHN_ABS) in mn10300_elf_check_relocs()
2409 Elf_Internal_Sym *isym, *isymend; in mn10300_elf_relax_delete_bytes() local
2493 isym = (Elf_Internal_Sym *) symtab_hdr->contents; in mn10300_elf_relax_delete_bytes()
2494 for (isymend = isym + symtab_hdr->sh_info; isym < isymend; isym++) in mn10300_elf_relax_delete_bytes()
2496 if (isym->st_shndx == sec_shndx in mn10300_elf_relax_delete_bytes()
2497 && isym->st_value > addr in mn10300_elf_relax_delete_bytes()
2498 && isym->st_value < toaddr) in mn10300_elf_relax_delete_bytes()
2500 if (isym->st_value < addr + count) in mn10300_elf_relax_delete_bytes()
2501 isym->st_value = addr; in mn10300_elf_relax_delete_bytes()
2503 isym->st_value -= count; in mn10300_elf_relax_delete_bytes()
2506 else if (isym->st_shndx == sec_shndx in mn10300_elf_relax_delete_bytes()
2507 && ELF_ST_TYPE (isym->st_info) == STT_FUNC in mn10300_elf_relax_delete_bytes()
2508 && isym->st_value + isym->st_size > addr in mn10300_elf_relax_delete_bytes()
2509 && isym->st_value + isym->st_size < toaddr) in mn10300_elf_relax_delete_bytes()
2510 isym->st_size -= count; in mn10300_elf_relax_delete_bytes()
2571 Elf_Internal_Sym *isym, in mn10300_elf_symbol_address_p() argument
2585 for (isymend = isym + symtab_hdr->sh_info; isym < isymend; isym++) in mn10300_elf_symbol_address_p()
2586 if (isym->st_shndx == sec_shndx in mn10300_elf_symbol_address_p()
2587 && isym->st_value == addr) in mn10300_elf_symbol_address_p()
2761 Elf_Internal_Sym *isym; in mn10300_elf_relax_section() local
2765 isym = isymbuf + r_index; in mn10300_elf_relax_section()
2766 if (isym->st_shndx == SHN_UNDEF) in mn10300_elf_relax_section()
2768 else if (isym->st_shndx == SHN_ABS) in mn10300_elf_relax_section()
2770 else if (isym->st_shndx == SHN_COMMON) in mn10300_elf_relax_section()
2775 isym->st_shndx); in mn10300_elf_relax_section()
2781 isym->st_name); in mn10300_elf_relax_section()
2785 if (ELF_ST_TYPE (isym->st_info) != STT_FUNC) in mn10300_elf_relax_section()
2841 Elf_Internal_Sym *isym, *isymend; in mn10300_elf_relax_section() local
2858 for (isym = isymbuf; isym < isymend; isym++) in mn10300_elf_relax_section()
2860 if (isym->st_shndx == sec_shndx in mn10300_elf_relax_section()
2861 && ELF_ST_TYPE (isym->st_info) == STT_FUNC) in mn10300_elf_relax_section()
2876 && hash->root.root.u.def.value == isym->st_value) in mn10300_elf_relax_section()
2882 if (isym->st_shndx == SHN_UNDEF) in mn10300_elf_relax_section()
2884 else if (isym->st_shndx == SHN_ABS) in mn10300_elf_relax_section()
2886 else if (isym->st_shndx == SHN_COMMON) in mn10300_elf_relax_section()
2891 isym->st_shndx); in mn10300_elf_relax_section()
2895 isym->st_name)); in mn10300_elf_relax_section()
2913 isym->st_value, contents); in mn10300_elf_relax_section()
2914 hash->value = isym->st_value; in mn10300_elf_relax_section()
3046 Elf_Internal_Sym *isym, *isymend; in mn10300_elf_relax_section() local
3082 for (isym = isymbuf; isym < isymend; isym++) in mn10300_elf_relax_section()
3091 if (isym->st_shndx != sec_shndx) in mn10300_elf_relax_section()
3094 if (isym->st_shndx == SHN_UNDEF) in mn10300_elf_relax_section()
3096 else if (isym->st_shndx == SHN_ABS) in mn10300_elf_relax_section()
3098 else if (isym->st_shndx == SHN_COMMON) in mn10300_elf_relax_section()
3102 = bfd_section_from_elf_index (input_bfd, isym->st_shndx); in mn10300_elf_relax_section()
3107 isym->st_name); in mn10300_elf_relax_section()
3156 isym->st_value, in mn10300_elf_relax_section()
3370 Elf_Internal_Sym *isym; in mn10300_elf_relax_section() local
3375 isym = isymbuf + ELF32_R_SYM (irel->r_info); in mn10300_elf_relax_section()
3376 if (isym->st_shndx == SHN_UNDEF) in mn10300_elf_relax_section()
3378 else if (isym->st_shndx == SHN_ABS) in mn10300_elf_relax_section()
3380 else if (isym->st_shndx == SHN_COMMON) in mn10300_elf_relax_section()
3383 sym_sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in mn10300_elf_relax_section()
3387 isym->st_name); in mn10300_elf_relax_section()
3392 symval = isym->st_value; in mn10300_elf_relax_section()
3404 if (ELF_ST_TYPE (isym->st_info) == STT_SECTION) in mn10300_elf_relax_section()
3411 if (ELF_ST_TYPE (isym->st_info) != STT_SECTION) in mn10300_elf_relax_section()
3418 symval = (isym->st_value in mn10300_elf_relax_section()
4467 Elf_Internal_Sym *isym, *isymend; in mn10300_elf_get_relocated_section_contents() local
4493 for (isym = isymbuf, secpp = sections; isym < isymend; ++isym, ++secpp) in mn10300_elf_get_relocated_section_contents()
4497 if (isym->st_shndx == SHN_UNDEF) in mn10300_elf_get_relocated_section_contents()
4499 else if (isym->st_shndx == SHN_ABS) in mn10300_elf_get_relocated_section_contents()
4501 else if (isym->st_shndx == SHN_COMMON) in mn10300_elf_get_relocated_section_contents()
4504 isec = bfd_section_from_elf_index (input_bfd, isym->st_shndx); in mn10300_elf_get_relocated_section_contents()