Home
last modified time | relevance | path

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

/linux/arch/riscv/kernel/
H A Dmodule.c32 Elf_Addr value;
37 int (*reloc_handler)(struct module *me, void *location, Elf_Addr v);
80 static int apply_r_riscv_32_rela(struct module *me, void *location, Elf_Addr v) in apply_r_riscv_32_rela()
91 static int apply_r_riscv_64_rela(struct module *me, void *location, Elf_Addr v) in apply_r_riscv_64_rela()
98 Elf_Addr v) in apply_r_riscv_branch_rela()
110 Elf_Addr v) in apply_r_riscv_jal_rela()
122 Elf_Addr v) in apply_r_riscv_rvc_branch_rela()
136 Elf_Addr v) in apply_r_riscv_rvc_jump_rela()
153 Elf_Addr v) in apply_r_riscv_pcrel_hi20_rela()
168 Elf_Addr v) in apply_r_riscv_pcrel_lo12_i_rela()
[all …]
/linux/arch/mips/kernel/
H A Dmodule.c26 Elf_Addr *addr;
27 Elf_Addr value;
33 static void apply_r_mips_32(u32 *location, u32 base, Elf_Addr v) in apply_r_mips_32()
39 Elf_Addr v) in apply_r_mips_26()
59 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_hi16()
79 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16()
99 u32 base, Elf_Addr v, bool rela) in apply_r_mips_lo16()
103 Elf_Addr val, vallo; in apply_r_mips_lo16()
171 Elf_Addr v, unsigned int bits) in apply_r_mips_pc()
202 Elf_Addr v) in apply_r_mips_pc16()
[all …]
/linux/arch/loongarch/kernel/
H A Dmodule.c35 typedef int (*reloc_rela_handler)(struct module *mod, u32 *location, Elf_Addr v,
60 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none()
66 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, in apply_r_larch_error()
73 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32()
83 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64()
86 *(Elf_Addr *)location = v; in apply_r_larch_64()
91 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel()
97 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute()
103 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_dup()
123 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_plt_pcrel()
[all …]
H A Dmodule-sections.c13 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_got_entry()
20 return (Elf_Addr)got; in module_emit_got_entry()
36 return (Elf_Addr)&got[i]; in module_emit_got_entry()
39 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_plt_entry()
48 return (Elf_Addr)plt; in module_emit_plt_entry()
62 return (Elf_Addr)&plt[nr]; in module_emit_plt_entry()
/linux/arch/loongarch/include/asm/
H A Dmodule.h36 Elf_Addr symbol_addr;
49 Elf_Addr symbol_addr;
52 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val);
53 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val);
55 static inline struct got_entry emit_got_entry(Elf_Addr val) in emit_got_entry()
113 static inline struct got_entry *get_got_entry(Elf_Addr val, in get_got_entry()
/linux/include/asm-generic/
H A Dmodule.h21 #define Elf_Addr Elf64_Addr macro
34 #define Elf_Addr Elf32_Addr macro
/linux/arch/parisc/kernel/
H A Dmodule.c361 static Elf_Addr get_fdesc(struct module *me, unsigned long value) in get_fdesc()
373 return (Elf_Addr)fdesc; in get_fdesc()
381 fdesc->gp = (Elf_Addr)me->mem[MOD_TEXT].base + me->arch.got_offset; in get_fdesc()
382 return (Elf_Addr)fdesc; in get_fdesc()
392 static Elf_Addr get_stub(struct module *me, unsigned long value, long addend, in get_stub()
393 enum elf_stub_type stub_type, Elf_Addr loc0, unsigned int targetsec) in get_stub()
485 return (Elf_Addr)stub; in get_stub()
502 Elf_Addr loc0; in apply_relocate_add()
648 Elf_Addr loc0; in apply_relocate_add()
813 gp = (Elf_Addr)me->mem[MOD_TEXT].base + me->arch.got_offset; in register_unwind_table()
/linux/scripts/mod/
H A Dsymsearch.c13 Elf_Addr addr;
153 Elf_Sym *symsearch_find_nearest(struct elf_info *elf, Elf_Addr addr, in symsearch_find_nearest()
155 Elf_Addr min_distance) in symsearch_find_nearest()
/linux/arch/mips/include/asm/
H A Dmodule.h42 #define Elf_Addr Elf32_Addr macro
60 #define Elf_Addr Elf64_Addr macro
/linux/scripts/
H 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/arch/s390/kernel/
H A Dkexec_elf.c22 Elf_Addr entry; in kexec_file_add_kernel_elf()
/linux/arch/s390/tools/
H A Drelocs.c35 #define Elf_Addr ElfW(Addr) macro
/linux/arch/riscv/mm/
H A Dinit.c340 Elf_Addr addr = (rela->r_offset - va_kernel_link_pa_offset); in relocate_kernel()
341 Elf_Addr relocated_addr = rela->r_addend; in relocate_kernel()
355 *(Elf_Addr *)addr = relocated_addr; in relocate_kernel()
/linux/arch/mips/boot/tools/
H A Drelocs.c8 #define Elf_Addr ElfW(Addr) macro
/linux/arch/x86/tools/
H A Drelocs.c8 #define Elf_Addr ElfW(Addr) macro