Searched refs:shdr (Results 1 - 10 of 10) sorted by relevance
/barrelfish-2018-10-04/lib/elf/ |
H A D | elf.c | 164 struct Elf32_Shdr *shdr; local 169 shdr= elf32_find_section_header_name(elfbase, elfsize, ".eh_frame"); 170 if (shdr != NULL) { 171 size = shdr->sh_size; 172 addr = shdr->sh_addr; 185 shdr= elf32_find_section_header_name(elfbase, elfsize, ".eh_frame_hdr"); 186 if (shdr != NULL) { 187 size = shdr->sh_size; 188 addr = shdr->sh_addr; 205 struct Elf64_Shdr *shdr; local [all...] |
H A D | elf32.c | 56 * \param shdr Pointer to head of ELF section header table. 63 elf32_find_section_header_type(struct Elf32_Shdr *shdr, argument 69 struct Elf32_Shdr *s = &shdr[i]; 129 * \param shdr Pointer to head of ELF section header table. 136 elf32_find_section_header_vaddr(struct Elf32_Shdr *shdr, argument 142 struct Elf32_Shdr *s = &shdr[i];
|
H A D | elf64.c | 66 * \param shdr Pointer to head of ELF section header table. 73 elf64_find_section_header_type(struct Elf64_Shdr * shdr, argument 79 struct Elf64_Shdr *s = &shdr[i]; 364 * \param shdr Pointer to head of ELF section header table. 371 elf64_find_section_header_vaddr(struct Elf64_Shdr * shdr, argument 377 struct Elf64_Shdr *s = &shdr[i];
|
/barrelfish-2018-10-04/tools/arm_boot/ |
H A D | arm_bootimage.c | 195 Elf32_Shdr *shdr= elf32_getshdr(scn); local 196 if(!shdr) fail_elf("elf_getshdr"); 198 switch(shdr->sh_type) { 201 shdr_rel= shdr; 205 shdr_sym= shdr; 212 image->symtab_size= shdr->sh_size; 213 image->symtab_entsize= shdr->sh_entsize; 214 image->symtab= malloc(shdr->sh_size); 217 assert(shdr->sh_offset + shdr 523 Elf32_Shdr *shdr= elf32_getshdr(scn); local 620 Elf32_Shdr *shdr= image->shdrs + i * image->shdrs_entsize; local 703 Elf32_Shdr *shdr= elf32_getshdr(new_scn[i]); local 756 Elf32_Shdr *shdr= elf32_getshdr(scn); local 786 Elf32_Shdr *shdr= elf32_getshdr(scn); local 822 Elf32_Shdr *shdr= elf32_getshdr(scn); local [all...] |
/barrelfish-2018-10-04/lib/libc/gen/ |
H A D | nlist.c | 246 Elf_Shdr *shdr = NULL; local 272 shdr = (Elf_Shdr *)base; 281 if (shdr[i].sh_type == SHT_SYMTAB) { 282 symoff = shdr[i].sh_offset; 283 symsize = shdr[i].sh_size; 284 symstroff = shdr[shdr[i].sh_link].sh_offset; 285 symstrsize = shdr[shdr[i].sh_link].sh_size; 351 elf_sym_to_nlist(p, s, shdr, 374 elf_sym_to_nlist(struct nlist *nl, Elf_Sym *s, Elf_Shdr *shdr, int shnum) argument [all...] |
/barrelfish-2018-10-04/tools/fastmodels/ |
H A D | build_multiboot.c | 103 Elf64_Shdr *shdr= elf64_getshdr(scn); local 104 if(!shdr) { 110 memcpy(&shdrs[i], shdr, sizeof(Elf64_Shdr));
|
H A D | main.c | 381 Elf64_Shdr *shdr= elf64_getshdr(scn); local 382 if(!shdr) elf_fail("elf64_getshdr"); 383 sh_type= shdr->sh_type; 390 if(sh_type == SHT_SYMTAB) sh_symtab= shdr; 391 if(sh_type == SHT_STRTAB) sh_strtab= shdr;
|
/barrelfish-2018-10-04/tools/weever/ |
H A D | elf64.c | 106 * \param shdr Pointer to head of ELF section header table. 113 elf64_find_section_header_type(struct Elf64_Shdr * shdr, argument 119 struct Elf64_Shdr *s = &shdr[i]; 179 * \param shdr Pointer to head of ELF section header table. 186 elf64_find_section_header_vaddr(struct Elf64_Shdr * shdr, argument 192 struct Elf64_Shdr *s = &shdr[i];
|
/barrelfish-2018-10-04/usr/drivers/cpuboot/arch/armv8/ |
H A D | boot_arch.c | 292 struct Elf64_Shdr *shdr= &shead[i]; local 293 if(shdr->sh_type == SHT_REL || shdr->sh_type == SHT_RELA) { 294 if(shdr->sh_info != 0) { 307 if(shdr->sh_type == SHT_REL){ 313 assert(rsize == shdr->sh_entsize); 314 size_t nrel= shdr->sh_size / rsize; 316 void * reldata = (void*)(binary->vaddr + shdr->sh_offset); 322 switch(shdr->sh_type) {
|
/barrelfish-2018-10-04/include/elf/ |
H A D | elf.h | 743 elf64_find_section_header_type(struct Elf64_Shdr *shdr, 746 elf32_find_section_header_type(struct Elf32_Shdr *shdr,
|
Completed in 67 milliseconds