Home
last modified time | relevance | path

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

/linux/arch/arm64/kernel/
A 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/arch/riscv/kernel/
A 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/arch/arm/kernel/
A Dmodule-plts.c269 mod->arch.core.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
277 mod->arch.init.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
/linux/include/uapi/linux/
A Delf.h313 Elf32_Word sh_addralign; member
326 Elf64_Xword sh_addralign; /* Section alignment */ member
/linux/tools/bpf/resolve_btfids/
A Dmain.c287 if (sh->sh_addralign == expected) in compressed_section_fix()
291 sh->sh_addralign, expected); in compressed_section_fix()
293 sh->sh_addralign = expected; in compressed_section_fix()
/linux/tools/lib/bpf/
A Dlinker.c374 sec->shdr->sh_addralign = 1; in init_output_elf()
415 sec->shdr->sh_addralign = 8; in init_output_elf()
726 if (sec->shdr->sh_addralign && !is_pow_of_2(sec->shdr->sh_addralign)) in linker_sanity_check_elf()
728 if (sec->shdr->sh_addralign != sec->data->d_align) in linker_sanity_check_elf()
1026 shdr->sh_addralign = src_sec->shdr->sh_addralign; in init_sec()
1108 dst_align = dst->shdr->sh_addralign; in extend_sec()
1109 src_align = src->shdr->sh_addralign; in extend_sec()
1136 dst->shdr->sh_addralign = dst_align; in extend_sec()
2639 shdr->sh_addralign = align; in emit_elf_data_sec()
/linux/arch/ia64/kernel/
A 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/arch/powerpc/kernel/
A Dmodule_64.c294 if (sechdrs[i].sh_addralign < 8) in module_frob_arch_sections()
295 sechdrs[i].sh_addralign = 8; in module_frob_arch_sections()
/linux/tools/objtool/
A Delf.c803 sec->sh.sh_addralign = 1; in elf_create_section()
849 sec->sh.sh_addralign = 8; in elf_create_rel_reloc_section()
879 sec->sh.sh_addralign = 8; in elf_create_rela_reloc_section()
/linux/arch/alpha/kernel/
A Dmodule.c105 got->sh_addralign = 8; in module_frob_arch_sections()
/linux/scripts/
A Drecordmcount.h316 mcsec.sh_addralign = _w(_size); in append_func()
331 mcsec.sh_addralign = _w(_size); in append_func()
/linux/arch/mips/boot/
A Delf2ecoff.c216 s->sh_addralign = swab32(s->sh_addralign); in convert_elf_shdrs()
/linux/arch/mips/boot/tools/
A Drelocs.c287 sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign); in read_shdrs()
/linux/arch/x86/tools/
A Drelocs.c462 sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign); in read_shdrs()
/linux/kernel/
A Dkexec_file.c860 align = sechdrs[i].sh_addralign; in kexec_purgatory_setup_kbuf()
934 align = sechdrs[i].sh_addralign; in kexec_purgatory_setup_sechdrs()
A Dmodule.c593 unsigned long align = pcpusec->sh_addralign; in percpu_modalloc()
2405 ret = ALIGN(*size, sechdr->sh_addralign ?: 1); in get_offset()
2725 info->symoffs = ALIGN(mod->core_layout.size, symsect->sh_addralign ?: 1); in layout_symtab()
/linux/arch/mips/kernel/
A Dvpe.c173 ret = ALIGN(*size, sechdr->sh_addralign ? : 1); in get_offset()
/linux/scripts/mod/
A Dmodpost.c557 sechdrs[i].sh_addralign = TO_NATIVE(sechdrs[i].sh_addralign); in parse_elf()

Completed in 50 milliseconds