Home
last modified time | relevance | path

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

123

/external/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()
Dgelf_update_shdr.c67 || unlikely (src->sh_addralign > 0xffffffffull) in gelf_update_shdr()
84 COPY (sh_addralign); in gelf_update_shdr()
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()
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()
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp204 SHeader.sh_addralign = Sec->AddressAlign; in initSectionHeaders()
253 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in initSectionHeaders()
272 SHeader.sh_addralign = 8; in initSymtabSectionHeader()
296 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign), in initSymtabSectionHeader()
308 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign) in initStrtabSectionHeader()
311 SHeader.sh_addralign = 1; in initStrtabSectionHeader()
348 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
375 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
413 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
444 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
/external/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 …]
/external/google-breakpad/src/common/linux/
Dsynth_elf_unittest.cc250 EXPECT_EQ(0U, shdr[0].sh_addralign); in TYPED_TEST()
261 EXPECT_EQ(0U, shdr[1].sh_addralign); in TYPED_TEST()
325 EXPECT_EQ(0U, shdr[0].sh_addralign); in TYPED_TEST()
336 EXPECT_EQ(0U, shdr[1].sh_addralign); in TYPED_TEST()
347 EXPECT_EQ(0U, shdr[2].sh_addralign); in TYPED_TEST()
358 EXPECT_EQ(0U, shdr[3].sh_addralign); in TYPED_TEST()
/external/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()
/external/zucchini/aosp/include/components/zucchini/
Dtype_elf.h123 Elf32_Word sh_addralign; member
136 Elf64_Xword sh_addralign; member
/external/zucchini/
Dtype_elf.h123 Elf32_Word sh_addralign; member
136 Elf64_Xword sh_addralign; member
/external/perfetto/src/profiling/symbolizer/
Delf.h83 Word sh_addralign; member
137 Xword sh_addralign; member
/external/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()
/external/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()
/external/kernel-headers/original/uapi/linux/
Delf.h317 Elf32_Word sh_addralign; member
330 Elf64_Xword sh_addralign; /* Section alignment */ member
/external/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()
/external/libbpf/src/
Dlinker.c375 sec->shdr->sh_addralign = 1; in init_output_elf()
416 sec->shdr->sh_addralign = 8; in init_output_elf()
727 if (sec->shdr->sh_addralign && !is_pow_of_2(sec->shdr->sh_addralign)) in linker_sanity_check_elf()
729 if (sec->shdr->sh_addralign != sec->data->d_align) in linker_sanity_check_elf()
1027 shdr->sh_addralign = src_sec->shdr->sh_addralign; in init_sec()
1109 dst_align = dst->shdr->sh_addralign; in extend_sec()
1110 src_align = src->shdr->sh_addralign; in extend_sec()
1137 dst->shdr->sh_addralign = dst_align; in extend_sec()
2643 shdr->sh_addralign = align; in emit_elf_data_sec()

123