Searched refs:eh (Results 1 - 7 of 7) sorted by relevance
/gem5/ext/libelf/ |
H A D | elf_phnum.c | 36 void *eh; local 45 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
|
H A D | elf_shnum.c | 36 void *eh; local 45 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL)
|
H A D | elf_shstrndx.c | 36 void *eh; local 45 if ((eh = _libelf_ehdr(e, ec, 0)) == NULL) 56 void *eh; local 61 ((eh = _libelf_ehdr(e, ec, 0)) == NULL)) { 66 return (_libelf_setshstrndx(e, eh, ec, strndx));
|
H A D | libelf_extended.c | 47 _libelf_setshnum(Elf *e, void *eh, int ec, size_t shnum) argument 68 ((Elf32_Ehdr *) eh)->e_shnum = shnum; 70 ((Elf64_Ehdr *) eh)->e_shnum = shnum; 77 _libelf_setshstrndx(Elf *e, void *eh, int ec, size_t shstrndx) argument 98 ((Elf32_Ehdr *) eh)->e_shstrndx = shstrndx; 100 ((Elf64_Ehdr *) eh)->e_shstrndx = shstrndx; 106 _libelf_setphnum(Elf *e, void *eh, int ec, size_t phnum) argument 127 ((Elf32_Ehdr *) eh)->e_phnum = phnum; 129 ((Elf64_Ehdr *) eh)->e_phnum = phnum;
|
H A D | libelf_ar.c | 218 Elf_Arhdr *eh; local 232 if ((eh = malloc(sizeof(Elf_Arhdr))) == NULL) { 237 e->e_arhdr = eh; 238 eh->ar_name = eh->ar_rawname = NULL; 240 if ((eh->ar_name = _libelf_ar_get_name(arh->ar_name, sizeof(arh->ar_name), 246 eh->ar_uid = (uid_t) n; 250 eh->ar_gid = (gid_t) n; 254 eh->ar_mode = (mode_t) n; 258 eh [all...] |
H A D | libelf_ehdr.c | 85 Elf##SZ##_Ehdr *eh = (E); \ 86 eh->e_ident[EI_MAG0] = ELFMAG0; \ 87 eh->e_ident[EI_MAG1] = ELFMAG1; \ 88 eh->e_ident[EI_MAG2] = ELFMAG2; \ 89 eh->e_ident[EI_MAG3] = ELFMAG3; \ 90 eh->e_ident[EI_CLASS] = ELFCLASS##SZ; \ 91 eh->e_ident[EI_DATA] = ELFDATANONE; \ 92 eh->e_ident[EI_VERSION] = LIBELF_PRIVATE(version); \ 93 eh->e_machine = EM_NONE; \ 94 eh [all...] |
H A D | libelf_checksum.c | 50 GElf_Ehdr eh; local 63 if (gelf_getehdr(e, &eh) == NULL)
|
Completed in 8 milliseconds