Home
last modified time | relevance | path

Searched refs:n_scnum (Results 1 – 25 of 57) sorted by relevance

123

/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dcoffgrok.c220 if (sym->n_scnum == -1) in do_where()
221 sym->n_scnum = 0; in do_where()
249 if (sym->n_scnum >= ofile->nsections || sym->n_scnum < 0) in do_where()
252 sym->n_scnum); in do_where()
256 where->section = &ofile->sections[sym->n_scnum]; in do_where()
616 if (sym->n_scnum == N_UNDEF) in do_visible()
782 if (sym->n_scnum < ofile->nsections && sym->n_scnum >= 0) in doit()
783 top_scope->sec = ofile->sections + sym->n_scnum; in doit()
809 if (sym->n_scnum < ofile->nsections && sym->n_scnum >= 0) in doit()
810 top_scope->sec = ofile->sections + sym->n_scnum; in doit()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dcoffgrok.c220 if (sym->n_scnum == -1) in do_where()
221 sym->n_scnum = 0; in do_where()
249 if (sym->n_scnum >= ofile->nsections || sym->n_scnum < 0) in do_where()
252 sym->n_scnum); in do_where()
256 where->section = &ofile->sections[sym->n_scnum]; in do_where()
596 if (sym->n_scnum == N_UNDEF) in do_visible()
762 if (sym->n_scnum < ofile->nsections && sym->n_scnum >= 0) in doit()
763 top_scope->sec = ofile->sections + sym->n_scnum; in doit()
789 if (sym->n_scnum < ofile->nsections && sym->n_scnum >= 0) in doit()
790 top_scope->sec = ofile->sections + sym->n_scnum; in doit()
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dsimple-object-xcoff.c165 unsigned char n_scnum[2]; member
508 short n_scnum; in simple_object_xcoff_find_sections() local
537 n_scnum = fetch_16 (sym + offsetof (struct external_syment, in simple_object_xcoff_find_sections()
538 n_scnum)); in simple_object_xcoff_find_sections()
539 if (n_scnum < 1 || (unsigned int) n_scnum > nscns) in simple_object_xcoff_find_sections()
629 scnhdr = scnbuf + (n_scnum - 1) * scnhdr_size; in simple_object_xcoff_find_sections()
956 set_16 (&syms[0].sym.n_scnum[0], N_DEBUG); in simple_object_xcoff_write_to_file()
1002 set_16 (&syms[0].sym.n_scnum[0], secnum++); in simple_object_xcoff_write_to_file()
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dsimple-object-xcoff.c165 unsigned char n_scnum[2]; member
508 short n_scnum; in simple_object_xcoff_find_sections() local
537 n_scnum = fetch_16 (sym + offsetof (struct external_syment, in simple_object_xcoff_find_sections()
538 n_scnum)); in simple_object_xcoff_find_sections()
539 if (n_scnum < 1 || (unsigned int) n_scnum > nscns) in simple_object_xcoff_find_sections()
629 scnhdr = scnbuf + (n_scnum - 1) * scnhdr_size; in simple_object_xcoff_find_sections()
956 set_16 (&syms[0].sym.n_scnum[0], N_DEBUG); in simple_object_xcoff_write_to_file()
1002 set_16 (&syms[0].sym.n_scnum[0], secnum++); in simple_object_xcoff_write_to_file()
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dsimple-object-xcoff.c165 unsigned char n_scnum[2]; member
508 short n_scnum; in simple_object_xcoff_find_sections() local
537 n_scnum = fetch_16 (sym + offsetof (struct external_syment, in simple_object_xcoff_find_sections()
538 n_scnum)); in simple_object_xcoff_find_sections()
539 if (n_scnum < 1 || (unsigned int) n_scnum > nscns) in simple_object_xcoff_find_sections()
629 scnhdr = scnbuf + (n_scnum - 1) * scnhdr_size; in simple_object_xcoff_find_sections()
956 set_16 (&syms[0].sym.n_scnum[0], N_DEBUG); in simple_object_xcoff_write_to_file()
1002 set_16 (&syms[0].sym.n_scnum[0], secnum++); in simple_object_xcoff_write_to_file()
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dsimple-object-xcoff.c165 unsigned char n_scnum[2]; member
508 short n_scnum; in simple_object_xcoff_find_sections() local
537 n_scnum = fetch_16 (sym + offsetof (struct external_syment, in simple_object_xcoff_find_sections()
538 n_scnum)); in simple_object_xcoff_find_sections()
539 if (n_scnum < 1 || (unsigned int) n_scnum > nscns) in simple_object_xcoff_find_sections()
629 scnhdr = scnbuf + (n_scnum - 1) * scnhdr_size; in simple_object_xcoff_find_sections()
956 set_16 (&syms[0].sym.n_scnum[0], N_DEBUG); in simple_object_xcoff_write_to_file()
1002 set_16 (&syms[0].sym.n_scnum[0], secnum++); in simple_object_xcoff_write_to_file()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dcollect2-aix.h218 char n_scnum[2]; member
256 short n_scnum; member
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dcollect2-aix.h218 char n_scnum[2]; member
256 short n_scnum; member
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dcoffgen.c642 syment->n_scnum = N_UNDEF; in fixup_symbol_value()
652 syment->n_scnum = N_UNDEF; in fixup_symbol_value()
660 syment->n_scnum = in fixup_symbol_value()
676 syment->n_scnum = N_ABS; in fixup_symbol_value()
1020 native->u.syment.n_scnum = N_DEBUG; in coff_write_symbol()
1023 native->u.syment.n_scnum = N_ABS; in coff_write_symbol()
1026 native->u.syment.n_scnum = N_UNDEF; in coff_write_symbol()
1029 native->u.syment.n_scnum = in coff_write_symbol()
1123 native->u.syment.n_scnum = N_UNDEF; in coff_write_alien_symbol()
1128 native->u.syment.n_scnum = N_UNDEF; in coff_write_alien_symbol()
[all …]
H A Dcoff-i386.c404 && coffsym->native->u.syment.n_scnum == 0) \
549 if (sym != NULL && sym->n_scnum == 0 && sym->n_value != 0) in coff_i386_rtype_to_howto()
590 if (sym != NULL && sym->n_scnum != 0) in coff_i386_rtype_to_howto()
622 for (s = abfd->sections, i = 1; i < sym->n_scnum; i++) in coff_i386_rtype_to_howto()
H A Dcoff-x86_64.c542 && coffsym->native->u.syment.n_scnum == 0) \
689 if (sym != NULL && sym->n_scnum == 0 && sym->n_value != 0) in coff_amd64_rtype_to_howto()
734 if (sym != NULL && sym->n_scnum != 0) in coff_amd64_rtype_to_howto()
756 for (s = abfd->sections, i = 1; i < sym->n_scnum; i++) in coff_amd64_rtype_to_howto()
H A Dcofflink.c319 section = coff_section_from_bfd_index (abfd, sym.n_scnum); in coff_link_add_symbols()
341 section = coff_section_from_bfd_index (abfd, sym.n_scnum); in coff_link_add_symbols()
450 || sym.n_scnum != 0 in coff_link_add_symbols()
1445 *secpp = coff_section_from_bfd_index (input_bfd, isym.n_scnum); in _bfd_coff_link_input_bfd()
1528 && (isym.n_scnum == N_DEBUG in _bfd_coff_link_input_bfd()
1529 || (isym.n_scnum == N_ABS in _bfd_coff_link_input_bfd()
1778 && isym.n_scnum > 0) in _bfd_coff_link_input_bfd()
1784 isym.n_scnum = (*secpp)->output_section->target_index; in _bfd_coff_link_input_bfd()
1799 if (isym.n_scnum > 0) in _bfd_coff_link_input_bfd()
1801 isym.n_scnum = (*secpp)->output_section->target_index; in _bfd_coff_link_input_bfd()
[all …]
H A Dcoff-sh.c433 if (sym != NULL && sym->n_scnum == 0 && sym->n_value != 0) in coff_sh_rtype_to_howto()
453 if (sym != NULL && sym->n_scnum != 0) in coff_sh_rtype_to_howto()
543 && coffsym->native->u.syment.n_scnum == 0) \
845 if (sym.n_scnum != 0 && sym.n_scnum != sec->target_index) in sh_relax_section()
1188 && sym.n_scnum == sec->target_index in sh_relax_delete_bytes()
1410 && sym.n_scnum == sec->target_index in sh_relax_delete_bytes()
1467 if (isym.n_scnum == sec->target_index in sh_relax_delete_bytes()
2790 if (sym != NULL && sym->n_scnum != 0) in sh_relocate_section()
2965 if (isymp->n_scnum != 0) in sh_coff_get_relocated_section_contents()
2966 *secpp = coff_section_from_bfd_index (input_bfd, isymp->n_scnum); in sh_coff_get_relocated_section_contents()
H A Dcoffcode.h958 if (isym.n_scnum == section->target_index) in handle_COMDAT()
4627 src->u.syment.n_scnum); in coff_slurp_symbol_table()
4715 && src->u.syment.n_scnum > 0) in coff_slurp_symbol_table()
4738 if (src->u.syment.n_scnum == N_DEBUG) in coff_slurp_symbol_table()
4874 && src->u.syment.n_scnum == 0) in coff_slurp_symbol_table()
4974 if (syment->n_scnum == 0) in coff_classify_symbol()
4994 if (syment->n_scnum == 0) in coff_classify_symbol()
5011 sec = coff_section_from_bfd_index (abfd, syment->n_scnum); in coff_classify_symbol()
5027 if (syment->n_scnum == 0) in coff_classify_symbol()
5034 if (syment->n_scnum == 0) in coff_classify_symbol()
[all …]
H A Dxcofflink.c1454 *csect_cache = coff_section_from_bfd_index (abfd, sym.n_scnum); in xcoff_link_add_symbols()
1584 || sym.n_scnum != N_UNDEF in xcoff_link_add_symbols()
1591 abfd, name, sym.n_sclass, sym.n_scnum, in xcoff_link_add_symbols()
1660 enclosing = coff_section_from_bfd_index (abfd, sym.n_scnum); in xcoff_link_add_symbols()
1778 enclosing = coff_section_from_bfd_index (abfd, sym.n_scnum); in xcoff_link_add_symbols()
2477 if (EXTERN_SYM_P (sym.n_sclass) && sym.n_scnum != N_UNDEF) in xcoff_link_check_ar_symbols()
3673 && isym->n_scnum == N_DEBUG) in xcoff_keep_symbol_p()
5236 if (isymp->n_scnum > 0) in xcoff_link_input_bfd()
5246 ldsym->l_scnum = isymp->n_scnum; in xcoff_link_input_bfd()
5492 && isym.n_scnum > 0) in xcoff_link_input_bfd()
[all …]
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dcoffgen.c755 syment->n_scnum = N_UNDEF; in fixup_symbol_value()
765 syment->n_scnum = N_UNDEF; in fixup_symbol_value()
773 syment->n_scnum = in fixup_symbol_value()
789 syment->n_scnum = N_ABS; in fixup_symbol_value()
1133 native->u.syment.n_scnum = N_DEBUG; in coff_write_symbol()
1136 native->u.syment.n_scnum = N_ABS; in coff_write_symbol()
1139 native->u.syment.n_scnum = N_UNDEF; in coff_write_symbol()
1142 native->u.syment.n_scnum = in coff_write_symbol()
1237 native->u.syment.n_scnum = N_UNDEF; in coff_write_alien_symbol()
1242 native->u.syment.n_scnum = N_UNDEF; in coff_write_alien_symbol()
[all …]
H A Dcoff-i386.c404 && coffsym->native->u.syment.n_scnum == 0) \
550 if (sym != NULL && sym->n_scnum == 0 && sym->n_value != 0) in coff_i386_rtype_to_howto()
591 if (sym != NULL && sym->n_scnum != 0) in coff_i386_rtype_to_howto()
623 for (s = abfd->sections, i = 1; i < sym->n_scnum; i++) in coff_i386_rtype_to_howto()
H A Dcofflink.c351 section = coff_section_from_bfd_index (abfd, sym.n_scnum); in coff_link_add_symbols()
373 section = coff_section_from_bfd_index (abfd, sym.n_scnum); in coff_link_add_symbols()
482 || sym.n_scnum != 0 in coff_link_add_symbols()
1476 *secpp = coff_section_from_bfd_index (input_bfd, isym.n_scnum); in _bfd_coff_link_input_bfd()
1559 && (isym.n_scnum == N_DEBUG in _bfd_coff_link_input_bfd()
1560 || (isym.n_scnum == N_ABS in _bfd_coff_link_input_bfd()
1810 && isym.n_scnum > 0) in _bfd_coff_link_input_bfd()
1816 isym.n_scnum = (*secpp)->output_section->target_index; in _bfd_coff_link_input_bfd()
1831 if (isym.n_scnum > 0) in _bfd_coff_link_input_bfd()
1833 isym.n_scnum = (*secpp)->output_section->target_index; in _bfd_coff_link_input_bfd()
[all …]
H A Dcoff-x86_64.c541 && coffsym->native->u.syment.n_scnum == 0) \
703 if (sym != NULL && sym->n_scnum == 0 && sym->n_value != 0) in coff_amd64_rtype_to_howto()
748 if (sym != NULL && sym->n_scnum != 0) in coff_amd64_rtype_to_howto()
791 needle.index = sym->n_scnum - 1; in coff_amd64_rtype_to_howto()
H A Dcoff-sh.c433 if (sym != NULL && sym->n_scnum == 0 && sym->n_value != 0) in coff_sh_rtype_to_howto()
453 if (sym != NULL && sym->n_scnum != 0) in coff_sh_rtype_to_howto()
543 && coffsym->native->u.syment.n_scnum == 0) \
848 if (sym.n_scnum != 0 && sym.n_scnum != sec->target_index) in sh_relax_section()
1181 && sym.n_scnum == sec->target_index in sh_relax_delete_bytes()
1404 && sym.n_scnum == sec->target_index in sh_relax_delete_bytes()
1459 if (isym.n_scnum == sec->target_index in sh_relax_delete_bytes()
2782 if (sym != NULL && sym->n_scnum != 0) in sh_relocate_section()
2969 if (isymp->n_scnum != 0) in sh_coff_get_relocated_section_contents()
2970 *secpp = coff_section_from_bfd_index (input_bfd, isymp->n_scnum); in sh_coff_get_relocated_section_contents()
H A Dcoffcode.h959 needle.target_index = isym.n_scnum; in fill_comdat_hash()
1047 newentry->target_index = isym.n_scnum; in fill_comdat_hash()
4765 src->u.syment.n_scnum); in coff_slurp_symbol_table()
4853 && src->u.syment.n_scnum > 0) in coff_slurp_symbol_table()
4876 if (src->u.syment.n_scnum == N_DEBUG) in coff_slurp_symbol_table()
5017 && src->u.syment.n_scnum == 0) in coff_slurp_symbol_table()
5117 if (syment->n_scnum == 0) in coff_classify_symbol()
5137 if (syment->n_scnum == 0) in coff_classify_symbol()
5154 sec = coff_section_from_bfd_index (abfd, syment->n_scnum); in coff_classify_symbol()
5170 if (syment->n_scnum == 0) in coff_classify_symbol()
[all …]
/netbsd-src/external/cddl/osnet/dist/head/
H A Dnlist.h39 short n_scnum; /* section number */ member
H A Dsyms.h58 short n_scnum; /* section number */ member
/netbsd-src/external/gpl3/gcc.old/dist/libbacktrace/
H A Dxcoff.c156 int16_t n_scnum; member
167 int16_t n_scnum; member
608 && ISFCN (asym->n_type) && asym->n_numaux > 0 && asym->n_scnum > 0) in xcoff_initialize_syminfo()
627 && ISFCN (asym->n_type) && asym->n_numaux > 0 && asym->n_scnum > 0) in xcoff_initialize_syminfo()
632 - sects[asym->n_scnum - 1].s_paddr; in xcoff_initialize_syminfo()
964 || asym->n_scnum <= 0) in xcoff_initialize_fileline()
1004 fn->sect_base = sects[fsym->n_scnum - 1].s_paddr; in xcoff_initialize_fileline()
/netbsd-src/external/gpl3/gcc/dist/libbacktrace/
H A Dxcoff.c157 int16_t n_scnum; member
168 int16_t n_scnum; member
608 && ISFCN (asym->n_type) && asym->n_numaux > 0 && asym->n_scnum > 0) in xcoff_initialize_syminfo()
627 && ISFCN (asym->n_type) && asym->n_numaux > 0 && asym->n_scnum > 0) in xcoff_initialize_syminfo()
963 || asym->n_scnum <= 0) in xcoff_initialize_fileline()
1003 fn->sect_base = sects[fsym->n_scnum - 1].s_paddr; in xcoff_initialize_fileline()

123