Searched refs:elf64 (Results 1 – 25 of 42) sorted by relevance
12
330 == offsetof (struct Elf, state.elf64.scns)); in file_read_elf()456 elf->state.elf64.ehdr = ehdr; in file_read_elf()461 elf->state.elf64.ehdr = memcpy (&elf->state.elf64.ehdr_mem, e_ident, in file_read_elf()466 CONVERT (elf->state.elf64.ehdr_mem.e_type); in file_read_elf()467 CONVERT (elf->state.elf64.ehdr_mem.e_machine); in file_read_elf()468 CONVERT (elf->state.elf64.ehdr_mem.e_version); in file_read_elf()469 CONVERT (elf->state.elf64.ehdr_mem.e_entry); in file_read_elf()470 CONVERT (elf->state.elf64.ehdr_mem.e_phoff); in file_read_elf()471 CONVERT (elf->state.elf64.ehdr_mem.e_shoff); in file_read_elf()472 CONVERT (elf->state.elf64.ehdr_mem.e_flags); in file_read_elf()[all …]
66 == offsetof (struct Elf, state.elf64.ehdr)); in elf_getshdrstrndx()68 == sizeof (elf->state.elf64.ehdr)); in elf_getshdrstrndx()81 : elf->state.elf64.ehdr->e_shstrndx); in elf_getshdrstrndx()156 if (unlikely (elf->state.elf64.scns.cnt == 0)) in elf_getshdrstrndx()164 if (elf->state.elf64.scns.data[0].shdr.e64 != NULL) in elf_getshdrstrndx()166 num = elf->state.elf64.scns.data[0].shdr.e64->sh_link; in elf_getshdrstrndx()170 size_t offset = elf->state.elf64.ehdr->e_shoff; in elf_getshdrstrndx()173 && elf->state.elf64.ehdr->e_ident[EI_DATA] == MY_ELFDATA in elf_getshdrstrndx()214 if (elf->state.elf64.ehdr->e_ident[EI_DATA] != MY_ELFDATA) in elf_getshdrstrndx()
118 == offsetof (struct Elf, state.elf64.rawchunks)) in elf_end()120 : elf->state.elf64.rawchunks); in elf_end()132 == offsetof (struct Elf, state.elf64.scns)) in elf_end()134 : &elf->state.elf64.scns); in elf_end()191 == offsetof (struct Elf, state.elf64.scns)) in elf_end()193 : &elf->state.elf64.scns)) in elf_end()203 == offsetof (struct Elf, state.elf64.shdr)) in elf_end()205 : (void *) elf->state.elf64.shdr); in elf_end()211 == offsetof (struct Elf, state.elf64.phdr)) in elf_end()213 : (void *) elf->state.elf64.phdr); in elf_end()
44 if (unlikely (elf->state.elf64.ehdr == NULL)) in __elf_getphdrnum_rdlock()54 : elf->state.elf64.ehdr->e_phnum); in __elf_getphdrnum_rdlock()60 : &elf->state.elf64.scns); in __elf_getphdrnum_rdlock()79 Elf_Scn *scn = &elf->state.elf64.scns.data[0]; in __elf_getphdrnum_rdlock()102 : elf->state.elf64.ehdr->e_phoff); in __elf_getphdrnum_chk_rdlock()
57 == offsetof (Elf, state.elf64.scns_last)); in elf_newscn()59 == offsetof (Elf, state.elf64.scns)); in elf_newscn()72 == offsetof (Elf, state.elf64.scns)) in elf_newscn()73 ? &elf->state.elf32.scns : &elf->state.elf64.scns))) in elf_newscn()
60 != offsetof (struct Elf, state.elf64.ehdr)) in __gelf_getehdr_rdlock()63 if (unlikely (elf->state.elf64.ehdr == NULL)) in __gelf_getehdr_rdlock()91 result = memcpy (dest, elf->state.elf64.ehdr, sizeof (*dest)); in __gelf_getehdr_rdlock()
109 Elf64_Phdr *phdr = elf->state.elf64.phdr; in gelf_update_phdr()121 if (ndx >= elf->state.elf64.ehdr->e_phnum in gelf_update_phdr()122 && (elf->state.elf64.ehdr->e_phnum != PN_XNUM in gelf_update_phdr()
58 == offsetof (struct Elf, state.elf64.ehdr)) in elf_getident()60 : elf->state.elf64.ehdr->e_ident); in elf_getident()
58 == offsetof (Elf, state.elf64.scns))) in elf_nextscn()61 list = &elf->state.elf64.scns; in elf_nextscn()
62 == offsetof (Elf, state.elf64.scns)) in __elf_getshdrnum_rdlock()63 ? &elf->state.elf32.scns : &elf->state.elf64.scns))) in __elf_getshdrnum_rdlock()
57 == offsetof (struct Elf, state.elf64.ehdr)) in elf_newdata()59 : scn->elf->state.elf64.ehdr == NULL) in elf_newdata()
60 == offsetof (struct Elf, state.elf64.scns)) in elf_getscn()61 ? &elf->state.elf32.scns : &elf->state.elf64.scns); in elf_getscn()
94 == offsetof (struct Elf, state.elf64.scns)) in elf_strptr()95 ? &elf->state.elf32.scns : &elf->state.elf64.scns); in elf_strptr()
403 == offsetof (struct Elf, state.elf64.ehdr))) in __libelf_set_rawdata_wrlock()408 elf->state.elf64.ehdr->e_ident[EI_VERSION]; in __libelf_set_rawdata_wrlock()458 == offsetof (struct Elf, state.elf64.ehdr)) in __libelf_set_data_list_rdlock()460 : elf->state.elf64.ehdr->e_ident[EI_DATA]), in __libelf_set_data_list_rdlock()
69 == offsetof (struct Elf, state.elf64.scns)); in elf_clone()
97 Elf64_Ehdr *ehdr = elf->state.elf64.ehdr; in gelf_update_ehdr()
106 Elf64_Phdr *phdr = elf->state.elf64.phdr; in gelf_getphdr()
78 if ((elf->state.elf64.ehdr->e_flags & EF_RISCV_FLOAT_ABI) in riscv_init()81 else if ((elf->state.elf64.ehdr->e_flags & EF_RISCV_FLOAT_ABI) in riscv_init()
83 LIBUNWIND_ELF = libunwind-elf64.la182 noinst_HEADERS += elf32.h elf64.h elfxx.h185 libunwind_elf64_la_SOURCES = elf64.c589 libunwind_aarch64_la_LIBADD += libunwind-elf64.la622 libunwind_ia64_la_LIBADD = libunwind-elf64.la671 libunwind_riscv_la_LIBADD += libunwind-elf64.la695 libunwind_x86_64_la_LIBADD += libunwind-elf64.la719 libunwind_ppc64_la_LIBADD += libunwind-elf64.la743 libunwind_s390x_la_LIBADD += libunwind-elf64.la
14 ASMFLAGS += -f elf64
15 ASMFLAGS += -f elf64
26 ASMFLAGS += -f elf64
... 1testfile-bpf-reloc.o: elf64-elf_bpf 2 3 4RELOCATION RECORDS FOR [. ...
69 asm_outformat = 'elf64'
156 "src/elf64.c",160 "src/elf64.c",194 "src/elf64.c",