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 = calloc (1, sizeof (Elf32_Shdr)); in elf_getscn()
72 if (scn0->shdr.e32 == NULL) in elf_getscn()
80 scn0->shdr.e64 = 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.c125 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0]; in ElfW2() local
126 if (unlikely (count >= PN_XNUM && scn0->shdr.ELFW(e,LIBELFBITS) == NULL)) in ElfW2()
154 scn0->shdr.ELFW(e,LIBELFBITS)->sh_info = count; in ElfW2()
155 scn0->shdr_flags |= ELF_F_DIRTY; in ElfW2()
Delf32_updatenull.c184 Elf_Scn *scn0 = &elf->state.ELFW(elf,LIBELFBITS).scns.data[0]; in __elfw2() local
186 update_if_changed (scn0->shdr.ELFW(e,LIBELFBITS)->sh_size, in __elfw2()
187 shnum, scn0->shdr_flags); in __elfw2()
/external/elfutils/src/
Dstrip.c425 Elf_Scn *scn0 = elf_getscn (elf, 0); in update_shdrstrndx() local
427 GElf_Shdr *shdr0 = gelf_getshdr (scn0, &shdr0_mem); in update_shdrstrndx()
432 if (gelf_update_shdr (scn0, shdr0) == 0) in update_shdrstrndx()
Dunstrip.c249 Elf_Scn *scn0 = elf_getscn (outelf, 0); in copy_elf() local
251 GElf_Shdr *shdr0 = gelf_getshdr (scn0, &shdr0_mem); in copy_elf()
255 ELF_CHECK (gelf_update_shdr (scn0, shdr0), in copy_elf()