Home
last modified time | relevance | path

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

/Linux-v5.10/arch/arm64/kernel/
Dmodule-plts.c239 dstsec->sh_addralign = max(dstsec->sh_addralign, in count_plts()
356 pltsec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
364 pltsec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
372 tramp->sh_addralign = __alignof__(struct plt_entry); in module_frob_arch_sections()
/Linux-v5.10/arch/riscv/kernel/
Dmodule-sections.c140 mod->arch.plt.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
147 mod->arch.got.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
154 mod->arch.got_plt.shdr->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
/Linux-v5.10/arch/arm/kernel/
Dmodule-plts.c244 mod->arch.core.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
251 mod->arch.init.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
/Linux-v5.10/include/uapi/linux/
Delf.h313 Elf32_Word sh_addralign; member
326 Elf64_Xword sh_addralign; /* Section alignment */ member
/Linux-v5.10/tools/bpf/resolve_btfids/
Dmain.c278 if (sh->sh_addralign == expected) in compressed_section_fix()
282 sh->sh_addralign, expected); in compressed_section_fix()
284 sh->sh_addralign = expected; in compressed_section_fix()
/Linux-v5.10/arch/ia64/kernel/
Dmodule.c468 mod->arch.core_plt->sh_addralign = 16; in module_frob_arch_sections()
472 mod->arch.init_plt->sh_addralign = 16; in module_frob_arch_sections()
476 mod->arch.got->sh_addralign = 8; in module_frob_arch_sections()
480 mod->arch.opd->sh_addralign = 8; in module_frob_arch_sections()
/Linux-v5.10/arch/powerpc/kernel/
Dmodule_64.c302 if (sechdrs[i].sh_addralign < 8) in module_frob_arch_sections()
303 sechdrs[i].sh_addralign = 8; in module_frob_arch_sections()
/Linux-v5.10/tools/objtool/
Delf.c714 sec->sh.sh_addralign = 1; in elf_create_section()
779 sec->sh.sh_addralign = 8; in elf_create_rel_reloc_section()
809 sec->sh.sh_addralign = 8; in elf_create_rela_reloc_section()
/Linux-v5.10/arch/alpha/kernel/
Dmodule.c105 got->sh_addralign = 8; in module_frob_arch_sections()
/Linux-v5.10/arch/mips/boot/
Delf2ecoff.c216 s->sh_addralign = swab32(s->sh_addralign); in convert_elf_shdrs()
/Linux-v5.10/arch/mips/boot/tools/
Drelocs.c287 sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign); in read_shdrs()
/Linux-v5.10/scripts/
Drecordmcount.h311 mcsec.sh_addralign = _w(_size); in append_func()
326 mcsec.sh_addralign = _w(_size); in append_func()
/Linux-v5.10/arch/x86/tools/
Drelocs.c435 sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign); in read_shdrs()
/Linux-v5.10/kernel/
Dkexec_file.c848 align = sechdrs[i].sh_addralign; in kexec_purgatory_setup_kbuf()
922 align = sechdrs[i].sh_addralign; in kexec_purgatory_setup_sechdrs()
Dmodule.c656 unsigned long align = pcpusec->sh_addralign; in percpu_modalloc()
2438 ret = ALIGN(*size, sechdr->sh_addralign ?: 1); in get_offset()
2745 info->symoffs = ALIGN(mod->core_layout.size, symsect->sh_addralign ?: 1); in layout_symtab()
/Linux-v5.10/arch/mips/kernel/
Dvpe.c173 ret = ALIGN(*size, sechdr->sh_addralign ? : 1); in get_offset()
/Linux-v5.10/scripts/mod/
Dmodpost.c565 sechdrs[i].sh_addralign = TO_NATIVE(sechdrs[i].sh_addralign); in parse_elf()