Searched refs:Elf64_Shdr (Results 1 – 25 of 30) sorted by relevance
12
175 & (__alignof__ (Elf64_Shdr) - 1)) == 0)) in elf_getshdrstrndx()180 < sizeof (Elf64_Shdr))) in elf_getshdrstrndx()189 num = ((Elf64_Shdr *) (elf->map_address + elf->start_offset in elf_getshdrstrndx()196 Elf64_Shdr shdr_mem; in elf_getshdrstrndx()199 sizeof (Elf64_Shdr), offset) in elf_getshdrstrndx()200 != sizeof (Elf64_Shdr))) in elf_getshdrstrndx()
74 Elf64_Shdr *shdr = elf64_getshdr (scn); in elf_compress_gnu()128 Elf64_Shdr *shdr = elf64_getshdr (scn); in elf_compress_gnu()192 Elf64_Shdr *shdr = elf64_getshdr (scn); in elf_compress_gnu()
197 || unlikely (ehdr.e64->e_shoff + sizeof (Elf64_Shdr) > maxsize)) in get_shnum()205 & (__alignof__ (Elf64_Shdr) - 1)) == 0)) in get_shnum()207 size = ((Elf64_Shdr *) ((char *) map_address + ehdr.e64->e_shoff in get_shnum()214 memcpy (&size, &((Elf64_Shdr *) ((char *) map_address in get_shnum()221 + offsetof (Elf64_Shdr, sh_size)) in get_shnum()238 || maxsize - ehdr.e64->e_shoff < sizeof (Elf64_Shdr) * result) in get_shnum()275 else if (scncnt > SIZE_MAX / (sizeof (Elf_Scn) + sizeof (Elf64_Shdr))) in file_read_elf()448 & (__alignof__ (Elf64_Shdr) - 1)) == 0))) in file_read_elf()452 < scncnt * sizeof (Elf64_Shdr))) in file_read_elf()455 = (Elf64_Shdr *) ((char *) ehdr + e_shoff); in file_read_elf()
134 result->shdr.e64 = (Elf64_Shdr *) calloc (1, sizeof (Elf64_Shdr)); in elf_newscn()
232 Elf64_Shdr *e64; /* Pointer to 64bit section header. */364 Elf64_Shdr *shdr; /* Used when reading from a file. */538 extern Elf64_Shdr *__elf64_getshdr_rdlock (Elf_Scn *__scn) internal_function;540 extern Elf64_Shdr *__elf64_getshdr_wrlock (Elf_Scn *__scn) internal_function;
359 Elf64_Shdr *shdr = elf64_getshdr (scn); in elf_compress()448 Elf64_Shdr *shdr = elf64_getshdr (scn); in elf_compress()499 Elf64_Shdr *shdr = elf64_getshdr (scn); in elf_compress()
85 Elf64_Shdr *shdr in gelf_getshdr()
89 Elf64_Shdr *shdr in gelf_update_shdr()
130 Elf64_Shdr *shdr = strscn->shdr.e64 ?: __elf64_getshdr_rdlock (strscn); in elf_strptr()
65 typedef Elf64_Shdr GElf_Shdr;
303 extern Elf64_Shdr *elf64_getshdr (Elf_Scn *__scn);
245 Elf64_Shdr *shdr in __libelf_set_rawdata_wrlock()
40 Elf64_Shdr *shdr; in find_gp()41 Elf64_Shdr *str_shdr; in find_gp()75 shdr = (Elf64_Shdr *) ((char *) edi->ei.image + soff); in find_gp()76 str_shdr = (Elf64_Shdr *) ((char *) edi->ei.image + str_soff); in find_gp()86 shdr = (Elf64_Shdr *) (((char *) shdr) + ehdr->e_shentsize); in find_gp()
62 typedef Elf64_Shdr Shdr;
73 D16(addr_size_ == 8 ? sizeof(Elf64_Shdr) : sizeof(Elf32_Shdr)); in ELF()
163 # define XElf_Shdr Elf64_Shdr192 # define XElf_Shdr_vardef(name) Elf64_Shdr *name275 case ELF_T_SHDR: fsize = sizeof (Elf64_Shdr); break; \
1052 size_t shsize = class32 ? sizeof (Elf32_Shdr) : sizeof (Elf64_Shdr); in find_alloc_sections_prelink()1069 Elf64_Shdr (*s64)[shnum - 1] = shdr; in find_alloc_sections_prelink()
143 ? sizeof (Elf32_Shdr) : sizeof (Elf64_Shdr)); in test()
323 } Elf64_Shdr; typedef
916 (Elf64_Half)sizeof(Elf64_Shdr), /* e_shentsize */ in writeObjectCode()922 static Elf64_Shdr sectionHeaders64[5]={ in writeObjectCode()
435 size_t shdr_size = class32 ? sizeof (Elf32_Shdr) : sizeof (Elf64_Shdr); in find_prelink_address_sync()498 Elf64_Shdr (*s64)[shnum - 1] = shdrs; in find_prelink_address_sync()
614 struct Elf64_Shdr { struct
120 #define Elf_Shdr Elf64_Shdr
186 #define Elf_Shdr Elf64_Shdr
351 write16(is64Bit() ? sizeof(ELF::Elf64_Shdr) : sizeof(ELF::Elf32_Shdr)); in writeHeader()