Searched refs:shtab (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/elftoolchain/elfcopy/ |
H A D | binary.c | 142 struct section *sec, *sec_temp, *shtab; in create_elf_from_binary() local 214 shtab = insert_shtab(ecp, 1); in create_elf_from_binary() 217 shtab->sz += gelf_fsize(ecp->eout, ELF_T_SHDR, 2, EV_CURRENT); in create_elf_from_binary() 279 oeh.e_shoff = shtab->off; in create_elf_from_binary()
|
H A D | sections.c | 528 struct section *s, *shtab; in insert_shtab() local 537 if ((shtab = calloc(1, sizeof(*shtab))) == NULL) in insert_shtab() 547 shtab->off = ieh.e_shoff; in insert_shtab() 549 shtab->off = 0; in insert_shtab() 557 shtab->sz = gelf_fsize(ecp->eout, ELF_T_SHDR, nsecs + 1, EV_CURRENT); in insert_shtab() 558 if (shtab->sz == 0) in insert_shtab() 560 shtab->align = (ecp->oec == ELFCLASS32 ? 4 : 8); in insert_shtab() 561 shtab->loadable = 0; in insert_shtab() 562 shtab->pseudo = 1; in insert_shtab() 563 insert_to_sec_list(ecp, shtab, tail); in insert_shtab() [all …]
|
H A D | ascii.c | 203 struct section *s, *shtab; in create_elf_from_srec() local 319 shtab = insert_shtab(ecp, 1); in create_elf_from_srec() 363 shtab->sz += gelf_fsize(ecp->eout, ELF_T_SHDR, 2, EV_CURRENT); in create_elf_from_srec() 393 oeh.e_shoff = shtab->off; in create_elf_from_srec() 474 struct section *s, *shtab; in create_elf_from_ihex() local 592 shtab = insert_shtab(ecp, 1); in create_elf_from_ihex() 617 oeh.e_shoff = shtab->off; in create_elf_from_ihex()
|
H A D | main.c | 282 struct section *shtab; in create_elf() local 417 shtab = insert_shtab(ecp, 1); in create_elf() 419 shtab = insert_shtab(ecp, 0); in create_elf() 429 oeh.e_shoff = shtab->off; in create_elf()
|