Searched refs:sec_shdr (Results 1 - 11 of 11) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/sgs/elfedit/common/
H A Dutil_machelf.c162 if (shtype == sec->sec_shdr->sh_type) {
217 Word cnt = symsec->sec_shdr->sh_size / symsec->sec_shdr->sh_entsize;
377 if (cache->sec_shdr->sh_type == SHT_SUNW_cap) {
382 *num = cache->sec_shdr->sh_size /
383 cache->sec_shdr->sh_entsize;
421 *num = cache->sec_shdr->sh_size / cache->sec_shdr->sh_entsize;
457 if (cache->sec_shdr->sh_type == SHT_SUNW_syminfo) {
462 *num = cache->sec_shdr
[all...]
H A Delfedit_machelf.c60 Word sh_link = auxsec->sec_shdr->sh_link;
252 LIBELF(_cache->sec_shdr = elf_getshdr(scn), MSG_ORIG(MSG_ELF_GETSHDR));
253 _cache->sec_name = (_cache->sec_shdr->sh_name < names_len) ?
254 (names + _cache->sec_shdr->sh_name) : MSG_INTL(MSG_UNKNOWNSECNAM);
269 LIBELF(_cache->sec_shdr = elf_getshdr(scn),
272 _cache->sec_name = (_cache->sec_shdr->sh_name < names_len) ?
273 (names + _cache->sec_shdr->sh_name) :
276 switch (_cache->sec_shdr->sh_type) {
304 symsec_cnt = symsec->sec_shdr->sh_size / sizeof (Sym);
309 aux_cnt = _cache->sec_shdr
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dphdr.c310 if ((strsec->sec_shdr->sh_type != SHT_NOBITS) &&
311 (interp->phdr->p_offset >= strsec->sec_shdr->sh_offset) &&
313 (strsec->sec_shdr->sh_offset +
314 strsec->sec_shdr->sh_size))) {
318 strsec->sec_shdr->sh_offset;
569 (strsec->sec_shdr->sh_flags & SHF_ALLOC) &&
570 (strsec->sec_shdr->sh_type & SHT_PROGBITS)) {
573 if ((strsec->sec_shdr->sh_offset >=
575 ((strsec->sec_shdr->sh_offset +
576 strsec->sec_shdr
[all...]
H A Dstr.c207 Shdr *shdr = obj_state->os_secarr[ndx].sec_shdr;
224 obj_state->os_secarr[ndx].sec_shdr->sh_link;
361 if ((dynsec->sec_shdr->sh_type == SHT_DYNAMIC) &&
363 dynsec->sec_shdr->sh_link)) {
789 Shdr *shdr = sec->sec_shdr;
876 if (obj_state->os_secarr[i].sec_shdr->
892 (obj_state->os_secarr[strtab_ndx].sec_shdr->sh_type != SHT_STRTAB))
H A Dehdr.c290 argstate->obj_state->os_secarr[0].sec_shdr);
514 os_secarr[0].sec_shdr->sh_info;
536 os_secarr[0].sec_shdr->sh_size;
553 os_secarr[0].sec_shdr->sh_link;
997 Shdr *shdr0 = sec0->sec_shdr;
1069 Shdr *shdr0 = sec0->sec_shdr;
1114 Shdr *shdr0 = sec0->sec_shdr;
1138 (obj_state->os_secarr[shstrndx].sec_shdr->sh_type !=
1503 if (sec->sec_shdr->sh_type != SHT_STRTAB)
H A Dcap.c166 if (argstate->cap.sec->sec_shdr->sh_info == 0) {
176 argstate->cap.sec->sec_shdr->sh_info, 0);
1069 if (cap_sec->sec_shdr->sh_info == 0)
1072 str_sec = elfedit_sec_getstr(obj_state, cap_sec->sec_shdr->sh_info, 0);
H A Dshdr.c235 Shdr *shdr = sec->sec_shdr;
239 if (shdr->sh_type != ref_sec->sec_shdr->sh_type)
258 Elf_shdr(NULL, osabi, mach, sec->sec_shdr);
415 shdr = shdr_sec->sec_shdr;
H A Dsyminfo.c223 1, argstate->syminfo.sec->sec_shdr->sh_link, NULL,
234 argstate->sym.sec->sec_shdr->sh_link, 0);
H A Ddyn.c264 argstate->dyn.sec->sec_shdr->sh_link, 0);
1621 i = cache->sec_shdr->sh_size / cache->sec_shdr->sh_entsize;
1700 dynsec->sec_shdr->sh_link, 0);
H A Dsym.c210 symstate->sym.sec->sec_shdr->sh_link, 0);
713 gbl_ndx = symstate->sym.sec->sec_shdr->sh_info;
772 if (symstate->sym.sec->sec_shdr->sh_type == SHT_DYNSYM)
/opensolaris-onvv-gate/usr/src/cmd/sgs/include/
H A Delfedit.h114 Elf32_Shdr *sec_shdr; /* Section header */ member in struct:__anon1759
122 Elf64_Shdr *sec_shdr; member in struct:__anon1760

Completed in 66 milliseconds