Searched refs:nshdr (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | support.c | 262 Shdr *nshdr = *oshdr; in ld_sup_input_section() local 281 (*flp->fl_fptr)(sname, &nshdr, ndx, data, elf, &flags); in ld_sup_input_section() 288 if (nshdr != *oshdr) { in ld_sup_input_section() 293 *oshdr, nshdr, sname)); in ld_sup_input_section() 294 *oshdr = nshdr; in ld_sup_input_section()
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_elfwrite.c | 59 size_t nshdr, nphdr, strndx; in ctf_write_elf() local 94 if (elf_getshdrnum(src, &nshdr) != 0) { in ctf_write_elf() 130 secxlate = ctf_alloc(sizeof (int) * nshdr); in ctf_write_elf() 131 for (srcidx = dstidx = 0; srcidx < nshdr; srcidx++) { in ctf_write_elf() 156 for (srcidx = 1; srcidx < nshdr; srcidx++) { in ctf_write_elf() 373 ctf_free(secxlate, sizeof (int) * nshdr); in ctf_write_elf()
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | shdr.c | 62 Word ndx, Shdr *oshdr, Shdr *nshdr, const char *name) in Dbg_shdr_modified() argument 82 Elf_shdr(lml, osabi, mach, nshdr); in Dbg_shdr_modified()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 463 uint_t nshdr; in dump_elf32() local 472 nshdr = de.de_nrel == 0 ? ESHDR_SYMTAB + 1 : ESHDR_NUM; in dump_elf32() 498 elf_file.ehdr.e_shnum = nshdr; in dump_elf32() 500 off = sizeof (elf_file) + nshdr * sizeof (Elf32_Shdr); in dump_elf32() 600 uint_t nshdr; in dump_elf64() local 609 nshdr = de.de_nrel == 0 ? ESHDR_SYMTAB + 1 : ESHDR_NUM; in dump_elf64() 635 elf_file.ehdr.e_shnum = nshdr; in dump_elf64() 637 off = sizeof (elf_file) + nshdr * sizeof (Elf64_Shdr); in dump_elf64()
|
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | file.c | 1207 GElf_Shdr nshdr; in build_file() local 1211 (void) gelf_getshdr(notescn, &nshdr); in build_file() 1217 ph->p_offset = (Elf32_Off)nshdr.sh_offset; in build_file() 1221 ph->p_offset = (Elf64_Off)nshdr.sh_offset; in build_file()
|