Home
last modified time | relevance | path

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

/Linux-v6.6/arch/loongarch/kernel/
Dmodule-sections.c156 got_sec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
164 plt_sec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
172 plt_idx_sec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
180 tramp->sh_addralign = __alignof__(struct plt_entry); in module_frob_arch_sections()
/Linux-v6.6/arch/arm64/kernel/
Dmodule-plts.c236 dstsec->sh_addralign = max(dstsec->sh_addralign, in count_plts()
353 pltsec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
361 pltsec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
369 tramp->sh_addralign = __alignof__(struct plt_entry); in module_frob_arch_sections()
/Linux-v6.6/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-v6.6/arch/arm/kernel/
Dmodule-plts.c264 mod->arch.core.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
272 mod->arch.init.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
/Linux-v6.6/include/uapi/linux/
Delf.h317 Elf32_Word sh_addralign; member
330 Elf64_Xword sh_addralign; /* Section alignment */ member
/Linux-v6.6/tools/bpf/resolve_btfids/
Dmain.c302 if (sh->sh_addralign == expected) in compressed_section_fix()
306 sh->sh_addralign, expected); in compressed_section_fix()
308 sh->sh_addralign = expected; in compressed_section_fix()
/Linux-v6.6/arch/powerpc/kernel/
Dmodule_64.c419 if (sechdrs[i].sh_addralign < 8) in module_frob_arch_sections()
420 sechdrs[i].sh_addralign = 8; in module_frob_arch_sections()
425 if (sechdrs[i].sh_addralign < 8) in module_frob_arch_sections()
426 sechdrs[i].sh_addralign = 8; in module_frob_arch_sections()
/Linux-v6.6/tools/lib/bpf/
Dlinker.c375 sec->shdr->sh_addralign = 1; in init_output_elf()
416 sec->shdr->sh_addralign = 8; in init_output_elf()
722 if (sec->shdr->sh_addralign && !is_pow_of_2(sec->shdr->sh_addralign)) in linker_sanity_check_elf()
724 if (sec->shdr->sh_addralign != sec->data->d_align) in linker_sanity_check_elf()
1022 shdr->sh_addralign = src_sec->shdr->sh_addralign; in init_sec()
1104 dst_align = dst->shdr->sh_addralign; in extend_sec()
1105 src_align = src->shdr->sh_addralign; in extend_sec()
1144 dst->shdr->sh_addralign = dst_align; in extend_sec()
2645 shdr->sh_addralign = align; in emit_elf_data_sec()
/Linux-v6.6/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-v6.6/arch/alpha/kernel/
Dmodule.c105 got->sh_addralign = 8; in module_frob_arch_sections()
/Linux-v6.6/arch/mips/boot/
Delf2ecoff.c216 s->sh_addralign = swab32(s->sh_addralign); in convert_elf_shdrs()
/Linux-v6.6/arch/mips/boot/tools/
Drelocs.c287 sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign); in read_shdrs()
/Linux-v6.6/scripts/
Drecordmcount.h316 mcsec.sh_addralign = _w(_size); in append_func()
331 mcsec.sh_addralign = _w(_size); in append_func()
/Linux-v6.6/kernel/
Dkexec_file.c827 align = sechdrs[i].sh_addralign; in kexec_purgatory_setup_kbuf()
902 align = sechdrs[i].sh_addralign; in kexec_purgatory_setup_sechdrs()
/Linux-v6.6/arch/x86/tools/
Drelocs.c463 sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign); in read_shdrs()
/Linux-v6.6/kernel/module/
Dkallsyms.c142 info->symoffs = ALIGN(mod_mem_data->size, symsect->sh_addralign ?: 1); in layout_symtab()
Dmain.c378 unsigned long align = pcpusec->sh_addralign; in percpu_modalloc()
1488 offset = ALIGN(mod->mem[type].size, sechdr->sh_addralign ?: 1); in module_get_offset_and_type()
/Linux-v6.6/tools/objtool/
Delf.c1146 sec->sh.sh_addralign = 1; in elf_create_section()
1192 rsec->sh.sh_addralign = elf_addr_size(elf); in elf_create_rela_section()
Dcheck.c959 sec->sh.sh_addralign = addr_size; in create_mcount_loc_sections()
/Linux-v6.6/arch/mips/kernel/
Dvpe.c173 ret = ALIGN(*size, sechdr->sh_addralign ? : 1); in get_offset()
/Linux-v6.6/scripts/mod/
Dmodpost.c511 sechdrs[i].sh_addralign = TO_NATIVE(sechdrs[i].sh_addralign); in parse_elf()
/Linux-v6.6/tools/perf/util/
Dsymbol-elf.c462 *plt_entry_size = shdr_plt->sh_addralign == 8 ? 8 : 16; in get_plt_sizes()