/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Writer.h | 27 : p_align(type == llvm::ELF::PT_LOAD ? config->maxPageSize : 0), in PhdrEntry() 36 uint32_t p_align = 0; member
|
H A D | InputSection.cpp | 688 ((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 D | Writer.cpp | 784 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 D | gelf_phdr.c | 85 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 D | elf_types.m4 | 159 `p_align, WORD', 170 `p_align, XWORD',
|
/freebsd/sys/arm/arm/ |
H A D | dump_machdep.c | 95 phdr.p_align = PAGE_SIZE; in dumpsys_write_aux_headers()
|
/freebsd/contrib/file/src/ |
H A D | readelf.h | 183 Elf32_Word p_align; member 194 Elf64_Xword p_align; member
|
H A D | readelf.c | 176 ? 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 D | tls.c | 439 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 D | sanitizer_freebsd.h |
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | BuildID.cpp | 39 return N.getDesc(P.p_align); in getBuildID()
|
/freebsd/sys/sys/ |
H A D | elf32.h | 114 Elf32_Word p_align; /* Alignment in memory and file. */ member
|
H A D | elf64.h | 123 Elf64_Xword p_align; /* Alignment in memory and file. */ member
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ELF.h | 412 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 D | ELFTypes.h | 543 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 D | ELFHeader.h | 200 elf_xword p_align; ///< Segment alignment constraint. member
|
H A D | ELFHeader.cpp | 387 if (!GetMaxU64(data, offset, &p_align, byte_size)) in Parse()
|
/freebsd/libexec/rtld-elf/ |
H A D | map_object.c | 135 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 D | segments.c | 582 ophdr.p_align = iphdr.p_align; in copy_phdr()
|
/freebsd/usr.bin/gcore/ |
H A D | elfcore.c | 293 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 D | ELF.h | 1454 Elf32_Word p_align; // Segment alignment constraint member 1466 Elf64_Xword p_align; // Segment alignment constraint member
|
/freebsd/sys/kern/ |
H A D | imgact_elf.c | 1174 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 D | kern_dump.c | 268 phdr.p_align = PAGE_SIZE; in cb_dumphdr()
|
/freebsd/lib/libpmcstat/ |
H A D | libpmcstat_image.c | 416 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 D | ELFDump.cpp | 320 << format("align 2**%u\n", llvm::countr_zero<uint64_t>(Phdr.p_align)) in printProgramHeaders()
|