Lines Matching refs:elf64
300 == offsetof (struct Elf, state.elf64.scns));
412 elf->state.elf64.ehdr = ehdr;
413 elf->state.elf64.shdr
421 elf->state.elf64.scns.data[cnt].index = cnt;
422 elf->state.elf64.scns.data[cnt].elf = elf;
423 elf->state.elf64.scns.data[cnt].shdr.e64 =
424 &elf->state.elf64.shdr[cnt];
425 if (likely (elf->state.elf64.shdr[cnt].sh_offset < maxsize)
426 && likely (maxsize - elf->state.elf64.shdr[cnt].sh_offset
427 <= elf->state.elf64.shdr[cnt].sh_size))
428 elf->state.elf64.scns.data[cnt].rawdata_base =
429 elf->state.elf64.scns.data[cnt].data_base =
431 + elf->state.elf64.shdr[cnt].sh_offset);
432 elf->state.elf64.scns.data[cnt].list = &elf->state.elf64.scns;
437 if (elf->state.elf64.shdr[cnt].sh_type == SHT_SYMTAB_SHNDX
438 && elf->state.elf64.shdr[cnt].sh_link < scncnt)
439 elf->state.elf64.scns.data[elf->state.elf64.shdr[cnt].sh_link].shndx_index
444 if (elf->state.elf64.scns.data[cnt].shndx_index == 0)
445 elf->state.elf64.scns.data[cnt].shndx_index = -1;
451 elf->state.elf64.ehdr = memcpy (&elf->state.elf64.ehdr_mem, e_ident,
456 CONVERT (elf->state.elf64.ehdr_mem.e_type);
457 CONVERT (elf->state.elf64.ehdr_mem.e_machine);
458 CONVERT (elf->state.elf64.ehdr_mem.e_version);
459 CONVERT (elf->state.elf64.ehdr_mem.e_entry);
460 CONVERT (elf->state.elf64.ehdr_mem.e_phoff);
461 CONVERT (elf->state.elf64.ehdr_mem.e_shoff);
462 CONVERT (elf->state.elf64.ehdr_mem.e_flags);
463 CONVERT (elf->state.elf64.ehdr_mem.e_ehsize);
464 CONVERT (elf->state.elf64.ehdr_mem.e_phentsize);
465 CONVERT (elf->state.elf64.ehdr_mem.e_phnum);
466 CONVERT (elf->state.elf64.ehdr_mem.e_shentsize);
467 elf64.ehdr_mem.e_shnum);
468 CONVERT (elf->state.elf64.ehdr_mem.e_shstrndx);
473 elf->state.elf64.scns.data[cnt].index = cnt;
474 elf->state.elf64.scns.data[cnt].elf = elf;
475 elf->state.elf64.scns.data[cnt].list = &elf->state.elf64.scns;
480 elf->state.elf64.scns_last = &elf->state.elf64.scns;
996 == offsetof (struct Elf, state.elf64.scns));