Searched refs:sh_addralign (Results 1 – 17 of 17) sorted by relevance
| /linux/arch/arm64/kernel/ |
| H A D | module-plts.c | 232 dstsec->sh_addralign = max(dstsec->sh_addralign, in count_plts() 349 pltsec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections() 357 pltsec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections() 365 tramp->sh_addralign = __alignof__(struct plt_entry); in module_frob_arch_sections() 372 init_tramp->sh_addralign = __alignof__(struct plt_entry); in module_frob_arch_sections()
|
| /linux/arch/loongarch/kernel/ |
| H A D | module-sections.c | 155 got_sec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections() 163 plt_sec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections() 171 plt_idx_sec->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections() 179 tramp->sh_addralign = __alignof__(struct plt_entry); in module_frob_arch_sections()
|
| /linux/arch/arm/kernel/ |
| H A D | module-plts.c | 276 mod->arch.core.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections() 284 mod->arch.init.plt->sh_addralign = L1_CACHE_BYTES; in module_frob_arch_sections()
|
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | fw.h | 51 __le32 sh_addralign; member
|
| /linux/tools/lib/bpf/ |
| H A D | linker.c | 423 sec->shdr->sh_addralign = 1; in init_output_elf() 466 sec->shdr->sh_addralign = 8; in init_output_elf() 854 if (sec->shdr->sh_addralign && !is_pow_of_2(sec->shdr->sh_addralign)) { in linker_sanity_check_elf() 856 sec->sec_idx, (long long unsigned)sec->shdr->sh_addralign, in linker_sanity_check_elf() 860 if (sec->shdr->sh_addralign != sec->data->d_align) { in linker_sanity_check_elf() 862 sec->sec_idx, (long long unsigned)sec->shdr->sh_addralign, in linker_sanity_check_elf() 1184 shdr->sh_addralign = src_sec->shdr->sh_addralign; in init_sec() 1284 dst_align = dst->shdr->sh_addralign; in extend_sec() 1285 src_align = src->shdr->sh_addralign; in extend_sec() 1328 dst->shdr->sh_addralign = dst_align; in extend_sec() [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | module_64.c | 446 if (sechdrs[i].sh_addralign < 8) in module_frob_arch_sections() 447 sechdrs[i].sh_addralign = 8; in module_frob_arch_sections() 452 if (sechdrs[i].sh_addralign < 8) in module_frob_arch_sections() 453 sechdrs[i].sh_addralign = 8; in module_frob_arch_sections()
|
| /linux/tools/objtool/ |
| H A D | elf.c | 1396 if (!strtab->sh.sh_addralign) { in elf_add_data() 1397 ERROR("'%s': invalid sh_addralign", strtab->name); in elf_add_data() 1401 offset = ALIGN(sec_size(strtab), strtab->sh.sh_addralign); in elf_add_data() 1414 if (!sec->sh.sh_addralign) { in elf_add_data() 1415 ERROR("'%s': invalid sh_addralign", sec->name); in elf_add_data() 1441 sec->data->d_align = sec->sh.sh_addralign; in elf_create_section() 1443 offset = ALIGN(sec_size(sec), sec->sh.sh_addralign); in elf_create_section() 1509 sec->sh.sh_addralign = align; in elf_create_section()
|
| H A D | klp-diff.c | 932 patched_sec->sh.sh_addralign, in klp_reloc_needed() 947 offset = ALIGN(sec_size(out_sec), out_sec->sh.sh_addralign); in klp_reloc_needed() 2205 patched_sec->sh.sh_addralign,
|
| H A D | check.c | 991 sec->sh.sh_addralign = addr_size; in create_mcount_loc_sections()
|
| /linux/arch/alpha/kernel/ |
| H A D | module.c | 105 got->sh_addralign = 8; in module_frob_arch_sections()
|
| /linux/scripts/ |
| H A D | recordmcount.h | 316 mcsec.sh_addralign = _w(_size); in append_func() 331 mcsec.sh_addralign = _w(_size); in append_func()
|
| /linux/arch/mips/boot/ |
| H A D | elf2ecoff.c | 216 s->sh_addralign = swab32(s->sh_addralign); in convert_elf_shdrs()
|
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 288 sec->shdr.sh_addralign = elf_xword_to_cpu(shdr.sh_addralign); in read_shdrs()
|
| /linux/arch/mips/kernel/ |
| H A D | vpe.c | 174 ret = ALIGN(*size, sechdr->sh_addralign ? : 1); in get_offset()
|
| /linux/scripts/mod/ |
| H A D | modpost.c | 512 sechdrs[i].sh_addralign = TO_NATIVE(sechdrs[i].sh_addralign); in parse_elf()
|
| /linux/kernel/module/ |
| H A D | main.c | 458 unsigned long align = pcpusec->sh_addralign; in percpu_modalloc() 1663 offset = ALIGN(mod->mem[type].size, sechdr->sh_addralign ?: 1); in module_get_offset_and_type() 2835 arch_mod_section_prepend(mod, i), shdr->sh_addralign); in move_module()
|
| /linux/tools/perf/util/ |
| H A D | symbol-elf.c | 394 *plt_entry_size = shdr_plt->sh_addralign == 8 ? 8 : 16; in get_plt_sizes() 1336 if (offs && PERF_ALIGN(offs, shdr.sh_addralign ?: 1) != shdr.sh_offset) in ref_reloc()
|