Searched refs:Elf32_Shdr (Results 1 – 25 of 34) sorted by relevance
12
114 & (__alignof__ (Elf32_Shdr) - 1)) == 0)) in elf_getshdrstrndx()119 < sizeof (Elf32_Shdr))) in elf_getshdrstrndx()128 num = ((Elf32_Shdr *) (elf->map_address + elf->start_offset in elf_getshdrstrndx()135 Elf32_Shdr shdr_mem; in elf_getshdrstrndx()138 sizeof (Elf32_Shdr), offset) in elf_getshdrstrndx()139 != sizeof (Elf32_Shdr))) in elf_getshdrstrndx()
64 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress_gnu()123 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress_gnu()187 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress_gnu()
148 || unlikely (maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr))) in get_shnum()155 & (__alignof__ (Elf32_Shdr) - 1)) == 0)) in get_shnum()157 result = ((Elf32_Shdr *) ((char *) map_address + ehdr.e32->e_shoff in get_shnum()166 memcpy (&size, &((Elf32_Shdr *) ((char *) map_address in get_shnum()173 + offsetof (Elf32_Shdr, sh_size)) in get_shnum()186 || maxsize - ehdr.e32->e_shoff < sizeof (Elf32_Shdr) * result) in get_shnum()272 if (scncnt > SIZE_MAX / (sizeof (Elf_Scn) + sizeof (Elf32_Shdr))) in file_read_elf()346 & (__alignof__ (Elf32_Shdr) - 1)) == 0))) in file_read_elf()350 < scncnt * sizeof (Elf32_Shdr))) in file_read_elf()358 = (Elf32_Shdr *) ((char *) ehdr + e_shoff); in file_read_elf()
125 result->shdr.e32 = (Elf32_Shdr *) calloc (1, sizeof (Elf32_Shdr)); in elf_newscn()
231 Elf32_Shdr *e32; /* Pointer to 32bit section header. */339 Elf32_Shdr *shdr; /* Used when reading from a file. */537 extern Elf32_Shdr *__elf32_getshdr_rdlock (Elf_Scn *__scn) internal_function;539 extern Elf32_Shdr *__elf32_getshdr_wrlock (Elf_Scn *__scn) internal_function;
349 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress()441 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress()492 Elf32_Shdr *shdr = elf32_getshdr (scn); in elf_compress()
59 Elf32_Shdr *shdr in gelf_getshdr()
54 Elf32_Shdr *shdr in gelf_update_shdr()
104 Elf32_Shdr *shdr = strscn->shdr.e32 ?: __elf32_getshdr_rdlock (strscn); in elf_strptr()
301 extern Elf32_Shdr *elf32_getshdr (Elf_Scn *__scn);
230 Elf32_Shdr *shdr in __libelf_set_rawdata_wrlock()
49 typedef Elf32_Shdr Shdr;
73 D16(addr_size_ == 8 ? sizeof(Elf64_Shdr) : sizeof(Elf32_Shdr)); in ELF()
31 # define XElf_Shdr Elf32_Shdr60 # define XElf_Shdr_vardef(name) Elf32_Shdr *name143 case ELF_T_SHDR: fsize = sizeof (Elf32_Shdr); break; \
47 .e_shentsize = sizeof (Elf32_Shdr),
143 ? sizeof (Elf32_Shdr) : sizeof (Elf64_Shdr)); in test()
43 Elf32_Shdr *shdr; in main()
55 .e_shentsize = sizeof (Elf32_Shdr),
130 Elf32_Shdr *shdr = elf32_getshdr (scn); in main()
310 } Elf32_Shdr; typedef
799 (Elf32_Half)sizeof(Elf32_Shdr), /* e_shentsize */ in writeObjectCode()805 static Elf32_Shdr sectionHeaders32[5]={ in writeObjectCode()
600 struct Elf32_Shdr { struct
435 size_t shdr_size = class32 ? sizeof (Elf32_Shdr) : sizeof (Elf64_Shdr); in find_prelink_address_sync()490 Elf32_Shdr (*s32)[shnum - 1] = shdrs; in find_prelink_address_sync()