Home
last modified time | relevance | path

Searched refs:isym (Results 1 – 25 of 33) sorted by relevance

12

/NextBSD/contrib/binutils/bfd/
HDcofflink.c1413 struct internal_syment isym; in _bfd_coff_link_input_bfd() local
1426 isym = *isymp; in _bfd_coff_link_input_bfd()
1428 classification = bfd_coff_classify_symbol (input_bfd, &isym); in _bfd_coff_link_input_bfd()
1436 *secpp = coff_section_from_bfd_index (input_bfd, isym.n_scnum); in _bfd_coff_link_input_bfd()
1459 add = 1 + isym.n_numaux; in _bfd_coff_link_input_bfd()
1479 if (! ISFCN (isym.n_type)) in _bfd_coff_link_input_bfd()
1503 && isym.n_sclass == C_STAT in _bfd_coff_link_input_bfd()
1504 && isym.n_type == T_NULL in _bfd_coff_link_input_bfd()
1505 && isym.n_numaux > 0 in _bfd_coff_link_input_bfd()
1517 && (isym.n_scnum == N_DEBUG in _bfd_coff_link_input_bfd()
[all …]
HDelf32-cr16.c680 Elf_Internal_Sym *isym; in elf32_cr16_relax_delete_bytes() local
712 isym = (Elf_Internal_Sym *) symtab_hdr->contents; in elf32_cr16_relax_delete_bytes()
713 for (isymend = isym + symtab_hdr->sh_info; isym < isymend; isym++) in elf32_cr16_relax_delete_bytes()
715 if (isym->st_shndx == sec_shndx in elf32_cr16_relax_delete_bytes()
716 && isym->st_value > addr in elf32_cr16_relax_delete_bytes()
717 && isym->st_value < toaddr) in elf32_cr16_relax_delete_bytes()
731 if (rsym != isym) in elf32_cr16_relax_delete_bytes()
734 addsym = isym->st_value; in elf32_cr16_relax_delete_bytes()
744 isym->st_value -= count; in elf32_cr16_relax_delete_bytes()
950 Elf_Internal_Sym *isym; in elf32_cr16_get_relocated_section_contents() local
[all …]
HDelflink.c606 1, input_indx, &entry->isym, esym, &eshndx)) in bfd_elf_link_record_local_dynamic_symbol()
612 if (entry->isym.st_shndx != SHN_UNDEF in bfd_elf_link_record_local_dynamic_symbol()
613 && (entry->isym.st_shndx < SHN_LORESERVE in bfd_elf_link_record_local_dynamic_symbol()
614 || entry->isym.st_shndx > SHN_HIRESERVE)) in bfd_elf_link_record_local_dynamic_symbol()
618 s = bfd_section_from_elf_index (input_bfd, entry->isym.st_shndx); in bfd_elf_link_record_local_dynamic_symbol()
630 entry->isym.st_name)); in bfd_elf_link_record_local_dynamic_symbol()
644 entry->isym.st_name = dynstr_index; in bfd_elf_link_record_local_dynamic_symbol()
655 entry->isym.st_info in bfd_elf_link_record_local_dynamic_symbol()
656 = ELF_ST_INFO (STB_LOCAL, ELF_ST_TYPE (entry->isym.st_info)); in bfd_elf_link_record_local_dynamic_symbol()
2911 Elf_Internal_Sym *isym; in elf_link_is_defined_archive_symbol() local
[all …]
HDxcofflink.c3466 struct internal_syment isym; in xcoff_link_input_bfd() local
3493 isym = *isymp; in xcoff_link_input_bfd()
3499 if (isym.n_sclass == C_EXT in xcoff_link_input_bfd()
3510 if (isym.n_scnum > 0) in xcoff_link_input_bfd()
3513 ldsym->l_value = (isym.n_value in xcoff_link_input_bfd()
3520 ldsym->l_scnum = isym.n_scnum; in xcoff_link_input_bfd()
3521 ldsym->l_value = isym.n_value; in xcoff_link_input_bfd()
3590 add = 1 + isym.n_numaux; in xcoff_link_input_bfd()
3623 + isym.n_value in xcoff_link_input_bfd()
3667 isym.n_value += tocadd; in xcoff_link_input_bfd()
[all …]
HDelfcode.h1114 Elf_Internal_Sym *isym; in elf_slurp_symbol_table() local
1204 for (isym = isymbuf + 1, sym = symbase; isym < isymend; isym++, sym++) in elf_slurp_symbol_table()
1206 memcpy (&sym->internal_elf_sym, isym, sizeof (Elf_Internal_Sym)); in elf_slurp_symbol_table()
1209 sym->symbol.name = bfd_elf_sym_name (abfd, hdr, isym, NULL); in elf_slurp_symbol_table()
1211 sym->symbol.value = isym->st_value; in elf_slurp_symbol_table()
1213 if (isym->st_shndx == SHN_UNDEF) in elf_slurp_symbol_table()
1217 else if (isym->st_shndx < SHN_LORESERVE in elf_slurp_symbol_table()
1218 || isym->st_shndx > SHN_HIRESERVE) in elf_slurp_symbol_table()
1221 isym->st_shndx); in elf_slurp_symbol_table()
1230 else if (isym->st_shndx == SHN_ABS) in elf_slurp_symbol_table()
[all …]
HDelf.c344 Elf_Internal_Sym *isym; in bfd_elf_get_elf_syms() local
409 for (esym = extsym_buf, isym = intsym_buf, shndx = extshndx_buf; in bfd_elf_get_elf_syms()
410 isym < isymend; in bfd_elf_get_elf_syms()
411 esym += extsym_size, isym++, shndx = shndx != NULL ? shndx + 1 : NULL) in bfd_elf_get_elf_syms()
412 if (!(*bed->s->swap_symbol_in) (ibfd, esym, shndx, isym)) in bfd_elf_get_elf_syms()
435 Elf_Internal_Sym *isym, in bfd_elf_sym_name() argument
439 unsigned int iname = isym->st_name; in bfd_elf_sym_name()
442 if (iname == 0 && ELF_ST_TYPE (isym->st_info) == STT_SECTION in bfd_elf_sym_name()
444 && isym->st_shndx < elf_numsections (abfd) in bfd_elf_sym_name()
445 && !(isym->st_shndx >= SHN_LORESERVE && isym->st_shndx <= SHN_HIRESERVE)) in bfd_elf_sym_name()
[all …]
HDecoffswap.h327 intern->isym = H_GET_32 (abfd, ext->p_isym); in ecoff_swap_pdr_in()
342 if (intern->isym == (signed long) 0xffffffff) in ecoff_swap_pdr_in()
343 intern->isym = -1; in ecoff_swap_pdr_in()
389 H_PUT_32 (abfd, intern->isym, ext->p_isym); in ecoff_swap_pdr_out()
HDcoffcode.h770 struct internal_syment isym; in handle_COMDAT() local
774 bfd_coff_swap_sym_in (abfd, esym, & isym); in handle_COMDAT()
783 if (isym.n_scnum == section->target_index) in handle_COMDAT()
810 symname = _bfd_coff_internal_syment_name (abfd, &isym, buf); in handle_COMDAT()
838 if (! (isym.n_sclass == C_STAT in handle_COMDAT()
839 && isym.n_type == T_NULL in handle_COMDAT()
840 && isym.n_value == 0)) in handle_COMDAT()
856 isym.n_type, isym.n_sclass, in handle_COMDAT()
857 0, isym.n_numaux, & aux); in handle_COMDAT()
943 esym += (isym.n_numaux + 1) * bfd_coff_symesz (abfd); in handle_COMDAT()
[all …]
HDelf64-alpha.c2063 const Elf_Internal_Sym *isym, in elf64_alpha_merge_symbol_attribute() argument
2069 | (isym->st_other & ~ELF_ST_VISIBILITY (-1))); in elf64_alpha_merge_symbol_attribute()
3699 Elf_Internal_Sym *isym; in elf64_alpha_relax_section() local
3713 isym = isymbuf + r_symndx; in elf64_alpha_relax_section()
3724 symval = isym->st_value; in elf64_alpha_relax_section()
3725 if (isym->st_shndx == SHN_UNDEF) in elf64_alpha_relax_section()
3727 else if (isym->st_shndx == SHN_ABS) in elf64_alpha_relax_section()
3729 else if (isym->st_shndx == SHN_COMMON) in elf64_alpha_relax_section()
3732 info.tsec = bfd_section_from_elf_index (abfd, isym->st_shndx); in elf64_alpha_relax_section()
3736 info.other = isym->st_other; in elf64_alpha_relax_section()
HDelfxx-ia64.c1008 Elf_Internal_Sym *isym; local
1022 isym = isymbuf + ELFNN_R_SYM (irel->r_info);
1023 if (isym->st_shndx == SHN_UNDEF)
1025 else if (isym->st_shndx == SHN_ABS)
1027 else if (isym->st_shndx == SHN_COMMON)
1029 else if (isym->st_shndx == SHN_IA_64_ANSI_COMMON)
1032 tsec = bfd_section_from_elf_index (abfd, isym->st_shndx);
1034 toff = isym->st_value;
1036 symtype = ELF_ST_TYPE (isym->st_info);
HDelfxx-sparc.c2369 entry->isym.st_value = reg < 2 ? reg + 2 : reg + 4; in _bfd_sparc_elf_size_dynamic_sections()
2370 entry->isym.st_size = 0; in _bfd_sparc_elf_size_dynamic_sections()
2372 entry->isym.st_name in _bfd_sparc_elf_size_dynamic_sections()
2375 entry->isym.st_name = 0; in _bfd_sparc_elf_size_dynamic_sections()
2376 entry->isym.st_other = 0; in _bfd_sparc_elf_size_dynamic_sections()
2377 entry->isym.st_info = ELF_ST_INFO (app_regs [reg].bind, in _bfd_sparc_elf_size_dynamic_sections()
2379 entry->isym.st_shndx = app_regs [reg].shndx; in _bfd_sparc_elf_size_dynamic_sections()
HDelf32-ppc.c5341 Elf_Internal_Sym *isym; in ppc_elf_relax_section() local
5354 isym = isymbuf + ELF32_R_SYM (irel->r_info); in ppc_elf_relax_section()
5355 if (isym->st_shndx == SHN_UNDEF) in ppc_elf_relax_section()
5357 else if (isym->st_shndx == SHN_ABS) in ppc_elf_relax_section()
5359 else if (isym->st_shndx == SHN_COMMON) in ppc_elf_relax_section()
5362 tsec = bfd_section_from_elf_index (abfd, isym->st_shndx); in ppc_elf_relax_section()
5364 toff = isym->st_value; in ppc_elf_relax_section()
5365 sym_type = ELF_ST_TYPE (isym->st_info); in ppc_elf_relax_section()
HDelfxx-mips.c1043 (*swap->swap_sym_in) (abfd, &esym[pdr.isym], &sym); in mips_elf_create_procedure_table()
6828 Elf_Internal_Sym *isym; in _bfd_mips_relax_section() local
6842 isym = isymbuf + r_symndx; in _bfd_mips_relax_section()
6843 if (isym->st_shndx == SHN_UNDEF) in _bfd_mips_relax_section()
6845 else if (isym->st_shndx == SHN_ABS) in _bfd_mips_relax_section()
6847 else if (isym->st_shndx == SHN_COMMON) in _bfd_mips_relax_section()
6851 = bfd_section_from_elf_index (abfd, isym->st_shndx); in _bfd_mips_relax_section()
6852 symval = isym->st_value in _bfd_mips_relax_section()
11413 const Elf_Internal_Sym *isym, in _bfd_mips_elf_merge_symbol_attribute() argument
11417 if ((isym->st_other & ~ELF_ST_VISIBILITY (-1)) != 0) in _bfd_mips_elf_merge_symbol_attribute()
[all …]
HDecofflink.c2216 if (pdr.isym == -1)
2225 + pdr.isym * debug_swap->external_ext_size),
2241 + ((fdr_ptr->isymBase + pdr.isym)
HDelf-bfd.h254 Elf_Internal_Sym isym; member
HDelf32-arm.c3304 Elf_Internal_Sym *isym = &isymbuf[i]; in bfd_elf32_arm_init_maps() local
3305 asection *sec = bfd_section_from_elf_index (abfd, isym->st_shndx); in bfd_elf32_arm_init_maps()
3309 && ELF_ST_BIND (isym->st_info) == STB_LOCAL) in bfd_elf32_arm_init_maps()
3312 hdr->sh_link, isym->st_name); in bfd_elf32_arm_init_maps()
3316 elf32_arm_section_map_add (sec, name[1], isym->st_value); in bfd_elf32_arm_init_maps()
/NextBSD/contrib/gdb/include/
HDhp-symtab.h1733 long isym; /* 0-based index of first symbol member
1772 long isym; /* 0-based index in $LNTT$ of member
1792 long isym; /* 0-based index of first member
1820 long isym; /* first symbol for label (index) */ member
1835 long isym; /* class symbol (tag) */ member
1862 long isym; /* class symbol */ member
/NextBSD/contrib/gcc/
HDmips-tdump.c453 if (u.isym == -1) in type_to_string()
907 printf (" First symbol: %ld\n", (long) aux_base[index].isym); in print_symbol()
932 (long) aux_base[index].isym, in print_symbol()
1043 (long) u.isym, in print_aux()
1068 ifd = u2.isym; in emit_aggregate()
1247 (long) l_symbols[proc_ptr->isym + fdp->isymBase].iss, in print_file_desc()
1248 l_symbols[proc_ptr->isym + fdp->isymBase].iss + str_base); in print_file_desc()
1263 (long) proc_ptr->isym); in print_file_desc()
1530 (long) aux_symbols[i].isym, in main()
1531 (long) aux_symbols[i].isym, in main()
HDmips-tfile.c1990 aux_ptr->isym = aux_word; in add_aux_sym_symint()
2070 hi = aux.isym & ((1 << HASHBITS) - 1); in add_aux_sym_tir()
2077 if (aux.isym == hash_ptr->type.isym) in add_aux_sym_tir()
2275 f_cur->ifd_ptr->isym = file_index; in add_unknown_tag()
2340 new_proc_ptr->isym = file_ptr->symbols.num_allocated; in add_procedure()
3277 symint_t isym = add_local_symbol (name_start, name_end_p1, in parse_def() local
3288 isym, in parse_def()
3303 f_cur->ifd_ptr->isym = file_index; in parse_def()
3304 f_cur->index_ptr->rndx.index = isym; in parse_def()
4609 SYMR *proc_sym = ORIG_LSYMS (fd_ptr->isymBase + proc->isym); in copy_object()
/NextBSD/contrib/binutils/gas/
HDecoff.c1811 aux_ptr->data.isym = aux_word; in add_aux_sym_symint()
1899 hi = aux.isym & ((1 << HASHBITS) - 1); in add_aux_sym_tir()
1906 if (aux.isym == hash_ptr->type.isym) in add_aux_sym_tir()
2134 new_proc_ptr->pdr.isym = -1; in add_procedure()
3896 long isym; in ecoff_build_symbols() local
3901 isym = 0; in ecoff_build_symbols()
3923 fil_ptr->fdr.isymBase = isym; in ecoff_build_symbols()
3924 ifilesym = isym; in ecoff_build_symbols()
4137 isym - ifilesym + 1; in ecoff_build_symbols()
4148 begin_ptr->index_ptr->data.isym = in ecoff_build_symbols()
[all …]
/NextBSD/contrib/binutils/include/coff/
HDsym.h158 long isym; /* start of local symbol entries */ member
347 long isym; /* symbol table index (end of proc) */ member
/NextBSD/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_link.c1226 size_t symsize, nsym, isym, istr, len; in process_obj() local
1378 isym = data_sym->d_size / symsize; in process_obj()
1406 if (dt_symtab_lookup(data_sym, isym, rela.r_offset, in process_obj()
1505 nsym += isym; in process_obj()
1568 if (dt_symtab_lookup(data_sym, isym, rela.r_offset, in process_obj()
1597 (void) gelf_update_sym(data_sym, isym, &dsym); in process_obj()
1602 isym++; in process_obj()
1603 assert(isym <= nsym); in process_obj()
/NextBSD/contrib/gdb/gdb/
HDmdebugread.c1881 if (pr->isym == -1) in parse_procedure()
1897 + (pr->isym in parse_procedure()
1910 + ((cur_fdr->isymBase + pr->isym) in parse_procedure()
1977 e->pdr.isym = (long) s; in parse_procedure()
2637 long isym; in parse_partial_symbols() local
2653 isym = AUX_GET_ISYM (fh->fBigendian, in parse_partial_symbols()
2659 + ((fh->isymBase + isym - 1) in parse_partial_symbols()
4858 e->pdr.isym = (long) s; in fixup_sigtramp()
HDhpread.c534 #define FILE_ISYM(i) (qFD[i].isym)
535 #define MODULE_ISYM(i) (qMD[i].isym)
536 #define PROC_ISYM(i) (qPD[i].isym)
551 #define CURR_FILE_ISYM (qFD[curr_fd].isym)
552 #define CURR_MODULE_ISYM (qMD[curr_md].isym)
553 #define CURR_PROC_ISYM (qPD[curr_pd].isym)
789 dn_bufp = hpread_get_lntt (qPD[curr_pd].isym, objfile); in scan_procs()
HDmips-tdep.c624 #define PROC_SYMBOL(proc) (*(struct symbol**)&(proc)->pdr.isym)
626 #define PROC_DESC_IS_DUMMY(proc) ((proc)->pdr.isym == _PROC_MAGIC_)
627 #define SET_PROC_DESC_IS_DUMMY(proc) ((proc)->pdr.isym = _PROC_MAGIC_)
2413 proc_desc->pdr.isym = (long) sym; in non_heuristic_proc_desc()

12