Home
last modified time | relevance | path

Searched refs:r_symndx (Results 1 – 25 of 36) sorted by relevance

12

/dragonfly/contrib/gdb-7/bfd/
HDelf32-i386.c1108 unsigned long r_symndx; in elf_i386_check_tls_transition() local
1186 r_symndx = ELF32_R_SYM (rel[1].r_info); in elf_i386_check_tls_transition()
1187 if (r_symndx < symtab_hdr->sh_info) in elf_i386_check_tls_transition()
1190 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in elf_i386_check_tls_transition()
1288 unsigned long r_symndx) in elf_i386_tls_transition() argument
1388 abfd, r_symndx); in elf_i386_tls_transition()
1441 unsigned long r_symndx; in elf_i386_check_relocs() local
1447 r_symndx = ELF32_R_SYM (rel->r_info); in elf_i386_check_relocs()
1450 if (r_symndx >= NUM_SHDR_ENTRIES (symtab_hdr)) in elf_i386_check_relocs()
1454 r_symndx); in elf_i386_check_relocs()
[all …]
HDelf64-x86-64.c1089 unsigned long r_symndx; in elf_x86_64_check_tls_transition() local
1166 r_symndx = htab->r_sym (rel[1].r_info); in elf_x86_64_check_tls_transition()
1167 if (r_symndx < symtab_hdr->sh_info) in elf_x86_64_check_tls_transition()
1170 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in elf_x86_64_check_tls_transition()
1264 unsigned long r_symndx) in elf_x86_64_tls_transition() argument
1359 abfd, r_symndx); in elf_x86_64_tls_transition()
1411 unsigned long r_symndx; in elf_x86_64_check_relocs() local
1417 r_symndx = htab->r_sym (rel->r_info); in elf_x86_64_check_relocs()
1420 if (r_symndx >= NUM_SHDR_ENTRIES (symtab_hdr)) in elf_x86_64_check_relocs()
1423 abfd, r_symndx); in elf_x86_64_check_relocs()
[all …]
HDelf-eh-frame.c1003 unsigned long r_symndx; in find_merged_cie() local
1036 r_symndx = ELF64_R_SYM (rel->r_info); in find_merged_cie()
1039 r_symndx = ELF32_R_SYM (rel->r_info); in find_merged_cie()
1040 if (r_symndx >= cookie->locsymcount in find_merged_cie()
1041 || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL) in find_merged_cie()
1045 r_symndx -= cookie->extsymoff; in find_merged_cie()
1046 h = cookie->sym_hashes[r_symndx]; in find_merged_cie()
1060 sym = &cookie->locsyms[r_symndx]; in find_merged_cie()
HDelflink.c2158 bfd_vma r_symndx; in elf_link_read_relocs_from_section() local
2161 r_symndx = ELF32_R_SYM (irela->r_info); in elf_link_read_relocs_from_section()
2163 r_symndx >>= 24; in elf_link_read_relocs_from_section()
2166 if ((size_t) r_symndx >= nsyms) in elf_link_read_relocs_from_section()
2172 (unsigned long) r_symndx, (unsigned long) nsyms, irela->r_offset); in elf_link_read_relocs_from_section()
2177 else if (r_symndx != STN_UNDEF) in elf_link_read_relocs_from_section()
2183 (unsigned long) r_symndx, (unsigned long) nsyms, irela->r_offset); in elf_link_read_relocs_from_section()
9658 unsigned long r_symndx = rel->r_info >> r_sym_shift; in elf_link_input_bfd() local
9664 if (r_symndx == STN_UNDEF) in elf_link_input_bfd()
9667 if (r_symndx >= locsymcount in elf_link_input_bfd()
[all …]
/dragonfly/contrib/binutils-2.27/bfd/
HDelf32-or1k.c831 unsigned long r_symndx; in or1k_elf_relocate_section() local
841 r_symndx = ELF32_R_SYM (rel->r_info); in or1k_elf_relocate_section()
858 if (r_symndx < symtab_hdr->sh_info) in or1k_elf_relocate_section()
860 sym = local_syms + r_symndx; in or1k_elf_relocate_section()
861 sec = local_sections[r_symndx]; in or1k_elf_relocate_section()
873 r_symndx, symtab_hdr, sym_hashes, in or1k_elf_relocate_section()
950 && local_got_offsets[r_symndx] != (bfd_vma) -1); in or1k_elf_relocate_section()
953 off = local_got_offsets[r_symndx]; in or1k_elf_relocate_section()
985 local_got_offsets[r_symndx] |= 1; in or1k_elf_relocate_section()
1013 if (r_symndx == STN_UNDEF in or1k_elf_relocate_section()
[all …]
HDelf32-i386.c1226 unsigned long r_symndx; in elf_i386_check_tls_transition() local
1331 r_symndx = ELF32_R_SYM (rel[1].r_info); in elf_i386_check_tls_transition()
1332 if (r_symndx < symtab_hdr->sh_info) in elf_i386_check_tls_transition()
1336 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in elf_i386_check_tls_transition()
1453 unsigned long r_symndx, in elf_i386_tls_transition() argument
1553 abfd, r_symndx); in elf_i386_tls_transition()
1610 unsigned int r_symndx; in elf_i386_convert_load_reloc() local
1625 r_symndx = ELF32_R_SYM (irel->r_info); in elf_i386_convert_load_reloc()
1639 r_symndx); in elf_i386_convert_load_reloc()
1743 irel->r_info = ELF32_R_INFO (r_symndx, R_386_PC32); in elf_i386_convert_load_reloc()
[all …]
HDelf64-x86-64.c1283 unsigned long r_symndx; in elf_x86_64_check_tls_transition() local
1425 r_symndx = htab->r_sym (rel[1].r_info); in elf_x86_64_check_tls_transition()
1426 if (r_symndx < symtab_hdr->sh_info) in elf_x86_64_check_tls_transition()
1430 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in elf_x86_64_check_tls_transition()
1545 unsigned long r_symndx, in elf_x86_64_tls_transition() argument
1640 abfd, r_symndx); in elf_x86_64_tls_transition()
1750 unsigned int r_symndx; in elf_x86_64_convert_load_reloc() local
1773 r_symndx = htab->r_sym (irel->r_info); in elf_x86_64_convert_load_reloc()
1802 = bfd_sym_from_r_symndx (&htab->sym_cache, abfd, r_symndx); in elf_x86_64_convert_load_reloc()
2118 irel->r_info = htab->r_info (r_symndx, r_type); in elf_x86_64_convert_load_reloc()
[all …]
HDelf-eh-frame.c517 unsigned long r_symndx; in _bfd_elf_parse_eh_frame_entry() local
540 r_symndx = cookie->rel->r_info >> cookie->r_sym_shift; in _bfd_elf_parse_eh_frame_entry()
541 if (r_symndx == STN_UNDEF) in _bfd_elf_parse_eh_frame_entry()
544 text_sec = _bfd_elf_section_for_symbol (cookie, r_symndx, FALSE); in _bfd_elf_parse_eh_frame_entry()
1189 unsigned long r_symndx; in find_merged_cie() local
1226 r_symndx = ELF64_R_SYM (rel->r_info); in find_merged_cie()
1229 r_symndx = ELF32_R_SYM (rel->r_info); in find_merged_cie()
1230 if (r_symndx >= cookie->locsymcount in find_merged_cie()
1231 || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL) in find_merged_cie()
1235 r_symndx -= cookie->extsymoff; in find_merged_cie()
[all …]
HDcofflink.c1094 irel->r_symndx = (*rel_hash)->indx; in _bfd_coff_final_link()
1401 flaginfo->sym_indices[ irel->r_symndx ] = -1; in mark_relocs()
2410 long symndx = irel->r_symndx; in _bfd_coff_link_input_bfd()
2463 if (irel->r_symndx == -1) in _bfd_coff_link_input_bfd()
2476 h = obj_coff_sym_hashes (input_bfd)[irel->r_symndx]; in _bfd_coff_link_input_bfd()
2481 irel->r_symndx = h->indx; in _bfd_coff_link_input_bfd()
2498 indx = flaginfo->sym_indices[irel->r_symndx]; in _bfd_coff_link_input_bfd()
2500 irel->r_symndx = indx; in _bfd_coff_link_input_bfd()
2511 is = flaginfo->internal_syms + irel->r_symndx; in _bfd_coff_link_input_bfd()
2873 irel->r_symndx = 0; in _bfd_coff_reloc_link_order()
[all …]
HDelflink.c62 unsigned long r_symndx, in _bfd_elf_section_for_symbol() argument
65 if (r_symndx >= cookie->locsymcount in _bfd_elf_section_for_symbol()
66 || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL) in _bfd_elf_section_for_symbol()
70 h = cookie->sym_hashes[r_symndx - cookie->extsymoff]; in _bfd_elf_section_for_symbol()
92 isym = &cookie->locsyms[r_symndx]; in _bfd_elf_section_for_symbol()
2308 bfd_vma r_symndx; in elf_link_read_relocs_from_section() local
2311 r_symndx = ELF32_R_SYM (irela->r_info); in elf_link_read_relocs_from_section()
2313 r_symndx >>= 24; in elf_link_read_relocs_from_section()
2316 if ((size_t) r_symndx >= nsyms) in elf_link_read_relocs_from_section()
2322 (unsigned long) r_symndx, (unsigned long) nsyms, irela->r_offset); in elf_link_read_relocs_from_section()
[all …]
HDpeicode.h136 reloc_dst->r_symndx = H_GET_S32 (abfd, reloc_src->r_symndx); in coff_swap_reloc_in()
150 H_PUT_32 (abfd, reloc_src->r_symndx, reloc_dst->r_symndx); in coff_swap_reloc_out()
470 internal->r_symndx = sym_index; in pe_ILF_make_a_symbol_reloc()
HDcoffcode.h2761 n.r_symndx = q->addend; in coff_write_relocs()
2773 n.r_symndx = -1; in coff_write_relocs()
2776 n.r_symndx = get_index ((*(q->sym_ptr_ptr))); in coff_write_relocs()
2779 if (n.r_symndx > obj_conv_table_size (abfd)) in coff_write_relocs()
2783 abfd, n.r_symndx); in coff_write_relocs()
5291 if (dst.r_symndx != -1) in coff_slurp_reloc_table()
5293 if (dst.r_symndx < 0 || dst.r_symndx >= obj_conv_table_size (abfd)) in coff_slurp_reloc_table()
5297 abfd, (long) dst.r_symndx); in coff_slurp_reloc_table()
5304 + obj_convert (abfd)[dst.r_symndx]); in coff_slurp_reloc_table()
/dragonfly/contrib/binutils-2.34/bfd/
HDelf32-i386.c867 unsigned long r_symndx; in elf_i386_check_tls_transition() local
972 r_symndx = ELF32_R_SYM (rel[1].r_info); in elf_i386_check_tls_transition()
973 if (r_symndx < symtab_hdr->sh_info) in elf_i386_check_tls_transition()
976 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in elf_i386_check_tls_transition()
1074 unsigned long r_symndx, in elf_i386_tls_transition() argument
1171 abfd, r_symndx); in elf_i386_tls_transition()
1230 unsigned int r_symndx; in elf_i386_convert_load_reloc() local
1247 r_symndx = ELF32_R_SYM (irel->r_info); in elf_i386_convert_load_reloc()
1261 r_symndx); in elf_i386_convert_load_reloc()
1370 irel->r_info = ELF32_R_INFO (r_symndx, R_386_PC32); in elf_i386_convert_load_reloc()
[all …]
HDelf64-x86-64.c1029 unsigned long r_symndx; in elf_x86_64_check_tls_transition() local
1171 r_symndx = htab->r_sym (rel[1].r_info); in elf_x86_64_check_tls_transition()
1172 if (r_symndx < symtab_hdr->sh_info) in elf_x86_64_check_tls_transition()
1175 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in elf_x86_64_check_tls_transition()
1275 unsigned long r_symndx, in elf_x86_64_tls_transition() argument
1370 abfd, r_symndx); in elf_x86_64_tls_transition()
1502 unsigned int r_symndx; in elf_x86_64_convert_load_reloc() local
1522 r_symndx = htab->r_sym (irel->r_info); in elf_x86_64_convert_load_reloc()
1551 = bfd_sym_from_r_symndx (&htab->sym_cache, abfd, r_symndx); in elf_x86_64_convert_load_reloc()
1793 irel->r_info = htab->r_info (r_symndx, in elf_x86_64_convert_load_reloc()
[all …]
HDcofflink.c1104 irel->r_symndx = (*rel_hash)->indx; in _bfd_coff_final_link()
1411 if ((unsigned long) irel->r_symndx < obj_raw_syment_count (input_bfd)) in mark_relocs()
1412 flaginfo->sym_indices[irel->r_symndx] = -1; in mark_relocs()
2422 long symndx = irel->r_symndx; in _bfd_coff_link_input_bfd()
2476 if (irel->r_symndx == -1) in _bfd_coff_link_input_bfd()
2489 h = obj_coff_sym_hashes (input_bfd)[irel->r_symndx]; in _bfd_coff_link_input_bfd()
2494 irel->r_symndx = h->indx; in _bfd_coff_link_input_bfd()
2511 indx = flaginfo->sym_indices[irel->r_symndx]; in _bfd_coff_link_input_bfd()
2513 irel->r_symndx = indx; in _bfd_coff_link_input_bfd()
2524 is = flaginfo->internal_syms + irel->r_symndx; in _bfd_coff_link_input_bfd()
[all …]
HDelf-eh-frame.c530 unsigned long r_symndx; in _bfd_elf_parse_eh_frame_entry() local
553 r_symndx = cookie->rel->r_info >> cookie->r_sym_shift; in _bfd_elf_parse_eh_frame_entry()
554 if (r_symndx == STN_UNDEF) in _bfd_elf_parse_eh_frame_entry()
557 text_sec = _bfd_elf_section_for_symbol (cookie, r_symndx, FALSE); in _bfd_elf_parse_eh_frame_entry()
1207 unsigned long r_symndx; in find_merged_cie() local
1244 r_symndx = ELF64_R_SYM (rel->r_info); in find_merged_cie()
1247 r_symndx = ELF32_R_SYM (rel->r_info); in find_merged_cie()
1248 if (r_symndx >= cookie->locsymcount in find_merged_cie()
1249 || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL) in find_merged_cie()
1253 r_symndx -= cookie->extsymoff; in find_merged_cie()
[all …]
HDelflink.c62 unsigned long r_symndx, in _bfd_elf_section_for_symbol() argument
65 if (r_symndx >= cookie->locsymcount in _bfd_elf_section_for_symbol()
66 || ELF_ST_BIND (cookie->locsyms[r_symndx].st_info) != STB_LOCAL) in _bfd_elf_section_for_symbol()
70 h = cookie->sym_hashes[r_symndx - cookie->extsymoff]; in _bfd_elf_section_for_symbol()
92 isym = &cookie->locsyms[r_symndx]; in _bfd_elf_section_for_symbol()
2527 bfd_vma r_symndx; in elf_link_read_relocs_from_section() local
2530 r_symndx = ELF32_R_SYM (irela->r_info); in elf_link_read_relocs_from_section()
2532 r_symndx >>= 24; in elf_link_read_relocs_from_section()
2535 if ((size_t) r_symndx >= nsyms) in elf_link_read_relocs_from_section()
2541 abfd, (uint64_t) r_symndx, (unsigned long) nsyms, in elf_link_read_relocs_from_section()
[all …]
HDpeicode.h136 reloc_dst->r_symndx = H_GET_S32 (abfd, reloc_src->r_symndx); in coff_swap_reloc_in()
150 H_PUT_32 (abfd, reloc_src->r_symndx, reloc_dst->r_symndx); in coff_swap_reloc_out()
491 internal->r_symndx = sym_index; in pe_ILF_make_a_symbol_reloc()
HDcoffcode.h2585 n.r_symndx = q->addend; in coff_write_relocs()
2597 n.r_symndx = -1; in coff_write_relocs()
2600 n.r_symndx = get_index ((*(q->sym_ptr_ptr))); in coff_write_relocs()
2603 if (n.r_symndx > obj_conv_table_size (abfd)) in coff_write_relocs()
2609 abfd, n.r_symndx); in coff_write_relocs()
5002 if (dst.r_symndx != -1 && symbols != NULL) in coff_slurp_reloc_table()
5004 if (dst.r_symndx < 0 || dst.r_symndx >= obj_conv_table_size (abfd)) in coff_slurp_reloc_table()
5009 abfd, dst.r_symndx); in coff_slurp_reloc_table()
5016 + obj_convert (abfd)[dst.r_symndx]); in coff_slurp_reloc_table()
/dragonfly/contrib/binutils-2.27/include/coff/
HDx86_64.h52 char r_symndx[4]; member
HDi386.h68 char r_symndx[4]; member
HDia64.h83 char r_symndx[4]; member
/dragonfly/contrib/binutils-2.34/include/coff/
HDx86_64.h72 char r_symndx[4]; member
HDi386.h87 char r_symndx[4]; member
/dragonfly/contrib/gdb-7/include/coff/
HDinternal.h657 long r_symndx; /* Index into symbol table */ member

12