Lines Matching refs:sy
2969 Elf_Internal_Sym *syms, *sy, **psyms, **psy; in discover_functions() local
3012 for (psy = psyms, p = psecs, sy = syms; sy < syms + symcount; ++p, ++sy) in discover_functions()
3013 if (ELF_ST_TYPE (sy->st_info) == STT_NOTYPE in discover_functions()
3014 || ELF_ST_TYPE (sy->st_info) == STT_FUNC) in discover_functions()
3018 *p = s = bfd_section_from_elf_index (ibfd, sy->st_shndx); in discover_functions()
3020 *psy++ = sy; in discover_functions()
3051 sy = *psy; in discover_functions()
3052 if (ELF_ST_TYPE (sy->st_info) == STT_FUNC) in discover_functions()
3054 asection *s = psecs[sy - syms]; in discover_functions()
3055 if (!maybe_insert_function (s, sy, FALSE, TRUE)) in discover_functions()
3089 Elf_Internal_Sym *syms, *sy, **psyms, **psy; in discover_functions() local
3108 for (psy = psyms; (sy = *psy) != NULL; ++psy) in discover_functions()
3112 s = psecs[sy - syms]; in discover_functions()
3115 if (ELF_ST_TYPE (sy->st_info) != STT_FUNC in discover_functions()
3116 && ELF_ST_BIND (sy->st_info) == STB_GLOBAL) in discover_functions()
3118 if (!maybe_insert_function (s, sy, FALSE, FALSE)) in discover_functions()