Home
last modified time | relevance | path

Searched refs:scn0 (Results 1 – 5 of 5) sorted by relevance

/external/elfutils/libelf/
Delf_getscn.c68 Elf_Scn *scn0 = &runp->data[0]; in elf_getscn() local
71 scn0->shdr.e32 = (Elf32_Shdr *) calloc (1, sizeof (Elf32_Shdr)); in elf_getscn()
72 if (scn0->shdr.e32 == NULL) in elf_getscn()
80 scn0->shdr.e64 = (Elf64_Shdr *) calloc (1, sizeof (Elf64_Shdr)); in elf_getscn()
81 if (scn0->shdr.e64 == NULL) in elf_getscn()
87 scn0->elf = elf; in elf_getscn()
88 scn0->shdr_flags = ELF_F_DIRTY | ELF_F_MALLOCED; in elf_getscn()
89 scn0->list = elf->state.elf.scns_last; in elf_getscn()
90 scn0->data_read = 1; in elf_getscn()
Delf32_newphdr.c122 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0]; in ElfW2() local
123 if (unlikely (count >= PN_XNUM && scn0->shdr.ELFW(e,LIBELFBITS) == NULL)) in ElfW2()
151 scn0->shdr.ELFW(e,LIBELFBITS)->sh_info = count; in ElfW2()
152 scn0->shdr_flags |= ELF_F_DIRTY; in ElfW2()
Delf32_updatenull.c182 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0]; in __elfw2() local
184 update_if_changed (scn0->shdr.ELFW(e,LIBELFBITS)->sh_size, in __elfw2()
185 shnum, scn0->shdr_flags); in __elfw2()
/external/elfutils/src/
Dstrip.c428 Elf_Scn *scn0 = elf_getscn (elf, 0); in update_shdrstrndx() local
430 GElf_Shdr *shdr0 = gelf_getshdr (scn0, &shdr0_mem); in update_shdrstrndx()
435 if (gelf_update_shdr (scn0, shdr0) == 0) in update_shdrstrndx()
Dunstrip.c254 Elf_Scn *scn0 = elf_getscn (outelf, 0); in copy_elf() local
256 GElf_Shdr *shdr0 = gelf_getshdr (scn0, &shdr0_mem); in copy_elf()
260 ELF_CHECK (gelf_update_shdr (scn0, shdr0), in copy_elf()