Lines Matching refs:elf64
395 elf->state.elf64.scns.cnt = elf->state.elf64.scns.max = scncnt; in file_read_elf()
407 elf->state.elf64.ehdr = ehdr; in file_read_elf()
408 elf->state.elf64.shdr in file_read_elf()
413 elf->state.elf64.phdr in file_read_elf()
418 elf->state.elf64.scns.data[cnt].index = cnt; in file_read_elf()
419 elf->state.elf64.scns.data[cnt].elf = elf; in file_read_elf()
420 elf->state.elf64.scns.data[cnt].shdr.e64 = in file_read_elf()
421 &elf->state.elf64.shdr[cnt]; in file_read_elf()
422 elf->state.elf64.scns.data[cnt].rawdata_base = in file_read_elf()
423 elf->state.elf64.scns.data[cnt].data_base = in file_read_elf()
425 + elf->state.elf64.shdr[cnt].sh_offset); in file_read_elf()
426 elf->state.elf64.scns.data[cnt].list = &elf->state.elf64.scns; in file_read_elf()
431 if (elf->state.elf64.shdr[cnt].sh_type == SHT_SYMTAB_SHNDX in file_read_elf()
432 && elf->state.elf64.shdr[cnt].sh_link < scncnt) in file_read_elf()
433 elf->state.elf64.scns.data[elf->state.elf64.shdr[cnt].sh_link].shndx_index in file_read_elf()
438 if (elf->state.elf64.scns.data[cnt].shndx_index == 0) in file_read_elf()
439 elf->state.elf64.scns.data[cnt].shndx_index = -1; in file_read_elf()
445 elf->state.elf64.ehdr = memcpy (&elf->state.elf64.ehdr_mem, e_ident, in file_read_elf()
450 CONVERT (elf->state.elf64.ehdr_mem.e_type); in file_read_elf()
451 CONVERT (elf->state.elf64.ehdr_mem.e_machine); in file_read_elf()
452 CONVERT (elf->state.elf64.ehdr_mem.e_version); in file_read_elf()
453 CONVERT (elf->state.elf64.ehdr_mem.e_entry); in file_read_elf()
454 CONVERT (elf->state.elf64.ehdr_mem.e_phoff); in file_read_elf()
455 CONVERT (elf->state.elf64.ehdr_mem.e_shoff); in file_read_elf()
456 CONVERT (elf->state.elf64.ehdr_mem.e_flags); in file_read_elf()
457 CONVERT (elf->state.elf64.ehdr_mem.e_ehsize); in file_read_elf()
458 CONVERT (elf->state.elf64.ehdr_mem.e_phentsize); in file_read_elf()
459 CONVERT (elf->state.elf64.ehdr_mem.e_phnum); in file_read_elf()
460 CONVERT (elf->state.elf64.ehdr_mem.e_shentsize); in file_read_elf()
461 CONVERT (elf->state.elf64.ehdr_mem.e_shnum); in file_read_elf()
462 CONVERT (elf->state.elf64.ehdr_mem.e_shstrndx); in file_read_elf()
467 elf->state.elf64.scns.data[cnt].index = cnt; in file_read_elf()
468 elf->state.elf64.scns.data[cnt].elf = elf; in file_read_elf()
469 elf->state.elf64.scns.data[cnt].list = &elf->state.elf64.scns; in file_read_elf()
474 elf->state.elf64.scns_last = &elf->state.elf64.scns; in file_read_elf()
990 == offsetof (struct Elf, state.elf64.scns)); in write_file()