Lines Matching refs:arch
81 if (ptr < (void *)mod->arch.start_opd || in dereference_module_function_descriptor()
82 ptr >= (void *)mod->arch.end_opd) in dereference_module_function_descriptor()
337 symindex, me->arch.pcpu_section); in get_got_size()
413 me->arch.stubs_section = i; in module_frob_arch_sections()
416 me->arch.pcpu_section = i; in module_frob_arch_sections()
418 me->arch.got_section = i; in module_frob_arch_sections()
424 me->arch.toc_section = i; in module_frob_arch_sections()
440 if (!me->arch.stubs_section) { in module_frob_arch_sections()
446 if (!me->arch.got_section) { in module_frob_arch_sections()
452 sechdrs[me->arch.got_section].sh_size = get_got_size(hdr, sechdrs, me); in module_frob_arch_sections()
458 if (!me->arch.toc_section) in module_frob_arch_sections()
459 me->arch.toc_section = me->arch.stubs_section; in module_frob_arch_sections()
463 sechdrs[me->arch.stubs_section].sh_size = get_stubs_size(hdr, sechdrs); in module_frob_arch_sections()
583 return (sechdrs[me->arch.toc_section].sh_addr & ~0xfful) + 0x8000; in my_r2()
675 num_stubs = sechdrs[me->arch.stubs_section].sh_size / sizeof(*stubs); in stub_for_addr()
678 stubs = (void *)sechdrs[me->arch.stubs_section].sh_addr; in stub_for_addr()
706 num_got = sechdrs[me->arch.got_section].sh_size / sizeof(*got); in got_for_addr()
709 got = (void *)sechdrs[me->arch.got_section].sh_addr; in got_for_addr()
781 if (!me->arch.toc_fixed) { in apply_relocate_add()
787 me->arch.toc_fixed = true; in apply_relocate_add()
939 if (sym->st_shndx != me->arch.pcpu_section) { in apply_relocate_add()
1091 mod->arch.tramp = stub_for_addr(sechdrs, in module_finalize_ftrace()
1096 mod->arch.tramp_regs = stub_for_addr(sechdrs, in module_finalize_ftrace()
1100 if (!mod->arch.tramp_regs) in module_finalize_ftrace()
1104 if (!mod->arch.tramp) in module_finalize_ftrace()