Home
last modified time | relevance | path

Searched refs:p_align (Results 1 – 25 of 37) sorted by relevance

12

/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.h27 : p_align(type == llvm::ELF::PT_LOAD ? config->maxPageSize : 0), in PhdrEntry()
36 uint32_t p_align = 0; member
H A DInputSection.cpp688 ((tls->p_vaddr - config->wordsize * 2) & (tls->p_align - 1)); in getTlsTpOffset()
695 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)) - 0x7000; in getTlsTpOffset()
703 return s.getVA(0) + (tls->p_vaddr & (tls->p_align - 1)); in getTlsTpOffset()
712 ((-tls->p_vaddr - tls->p_memsz) & (tls->p_align - 1)); in getTlsTpOffset()
H A DWriter.cpp784 p_align = std::max(p_align, sec->addralign); in add()
2217 relRo->p_align = 1; in createPhdrs()
2414 Out::tlsPhdr->p_align); in fixSectionAlignments()
2441 return alignTo(off, os->ptLoad->p_align, os->addr); in computeFileOffset()
2557 p->p_align = part.armExidx->addralign; in setPhdrs()
/freebsd/contrib/elftoolchain/libelf/
H A Dgelf_phdr.c85 d->p_align = (Elf64_Xword) ep32->p_align; in gelf_getphdr()
168 LIBELF_COPY_U32(ph32, s, p_align); in gelf_update_phdr()
H A Delf_types.m4159 `p_align, WORD',
170 `p_align, XWORD',
/freebsd/sys/arm/arm/
H A Ddump_machdep.c95 phdr.p_align = PAGE_SIZE; in dumpsys_write_aux_headers()
/freebsd/contrib/file/src/
H A Dreadelf.h183 Elf32_Word p_align; member
194 Elf64_Xword p_align; member
H A Dreadelf.c176 ? CAST(off_t, (ph32.p_align ? \
177 elf_getu32(swap, ph32.p_align) : 4))\
178 : CAST(off_t, (ph64.p_align ? \
179 elf_getu64(swap, ph64.p_align) : 4))))
/freebsd/lib/libc/gen/
H A Dtls.c439 phdr[i].p_align); in _init_tls()
441 libc_tls_init_align = phdr[i].p_align; in _init_tls()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_freebsd.h
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DBuildID.cpp39 return N.getDesc(P.p_align); in getBuildID()
/freebsd/sys/sys/
H A Delf32.h114 Elf32_Word p_align; /* Alignment in memory and file. */ member
H A Delf64.h123 Elf64_Xword p_align; /* Alignment in memory and file. */ member
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELF.h412 if (Phdr.p_align != 0 && Phdr.p_align != 1 && Phdr.p_align != 4 && in notes_begin()
413 Phdr.p_align != 8) { in notes_begin()
415 createError("alignment (" + Twine(Phdr.p_align) + ") is not 4 or 8"); in notes_begin()
419 std::max<size_t>(Phdr.p_align, 4), Err); in notes_begin()
H A DELFTypes.h543 Elf_Word p_align; // Segment alignment constraint
556 Elf_Xword p_align; // Segment alignment constraint
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h200 elf_xword p_align; ///< Segment alignment constraint. member
H A DELFHeader.cpp387 if (!GetMaxU64(data, offset, &p_align, byte_size)) in Parse()
/freebsd/libexec/rtld-elf/
H A Dmap_object.c135 if ((segs[nsegs]->p_align & (page_size - 1)) != 0) { in map_object()
320 obj->tlsalign = phtls->p_align; in map_object()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dsegments.c582 ophdr.p_align = iphdr.p_align; in copy_phdr()
/freebsd/usr.bin/gcore/
H A Delfcore.c293 phdr->p_align = page_size; in cb_put_phdr()
544 phdr->p_align = sizeof(Elf32_Size); in elf_puthdr()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h1454 Elf32_Word p_align; // Segment alignment constraint member
1466 Elf64_Xword p_align; // Segment alignment constraint member
/freebsd/sys/kern/
H A Dimgact_elf.c1174 if (!powerof2(phdr[i].p_align) || in __CONCAT()
1175 phdr[i].p_align > maxsalign) { in __CONCAT()
1180 if (phdr[i].p_align > maxalign) in __CONCAT()
1181 maxalign = phdr[i].p_align; in __CONCAT()
1724 phdr->p_align = PAGE_SIZE; in cb_put_phdr()
1983 phdr->p_align = ELF_NOTE_ROUNDSIZE; in __elfN()
H A Dkern_dump.c268 phdr.p_align = PAGE_SIZE; in cb_dumphdr()
/freebsd/lib/libpmcstat/
H A Dlibpmcstat_image.c416 image->pi_vaddr = ph.p_vaddr & (-ph.p_align); in pmcstat_image_get_elf_params()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp320 << format("align 2**%u\n", llvm::countr_zero<uint64_t>(Phdr.p_align)) in printProgramHeaders()

12