Home
last modified time | relevance | path

Searched refs:sh_addralign (Results 1 – 25 of 60) 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()
200 __libelf_data_type (elf, sh_type, sh_addralign)); in elf_compress_gnu()
Delf_compress.c366 Elf64_Xword sh_addralign; in elf_compress() local
375 sh_addralign = shdr->sh_addralign; in elf_compress()
385 sh_addralign = shdr->sh_addralign; in elf_compress()
446 chdr.ch_addralign = sh_addralign; in elf_compress()
463 shdr->sh_addralign = __libelf_type_align (ELFCLASS32, ELF_T_CHDR); in elf_compress()
470 shdr->sh_addralign = __libelf_type_align (ELFCLASS64, ELF_T_CHDR); in elf_compress()
514 shdr->sh_addralign = scn->zdata_align; in elf_compress()
521 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.c212 ElfW2(LIBELFBITS,Word) sh_align = shdr->sh_addralign ?: 1; in __elfw2()
341 if (unlikely (! powerof2 (shdr->sh_addralign)) in __elfw2()
342 || unlikely ((shdr->sh_addralign ?: 1) < sh_align)) in __elfw2()
351 update_if_changed (shdr->sh_addralign, sh_align, in __elfw2()
Delf32_getshdr.c148 CONVERT_TO (shdr[cnt].sh_addralign, in ElfW2()
149 notcvt[cnt].sh_addralign); in ElfW2()
197 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-7.0/llvm/tools/yaml2obj/
Dyaml2elf.cpp244 SHeader.sh_addralign = Sec->AddressAlign; in initSectionHeaders()
293 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in initSectionHeaders()
316 SHeader.sh_addralign = 8; in initSymtabSectionHeader()
340 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign), in initSymtabSectionHeader()
352 STB.write(CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign)); in initStrtabSectionHeader()
354 SHeader.sh_addralign = 1; in initStrtabSectionHeader()
416 PHeader.p_align = std::max(PHeader.p_align, SHeader.sh_addralign); in setProgramHeaderLayout()
460 CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
492 auto &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign); in writeSectionContent()
531 auto &OS = 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/swiftshader/third_party/LLVM/test/MC/ELF/
Dentsize.ll31 ; 64-NEXT: ('sh_addralign', 0x0000000000000001)
42 ; 64-NEXT: ('sh_addralign', 0x0000000000000008)
/external/elfutils/tests/
Dasm-tst1.c231 if ((cnt == 1 && shdr->sh_addralign != 32) in main()
232 || (cnt != 1 && shdr->sh_addralign != 1)) in main()
Dasm-tst2.c253 if ((cnt == 1 && shdr->sh_addralign != 16) in main()
254 || (cnt != 1 && shdr->sh_addralign != 1)) in main()
Dasm-tst9.c283 if ((cnt == 1 && shdr->sh_addralign != 16) in main()
284 || (cnt != 1 && shdr->sh_addralign != 1)) in main()
Daddsections.c190 shdr->sh_addralign = 1; in add_sections()
237 shdr->sh_addralign = 1; in add_sections()
Dfillfile.c92 shdr->sh_addralign = 1; in create_strtab()
153 shdr->sh_addralign = 128; // Large alignment to force gap between sections. in add_data_section()
Delfstrmerge.c598 newshdr.sh_addralign = newdata->d_align; in main()
608 size_t addralign = newshdr.sh_addralign ?: 1; in main()
617 newshdr.sh_addralign = 0; in main()
/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.c84 const GElf_Xword align = shdr->sh_addralign ?: 1; in __libdwfl_elf_address_range()
118 = prev_shdr->sh_addralign ?: 1; in __libdwfl_elf_address_range()
/external/kernel-headers/original/uapi/linux/
Delf.h312 Elf32_Word sh_addralign; member
325 Elf64_Xword sh_addralign; /* Section alignment */ member
/external/elfutils/libasm/
Dasm_end.c237 shdr->sh_addralign = sizeof (Elf32_Word); in binary_end()
282 shdr->sh_addralign = gelf_fsize (ctx->out.elf, ELF_T_ADDR, 1, in binary_end()
430 shdr->sh_addralign = asmscn->max_align; in binary_end()
/external/swiftshader/third_party/LLVM/test/MC/ARM/
Dxscale-attributes.ll29 ; OBJ-NEXT: 'sh_addralign', 0x00000001
/external/swiftshader/third_party/LLVM/test/Scripts/
Delf-dump64 self.sh_addralign = f.readWord()
76 print " ('sh_addralign', %s)" % common_dump.HexDump(self.sh_addralign)
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
D2010-11-30-reloc-movt.ll20 ; OBJ-NEXT: 'sh_addralign'
D2010-12-08-tpsoft.ll35 ; ELFOBJ-NEXT: 'sh_addralign'
/external/u-boot/include/
Delf.h240 Elf32_Word sh_addralign; /* address alignment */ member
254 Elf64_Xword sh_addralign; /* address alignment */ member

123