/linux-6.12.1/arch/loongarch/kernel/ |
D | module-sections.c | 156 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-6.12.1/arch/arm64/kernel/ |
D | module-plts.c | 232 dstsec->sh_addralign = max(dstsec->sh_addralign, in count_plts() 346 pltsec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections() 354 pltsec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections() 362 tramp->sh_addralign = __alignof__(struct plt_entry); in module_frob_arch_sections()
|
/linux-6.12.1/arch/riscv/kernel/ |
D | module-sections.c | 140 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-6.12.1/arch/arm/kernel/ |
D | module-plts.c | 264 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-6.12.1/include/uapi/linux/ |
D | elf.h | 317 Elf32_Word sh_addralign; member 330 Elf64_Xword sh_addralign; /* Section alignment */ member
|
/linux-6.12.1/tools/lib/bpf/ |
D | linker.c | 375 sec->shdr->sh_addralign = 1; in init_output_elf() 416 sec->shdr->sh_addralign = 8; in init_output_elf() 725 if (sec->shdr->sh_addralign && !is_pow_of_2(sec->shdr->sh_addralign)) { in linker_sanity_check_elf() 727 sec->sec_idx, (long long unsigned)sec->shdr->sh_addralign, in linker_sanity_check_elf() 731 if (sec->shdr->sh_addralign != sec->data->d_align) { in linker_sanity_check_elf() 733 sec->sec_idx, (long long unsigned)sec->shdr->sh_addralign, in linker_sanity_check_elf() 1055 shdr->sh_addralign = src_sec->shdr->sh_addralign; in init_sec() 1137 dst_align = dst->shdr->sh_addralign; in extend_sec() 1138 src_align = src->shdr->sh_addralign; in extend_sec() 1177 dst->shdr->sh_addralign = dst_align; in extend_sec() [all …]
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | module_64.c | 419 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-6.12.1/tools/bpf/resolve_btfids/ |
D | main.c | 312 if (sh->sh_addralign == expected) in compressed_section_fix() 316 sh->sh_addralign, expected); in compressed_section_fix() 318 sh->sh_addralign = expected; in compressed_section_fix()
|
/linux-6.12.1/arch/s390/tools/ |
D | relocs.c | 210 sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign); in read_shdrs()
|
/linux-6.12.1/arch/alpha/kernel/ |
D | module.c | 105 got->sh_addralign = 8; in module_frob_arch_sections()
|
/linux-6.12.1/arch/mips/boot/tools/ |
D | relocs.c | 287 sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign); in read_shdrs()
|
/linux-6.12.1/scripts/ |
D | recordmcount.h | 316 mcsec.sh_addralign = _w(_size); in append_func() 331 mcsec.sh_addralign = _w(_size); in append_func()
|
/linux-6.12.1/arch/mips/boot/ |
D | elf2ecoff.c | 216 s->sh_addralign = swab32(s->sh_addralign); in convert_elf_shdrs()
|
/linux-6.12.1/kernel/ |
D | kexec_file.c | 851 align = sechdrs[i].sh_addralign; in kexec_purgatory_setup_kbuf() 926 align = sechdrs[i].sh_addralign; in kexec_purgatory_setup_sechdrs()
|
/linux-6.12.1/arch/x86/tools/ |
D | relocs.c | 462 sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign); in read_shdrs()
|
/linux-6.12.1/kernel/module/ |
D | kallsyms.c | 142 info->symoffs = ALIGN(mod_mem_data->size, symsect->sh_addralign ?: 1); in layout_symtab()
|
D | main.c | 380 unsigned long align = pcpusec->sh_addralign; in percpu_modalloc() 1513 offset = ALIGN(mod->mem[type].size, sechdr->sh_addralign ?: 1); in module_get_offset_and_type()
|
/linux-6.12.1/tools/objtool/ |
D | elf.c | 1144 sec->sh.sh_addralign = 1; in elf_create_section() 1190 rsec->sh.sh_addralign = elf_addr_size(elf); in elf_create_rela_section()
|
D | check.c | 1012 sec->sh.sh_addralign = addr_size; in create_mcount_loc_sections()
|
/linux-6.12.1/arch/mips/kernel/ |
D | vpe.c | 173 ret = ALIGN(*size, sechdr->sh_addralign ? : 1); in get_offset()
|
/linux-6.12.1/scripts/mod/ |
D | modpost.c | 496 sechdrs[i].sh_addralign = TO_NATIVE(sechdrs[i].sh_addralign); in parse_elf()
|
/linux-6.12.1/tools/perf/util/ |
D | symbol-elf.c | 463 *plt_entry_size = shdr_plt->sh_addralign == 8 ? 8 : 16; in get_plt_sizes() 1376 if (offs && PERF_ALIGN(offs, shdr.sh_addralign ?: 1) != shdr.sh_offset) in max_text_section()
|