Home
last modified time | relevance | path

Searched refs:sh_addralign (Results 1 – 25 of 64) sorted by relevance

123

/third_party/elfutils/libelf/
Delf_compress_gnu.c61 Elf64_Xword sh_addralign; in elf_compress_gnu() local
70 sh_addralign = shdr->sh_addralign; in elf_compress_gnu()
80 sh_addralign = shdr->sh_addralign; in elf_compress_gnu()
199 __libelf_reset_rawdata (scn, buf_out, size, sh_addralign, in elf_compress_gnu()
201 sh_addralign)); in elf_compress_gnu()
Delf_compress.c362 Elf64_Xword sh_addralign; in elf_compress() local
371 sh_addralign = shdr->sh_addralign; in elf_compress()
381 sh_addralign = shdr->sh_addralign; in elf_compress()
442 chdr.ch_addralign = sh_addralign; in elf_compress()
459 shdr->sh_addralign = __libelf_type_align (ELFCLASS32, ELF_T_CHDR); in elf_compress()
466 shdr->sh_addralign = __libelf_type_align (ELFCLASS64, ELF_T_CHDR); in elf_compress()
510 shdr->sh_addralign = scn->zdata_align; in elf_compress()
517 shdr->sh_addralign = scn->zdata_align; in elf_compress()
Delf32_updatenull.c214 ElfW2(LIBELFBITS,SizeWord) sh_align = shdr->sh_addralign ?: 1; in __elfw2()
276 update_if_changed (shdr->sh_addralign, sh_align, in __elfw2()
355 if (unlikely (! powerof2 (shdr->sh_addralign)) in __elfw2()
356 || unlikely ((shdr->sh_addralign ?: 1) < sh_align)) in __elfw2()
365 update_if_changed (shdr->sh_addralign, sh_align, in __elfw2()
Dgelf_update_shdr.c67 || unlikely (src->sh_addralign > 0xffffffffull) in gelf_update_shdr()
84 COPY (sh_addralign); in gelf_update_shdr()
Delf32_getshdr.c146 CONVERT_TO (shdr[cnt].sh_addralign, in ElfW2()
147 notcvt[cnt].sh_addralign); in ElfW2()
195 CONVERT (shdr[cnt].sh_addralign); in ElfW2()
Dgelf_getshdr.c78 COPY (sh_addralign); in gelf_getshdr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DELFEmitter.cpp440 SHeader.sh_addralign = Sec->AddressAlign; in initSectionHeaders()
472 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in initSectionHeaders()
627 SHeader.sh_addralign = YAMLSec ? (uint64_t)YAMLSec->AddressAlign : 8; in initSymtabSectionHeader()
630 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in initSymtabSectionHeader()
651 SHeader.sh_addralign = YAMLSec ? (uint64_t)YAMLSec->AddressAlign : 1; in initStrtabSectionHeader()
656 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in initStrtabSectionHeader()
700 Ret.push_back({H.sh_offset, H.sh_size, H.sh_type, H.sh_addralign}); in getPhdrFragments()
774 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
810 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
837 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
[all …]
/third_party/elfutils/tests/
Delfcopy.c224 && last_shdr.sh_addralign == shdr.sh_addralign in copy_elf()
225 && shdr.sh_addralign == 1 in copy_elf()
Dasm-tst1.c232 if ((cnt == 1 && shdr->sh_addralign != 32) in main()
233 || (cnt != 1 && shdr->sh_addralign != 1)) in main()
Dasm-tst2.c254 if ((cnt == 1 && shdr->sh_addralign != 16) in main()
255 || (cnt != 1 && shdr->sh_addralign != 1)) in main()
Dasm-tst9.c284 if ((cnt == 1 && shdr->sh_addralign != 16) in main()
285 || (cnt != 1 && shdr->sh_addralign != 1)) in main()
Daddsections.c209 shdr->sh_addralign = 1; in add_sections()
256 shdr->sh_addralign = 1; in add_sections()
Dfillfile.c93 shdr->sh_addralign = 1; in create_strtab()
154 shdr->sh_addralign = 128; // Large alignment to force gap between sections. in add_data_section()
Delfstrmerge.c608 newshdr.sh_addralign = newdata->d_align; in main()
618 size_t addralign = newshdr.sh_addralign ?: 1; in main()
627 newshdr.sh_addralign = 0; in main()
Dsectiondump.c111 shdr->sh_addralign, in handle_section()
/third_party/mesa3d/src/amd/common/
Dac_rgp_elf_object_pack.c451 sec_hdr[2].sh_addralign = 256; in ac_rgp_file_write_elf_object()
459 sec_hdr[3].sh_addralign = 8; in ac_rgp_file_write_elf_object()
467 sec_hdr[4].sh_addralign = 4; in ac_rgp_file_write_elf_object()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceELFSection.h54 Header.sh_addralign = ShAddralign; in ELFSection()
82 Elf64_Xword getSectionAlign() const { return Header.sh_addralign; } in getSectionAlign()
325 Str.writeELFXword<IsELF64>(Header.sh_addralign); in writeHeader()
/third_party/elfutils/libdwfl/
Ddwfl_report_elf.c82 const GElf_Xword align = shdr->sh_addralign ?: 1; in __libdwfl_elf_address_range()
116 = prev_shdr->sh_addralign ?: 1; in __libdwfl_elf_address_range()
/third_party/elfutils/libasm/
Dasm_end.c234 shdr->sh_addralign = sizeof (Elf32_Word); in binary_end()
279 shdr->sh_addralign = gelf_fsize (ctx->out.elf, ELF_T_ADDR, 1, in binary_end()
427 shdr->sh_addralign = asmscn->max_align; in binary_end()
/third_party/libbpf/src/
Dlinker.c375 sec->shdr->sh_addralign = 1; in init_output_elf()
416 sec->shdr->sh_addralign = 8; in init_output_elf()
722 if (sec->shdr->sh_addralign && !is_pow_of_2(sec->shdr->sh_addralign)) in linker_sanity_check_elf()
724 if (sec->shdr->sh_addralign != sec->data->d_align) in linker_sanity_check_elf()
1022 shdr->sh_addralign = src_sec->shdr->sh_addralign; in init_sec()
1104 dst_align = dst->shdr->sh_addralign; in extend_sec()
1105 src_align = src->shdr->sh_addralign; in extend_sec()
1132 dst->shdr->sh_addralign = dst_align; in extend_sec()
2640 shdr->sh_addralign = align; in emit_elf_data_sec()
/third_party/libunwind/include/win/
Dfreebsd-elf32.h86 Elf32_Word sh_addralign; /* Alignment in bytes. */ member
Dfreebsd-elf64.h99 Elf64_Xword sh_addralign; /* Alignment in bytes. */ member
/third_party/libunwind/include/mingw/
Dfreebsd-elf32.h86 Elf32_Word sh_addralign; /* Alignment in bytes. */ member
Dfreebsd-elf64.h99 Elf64_Xword sh_addralign; /* Alignment in bytes. */ member
/third_party/skia/buildtools/third_party/eu-strip/
Dfix-elf-size.patch33 update_if_changed (shdr->sh_addralign, sh_align,

123