Home
last modified time | relevance | path

Searched refs:Elf_Addr (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/arch/riscv/kernel/
A Dmodule.c48 Elf_Addr v) in apply_r_riscv_branch_rela()
61 Elf_Addr v) in apply_r_riscv_jal_rela()
74 Elf_Addr v) in apply_r_riscv_rvc_branch_rela()
107 Elf_Addr v) in apply_r_riscv_pcrel_hi20_rela()
125 Elf_Addr v) in apply_r_riscv_pcrel_lo12_i_rela()
136 Elf_Addr v) in apply_r_riscv_pcrel_lo12_s_rela()
150 Elf_Addr v) in apply_r_riscv_hi20_rela()
237 Elf_Addr v) in apply_r_riscv_call_rela()
257 Elf_Addr v) in apply_r_riscv_relax_rela()
263 Elf_Addr v) in apply_r_riscv_align_rela()
[all …]
/linux-6.3-rc2/arch/mips/kernel/
A Dmodule.c28 Elf_Addr *addr;
29 Elf_Addr value;
50 Elf_Addr v) in apply_r_mips_26()
90 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16()
114 Elf_Addr val, vallo; in apply_r_mips_lo16()
213 Elf_Addr v) in apply_r_mips_pc16()
219 Elf_Addr v) in apply_r_mips_pc21()
225 Elf_Addr v) in apply_r_mips_pc26()
235 *(Elf_Addr *)location = v; in apply_r_mips_64()
280 Elf_Addr v, bool rela) in reloc_handler()
[all …]
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dmodule.h29 Elf_Addr symbol_addr;
40 Elf_Addr symbol_addr;
43 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val);
44 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val);
46 static inline struct got_entry emit_got_entry(Elf_Addr val) in emit_got_entry()
95 static inline struct got_entry *get_got_entry(Elf_Addr val, in get_got_entry()
/linux-6.3-rc2/arch/loongarch/kernel/
A Dmodule.c46 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none()
59 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32()
66 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64()
69 *(Elf_Addr *)location = v; in apply_r_larch_64()
105 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_plt_pcrel()
279 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_b26()
318 (void *)((Elf_Addr)location & ~0xfff); in apply_r_larch_pcala()
319 Elf_Addr anchor = (((Elf_Addr)location) & ~0xfff) + offset_hi20; in apply_r_larch_pcala()
347 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_got_pc()
350 Elf_Addr got = module_emit_got_entry(mod, sechdrs, v); in apply_r_larch_got_pc()
[all …]
A Dmodule-sections.c11 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_got_entry()
18 return (Elf_Addr)got; in module_emit_got_entry()
34 return (Elf_Addr)&got[i]; in module_emit_got_entry()
37 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_plt_entry()
46 return (Elf_Addr)plt; in module_emit_plt_entry()
60 return (Elf_Addr)&plt[nr]; in module_emit_plt_entry()
/linux-6.3-rc2/arch/sparc/kernel/
A Dmodule.c96 Elf_Addr v; in apply_relocate_add()
115 v -= (Elf_Addr) location; in apply_relocate_add()
131 v -= (Elf_Addr) location; in apply_relocate_add()
153 v -= (Elf_Addr) location; in apply_relocate_add()
159 v -= (Elf_Addr) location; in apply_relocate_add()
/linux-6.3-rc2/arch/s390/kernel/
A Dmodule.c188 static int apply_rela_bits(Elf_Addr loc, Elf_Addr val, in apply_rela_bits()
199 val = (Elf_Addr)(((long) val) >> shift); in apply_rela_bits()
235 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela()
240 Elf_Addr loc, val; in apply_rela()
307 Elf_Addr *gotent = me->core_layout.base + in apply_rela()
332 val += (Elf_Addr) me->core_layout.base - loc; in apply_rela()
378 val = (Elf_Addr) me->core_layout.base + in apply_rela()
400 ((Elf_Addr) me->core_layout.base + me->arch.got_offset); in apply_rela()
410 val = (Elf_Addr) me->core_layout.base + me->arch.got_offset + in apply_rela()
444 Elf_Addr base; in __apply_relocate_add()
A Dkexec_elf.c22 Elf_Addr entry; in kexec_file_add_kernel_elf()
/linux-6.3-rc2/include/asm-generic/
A Dmodule.h21 #define Elf_Addr Elf64_Addr macro
38 #define Elf_Addr Elf32_Addr macro
/linux-6.3-rc2/arch/parisc/kernel/
A Dmodule.c390 static Elf_Addr get_fdesc(struct module *me, unsigned long value) in get_fdesc()
402 return (Elf_Addr)fdesc; in get_fdesc()
410 fdesc->gp = (Elf_Addr)me->core_layout.base + me->arch.got_offset; in get_fdesc()
411 return (Elf_Addr)fdesc; in get_fdesc()
421 static Elf_Addr get_stub(struct module *me, unsigned long value, long addend, in get_stub()
422 enum elf_stub_type stub_type, Elf_Addr loc0, unsigned int targetsec) in get_stub()
514 return (Elf_Addr)stub; in get_stub()
531 Elf_Addr loc0; in apply_relocate_add()
677 Elf_Addr loc0; in apply_relocate_add()
842 gp = (Elf_Addr)me->core_layout.base + me->arch.got_offset; in register_unwind_table()
/linux-6.3-rc2/arch/mips/include/asm/
A Dmodule.h42 #define Elf_Addr Elf32_Addr macro
60 #define Elf_Addr Elf64_Addr macro
/linux-6.3-rc2/scripts/
A Dsorttable.h26 #undef Elf_Addr
51 # define Elf_Addr Elf64_Addr macro
75 # define Elf_Addr Elf32_Addr macro
192 Elf_Addr av = _r(a); in compare_extable()
193 Elf_Addr bv = _r(b); in compare_extable()
A Drecordmcount.h39 #undef Elf_Addr
78 # define Elf_Addr Elf64_Addr macro
116 # define Elf_Addr Elf32_Addr macro
180 static Elf_Addr old_r_offset = ~(Elf_Addr)0; in MIPS_is_fake_mcount()
181 Elf_Addr current_r_offset = _w(rp->r_offset); in MIPS_is_fake_mcount()
184 is_fake = (old_r_offset != ~(Elf_Addr)0) && in MIPS_is_fake_mcount()
/linux-6.3-rc2/scripts/mod/
A Dmodpost.h28 #define Elf_Addr Elf32_Addr macro
42 #define Elf_Addr Elf64_Addr macro
A Dmodpost.c55 #define MODULE_NAME_LEN (64 - sizeof(Elf_Addr))
1191 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2()
1196 Elf_Addr distance = ~0; in find_elf_symbol2()
/linux-6.3-rc2/arch/x86/tools/
A Drelocs.c8 #define Elf_Addr ElfW(Addr) macro
777 static Elf_Addr per_cpu_load_addr;
/linux-6.3-rc2/arch/mips/boot/tools/
A Drelocs.c8 #define Elf_Addr ElfW(Addr) macro

Completed in 32 milliseconds