Searched defs:symndx (Results 1 - 19 of 19) sorted by relevance

/freebsd-head/contrib/elftoolchain/libdwarf/
H A Ddwarf_pro_lineno.c73 dwarf_lne_set_address(Dwarf_P_Debug dbg, Dwarf_Addr offs, Dwarf_Unsigned symndx, argument
79 if (dbg == NULL || symndx == 0) {
92 ln->ln_symndx = symndx;
H A Dlibdwarf_sections.c99 Dwarf_Unsigned info, Dwarf_Unsigned *symndx, int *error)
103 assert(dbg != NULL && name != NULL && symndx != NULL);
107 symndx, &e);
111 *symndx = isymndx;
97 _dwarf_pro_callback(Dwarf_P_Debug dbg, char *name, int size, Dwarf_Unsigned type, Dwarf_Unsigned flags, Dwarf_Unsigned link, Dwarf_Unsigned info, Dwarf_Unsigned *symndx, int *error) argument
H A Dlibdwarf_elf_init.c59 size_t symndx; local
66 symndx = GELF_R_SYM(rel.r_info);
69 if (gelf_getsym(symtab_data, symndx, &sym) == NULL)
102 size_t symndx; local
108 symndx = GELF_R_SYM(rela.r_info);
111 if (gelf_getsym(symtab_data, symndx, &sym) == NULL)
H A Dlibdwarf_reloc.c218 Dwarf_Unsigned offset, Dwarf_Unsigned symndx, Dwarf_Unsigned addend,
256 dre->dre_symndx = symndx;
267 Dwarf_Unsigned symndx, Dwarf_Unsigned esymndx, Dwarf_Unsigned symoff,
296 dre[0].dre_symndx = symndx;
216 _dwarf_reloc_entry_add(Dwarf_P_Debug dbg, Dwarf_Rel_Section drs, Dwarf_P_Section ds, unsigned char type, unsigned char length, Dwarf_Unsigned offset, Dwarf_Unsigned symndx, Dwarf_Unsigned addend, const char *secname, Dwarf_Error *error) argument
265 _dwarf_reloc_entry_add_pair(Dwarf_P_Debug dbg, Dwarf_Rel_Section drs, Dwarf_P_Section ds, unsigned char length, Dwarf_Unsigned offset, Dwarf_Unsigned symndx, Dwarf_Unsigned esymndx, Dwarf_Unsigned symoff, Dwarf_Unsigned esymoff, Dwarf_Error *error) argument
/freebsd-head/contrib/binutils/bfd/
H A Dpe-mips.c563 PAIR reloc and output it accordingly. The symndx is really
622 long symndx; local
630 symndx = rel->r_symndx;
632 if (symndx == -1)
639 h = obj_coff_sym_hashes (input_bfd)[symndx];
640 sym = syms + symndx;
676 if (symndx == -1)
683 sec = sections[symndx];
H A Dcoff-alpha.c564 /* Handle the LITUSE and GPDISP relocs specially. Its symndx
567 clobber the symndx. */
594 long symndx;
601 symndx = intern->r_size;
608 symndx = RELOC_SECTION_LITA;
613 symndx = intern->r_symndx;
617 /* XXX FIXME: The maximum symndx value used to be 14 but this
624 H_PUT_32 (abfd, symndx, ext->r_symndx);
1370 /* Change the symndx value to the right one for
1411 /* We keep a table mapping the symndx foun
589 long symndx; local
[all...]
H A Dcoff-arm.c1185 long symndx;
1194 symndx = rel->r_symndx;
1196 if (symndx == -1)
1203 h = obj_coff_sym_hashes (input_bfd)[symndx];
1204 sym = syms + symndx;
1298 if (symndx == -1)
1305 sec = sections[symndx];
1759 if (symndx == -1)
2064 long symndx;
2067 symndx
1183 long symndx; local
2062 long symndx; local
[all...]
H A Dcoff-ppc.c1027 long symndx;
1039 symndx = rel->r_symndx;
1045 if (symndx == -1)
1053 (obj_coff_sym_hashes (input_bfd)[symndx]);
1059 sym = syms + symndx;
1074 if (symndx == -1)
1078 sec = sections[symndx];
1148 sym = syms + symndx;
1152 our_toc_offset = local_toc_table[symndx];
1170 MARK_AS_WRITTEN(local_toc_table[symndx]);
1020 long symndx; local
[all...]
H A Dcoff-rs6000.c3362 long symndx;
3400 symndx = rel->r_symndx;
3402 if (-1 != symndx)
3406 h = obj_xcoff_sym_hashes (input_bfd)[symndx];
3407 sym = syms + symndx;
3412 sec = sections[symndx];
3493 if (symndx == -1)
3356 long symndx; local
H A Dcoff64-rs6000.c276 /* For XCOFF64, the effective width of symndx changes depending on
1200 long symndx; local
1238 symndx = rel->r_symndx;
1240 if (-1 != symndx)
1244 h = obj_xcoff_sym_hashes (input_bfd)[symndx];
1245 sym = syms + symndx;
1250 sec = sections[symndx];
1332 if (symndx == -1)
H A Dcofflink.c2842 long symndx;
2850 symndx = rel->r_symndx;
2852 if (symndx == -1)
2857 else if (symndx < 0
2858 || (unsigned long) symndx >= obj_raw_syment_count (input_bfd))
2861 ("%B: illegal symbol index %ld in relocs", input_bfd, symndx);
2866 h = obj_coff_sym_hashes (input_bfd)[symndx];
2867 sym = syms + symndx;
2902 if (symndx == -1)
2909 sec = sections[symndx];
2841 long symndx; local
[all...]
H A Dcoffcode.h4293 bfd_signed_vma symndx;
4297 symndx = dst.l_addr.l_symndx;
4298 if (symndx < 0
4299 || (bfd_vma) symndx >= obj_raw_syment_count (abfd))
4304 symndx = 0;
4310 ((symndx + obj_raw_syments (abfd))
4292 bfd_signed_vma symndx; local
H A Delf32-score.c82 long symndx; member in struct:score_got_entry
87 /* If abfd != NULL && symndx != -1, the addend of the relocation
90 /* If abfd != NULL && symndx == -1, the hash table entry
900 return entry->symndx
910 return e1->abfd == e2->abfd && e1->symndx == e2->symndx
912 : e1->symndx >= 0 ? e1->d.addend == e2->d.addend
1395 entry.symndx = -1;
1491 e.symndx = -1;
1558 entry.symndx
1591 score_elf_record_local_got_symbol(bfd *abfd, long symndx, bfd_vma addend, struct score_got_info *g) argument
[all...]
H A Delf64-ppc.c2656 unsigned *symndx;
4809 ppc64_sec->u.toc.symndx = bfd_zalloc (abfd, amt);
4810 if (ppc64_sec->u.toc.symndx == NULL)
4820 ppc64_sec->u.toc.symndx[rel->r_offset / 8] = r_symndx;
4826 ppc64_sec->u.toc.symndx[rel->r_offset / 8 + 1] = -1;
4828 ppc64_sec->u.toc.symndx[rel->r_offset / 8 + 1] = -2;
5101 unsigned long symndx = ELF64_R_SYM (look->r_info);
5104 if (symndx < symtab_hdr->sh_info)
5119 sym += symndx;
5134 rh = sym_hashes[symndx
2654 unsigned *symndx; member in struct:_ppc64_elf_section_data::__anon15::_toc_sec_data
5097 unsigned long symndx = ELF64_R_SYM (look->r_info); local
8477 unsigned long symndx; local
[all...]
H A Delfxx-mips.c53 (abfd != NULL, symndx >= 0)
55 (abfd != NULL, symndx == -1)
86 long symndx; member in struct:mips_got_entry
91 /* If abfd != NULL && symndx != -1, the addend of the relocation
94 /* If abfd != NULL && symndx == -1, the hash table entry
1987 return entry->symndx
1991 + (entry->symndx >= 0 ? mips_elf_hash_bfd_vma (entry->d.addend)
2005 return e1->abfd == e2->abfd && e1->symndx == e2->symndx
2007 : e1->symndx >
2892 mips_elf_record_local_got_symbol(bfd *abfd, long symndx, bfd_vma addend, struct mips_got_info *g, unsigned char tls_flag) argument
[all...]
/freebsd-head/contrib/elftoolchain/elfcopy/
H A Dsymbols.c399 size_t ishstrndx, namelen, ndx, sc, symndx; local
436 symndx = 0;
448 symndx = elf_ndxscn(is);
458 if (symndx == 0) {
484 * Create bit vector gsym to mark global symbols, and symndx
491 ecp->symndx = calloc(sc, sizeof(*ecp->symndx));
492 if (ecp->symndx == NULL)
512 if ((name = elf_strptr(ecp->ein, symndx, sym.st_name)) == NULL)
575 ecp->symndx[
[all...]
H A Delfcopy.h244 uint64_t *symndx; /* symbol index map. */ member in struct:elfcopy
/freebsd-head/contrib/elftoolchain/elfdump/
H A Delfdump.c2190 PRT(" bucket symndx name\n");
2292 PRT(" bucket symndx name\n");
2336 uint32_t nbucket, nchain, symndx, maskwords, shift2; local
2360 symndx = buf[1];
2371 if (symndx >= (uint32_t)dynsymcount) {
2375 nchain = dynsymcount - symndx;
2390 for (j = bucket[i]; j > 0 && j - symndx < nchain; j++) {
2393 if (chain[j - symndx] & 1)
2400 PRT(" bucket symndx name\n");
2403 for (j = bucket[i]; j > 0 && j - symndx < nchai
[all...]
/freebsd-head/contrib/elftoolchain/readelf/
H A Dreadelf.c3462 uint32_t nbucket, nchain, symndx, maskwords; local
3480 symndx = buf[1];
3488 if (symndx >= (uint32_t)dynsymcount) {
3489 warnx("Malformed .gnu.hash section (symndx out of range)");
3492 nchain = dynsymcount - symndx;
3506 for (j = bucket[i]; j > 0 && (uint32_t)j - symndx < nchain;
3510 if (chain[j - symndx] & 1)

Completed in 126 milliseconds