Home
last modified time | relevance | path

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

12

/openbmc/openbmc/poky/meta/recipes-devtools/patchelf/patchelf/
H A D0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch4 Subject: [PATCH] align startOffset with p_align instead of pagesize for
10 mod p_align) == (p_offset mod p_align), and will output the error message
14 that newly added LOAD segments satisfy (p_vaddr mod p_align) == (p_offset mod
15 p_align) for compatibility.
34 + (p_vaddr mod p_align) == (p_offset mod p_align).
37 + wrong, but here startOffset is calculated according to p_align for
H A D0003-make-LOAD-segment-extensions-based-on-p_align-instea.patch4 Subject: [PATCH] make LOAD segment extensions based on p_align instead of
7 Since the p_align of the LOAD segment is no longer pagesize, the actual p_align
27 rdi(lastSeg.p_align) == alignStartPage) {
/openbmc/linux/arch/s390/kernel/
H A Dkexec_elf.c42 buf.mem = ALIGN(phdr->p_paddr, phdr->p_align); in kexec_file_add_kernel_elf()
46 data->memsz = ALIGN(data->memsz, phdr->p_align) + buf.memsz; in kexec_file_add_kernel_elf()
93 size = ALIGN(size, phdr->p_align); in s390_elf_load()
101 size += ALIGN(phdr->p_filesz, phdr->p_align); in s390_elf_load()
/openbmc/linux/tools/testing/selftests/exec/
H A Dload_address.c31 if (info->dlpi_phdr[i].p_align > stats->alignment) in ExtractStatistics()
32 stats->alignment = info->dlpi_phdr[i].p_align; in ExtractStatistics()
/openbmc/openbmc/poky/meta/recipes-devtools/patchelf/
H A Dpatchelf_0.18.0.bb9 file://0002-align-startOffset-with-p_align-instead-of-pagesize-f.patch \
10 file://0003-make-LOAD-segment-extensions-based-on-p_align-instea.patch \
/openbmc/linux/kernel/
H A Dkexec_elf.c225 phdr->p_align = elf64_to_cpu(ehdr, buf_phdr->p_align); in elf_read_phdr()
234 phdr->p_align = elf32_to_cpu(ehdr, buf_phdr->p_align); in elf_read_phdr()
414 kbuf->buf_align = phdr->p_align; in kexec_elf_load()
/openbmc/linux/arch/powerpc/boot/
H A Delf.h103 Elf32_Word p_align; member
114 Elf64_Xword p_align; /* Segment alignment, file & memory */ member
/openbmc/openbmc/poky/meta/recipes-core/glibc/ldconfig-native-2.12.1/
H A Dendian-ness_handling_fix.patch38 - if (!*osversion && read32(segment->p_filesz, be) >= 32 && read32(segment->p_align, be) >= 4)
39 + if (!*osversion && read64(segment->p_filesz, be) >= 32 && read64(segment->p_align, be) >= 4)
H A Dendian-ness_handling.patch102 - if (!*osversion && segment->p_filesz >= 32 && segment->p_align >= 4)
103 + if (!*osversion && read32(segment->p_filesz, be) >= 32 && segment->p_align >= 4)
248 - if (!*osversion && segment->p_filesz >= 32 && segment->p_align >= 4)
249 + if (!*osversion && read32(segment->p_filesz, be) >= 32 && read32(segment->p_align, be) >= 4)
H A D32and64bit.patch104 + if (!*osversion && segment->p_filesz >= 32 && segment->p_align >= 4)
261 if (!*osversion && segment->p_filesz >= 32 && segment->p_align >= 4)
/openbmc/openbmc/poky/scripts/
H A Drelocate_sdk.py85 p_memsz, p_flags, p_align = struct.unpack(ph_fmt, ph_hdr)
89 p_filesz, p_memsz, p_align = struct.unpack(ph_fmt, ph_hdr)
/openbmc/linux/include/uapi/linux/
H A Delf.h257 Elf32_Word p_align; member
268 Elf64_Xword p_align; /* Segment alignment, file & memory */ member
/openbmc/linux/drivers/phy/ti/
H A Dphy-j721e-wiz.c140 static const struct reg_field p_align[WIZ_MAX_LANES] = { variable
364 struct regmap_field *p_align[WIZ_MAX_LANES]; member
474 ret = regmap_field_write(wiz->p_align[i], enable); in wiz_init_raw_interface()
619 wiz->p_align[i] = devm_regmap_field_alloc(dev, regmap, in wiz_regfield_init()
620 p_align[i]); in wiz_regfield_init()
621 if (IS_ERR(wiz->p_align[i])) { in wiz_regfield_init()
623 return PTR_ERR(wiz->p_align[i]); in wiz_regfield_init()
/openbmc/linux/arch/arm64/kernel/
H A Delfcore.c106 phdr.p_align = 0; in elf_core_write_extra_phdrs()
/openbmc/u-boot/include/
H A Delf.h439 Elf32_Word p_align; /* memory alignment */ member
450 Elf64_Xword p_align; /* memory alignment */ member
/openbmc/linux/tools/testing/selftests/proc/
H A Dproc-pid-vm.c105 uint64_t p_align; member
194 ph.p_align = 4096; in make_exe()
/openbmc/linux/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h77 ELF_GEN_FIELD_GET_SET(phdr, p_align, u64) in ELF_GEN_FIELD_GET_SET()
/openbmc/linux/fs/
H A Dbinfmt_elf.c444 unsigned long p_align = cmds[i].p_align; in maximum_alignment() local
447 if (!is_power_of_2(p_align)) in maximum_alignment()
449 alignment = max(alignment, p_align); in maximum_alignment()
1521 phdr->p_align = 4; in fill_elf_note_phdr()
2120 phdr.p_align = ELF_EXEC_PAGESIZE; in elf_core_dump()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dopal-core.c384 phdr->p_align = 0; in create_opalcore()
398 phdr->p_align = 0; in create_opalcore()
/openbmc/qemu/include/hw/
H A Delf_ops.h.inc27 bswapSZs(&phdr->p_align); /* Segment alignment */
605 nhdr = glue(get_elf_note_type, SZ)(nhdr, file_size, ph->p_align,
608 elf_note_fn((void *)nhdr, (void *)&ph->p_align, SZ == 64);
/openbmc/linux/arch/mips/boot/
H A Delf2ecoff.c198 p->p_align = swab32(p->p_align); in convert_elf_phdrs()
/openbmc/linux/arch/powerpc/kernel/
H A Dfadump.c1090 phdr->p_align = 0; in fadump_create_elfcore_headers()
1105 phdr->p_align = 0; in fadump_create_elfcore_headers()
1149 phdr->p_align = 0; in fadump_create_elfcore_headers()
/openbmc/linux/arch/x86/boot/compressed/
H A Dmisc.c313 if ((phdr->p_align % 0x200000) != 0) in parse_elf()
/openbmc/qemu/include/
H A Delf.h1547 Elf32_Word p_align; member
1558 Elf64_Xword p_align; /* Segment alignment, file & memory */ member
/openbmc/linux/tools/perf/util/
H A Dgenelf.c302 phdr[0].p_align = 8; in jit_write_elf()

12