Home
last modified time | relevance | path

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

/linux-6.1.9/arch/riscv/kernel/ !
Dmodule.c30 static int apply_r_riscv_32_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_32_rela()
41 static int apply_r_riscv_64_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_64_rela()
48 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()
89 Elf_Addr v) in apply_r_riscv_rvc_jump_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()
[all …]
/linux-6.1.9/arch/loongarch/kernel/ !
Dmodule.c43 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none()
49 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, in apply_r_larch_error()
56 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32()
63 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64()
66 *(Elf_Addr *)location = v; in apply_r_larch_64()
70 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel()
76 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute()
82 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_dup()
101 static int apply_r_larch_sop_push_plt_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_plt_pcrel()
115 static int apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop()
[all …]
Dmodule-sections.c10 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Addr val) in module_emit_got_entry()
17 return (Elf_Addr)got; in module_emit_got_entry()
33 return (Elf_Addr)&got[i]; in module_emit_got_entry()
36 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Addr val) in module_emit_plt_entry()
45 return (Elf_Addr)plt; in module_emit_plt_entry()
59 return (Elf_Addr)&plt[nr]; in module_emit_plt_entry()
/linux-6.1.9/arch/mips/kernel/ !
Dmodule.c28 Elf_Addr *addr;
29 Elf_Addr value;
44 static void apply_r_mips_32(u32 *location, u32 base, Elf_Addr v) in apply_r_mips_32()
50 Elf_Addr v) in apply_r_mips_26()
70 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_hi16()
90 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16()
110 u32 base, Elf_Addr v, bool rela) in apply_r_mips_lo16()
114 Elf_Addr val, vallo; in apply_r_mips_lo16()
182 Elf_Addr v, unsigned int bits) in apply_r_mips_pc()
213 Elf_Addr v) in apply_r_mips_pc16()
[all …]
/linux-6.1.9/arch/loongarch/include/asm/ !
Dmodule.h26 Elf_Addr symbol_addr;
37 Elf_Addr symbol_addr;
40 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Addr val);
41 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Addr val);
43 static inline struct got_entry emit_got_entry(Elf_Addr val) in emit_got_entry()
91 static inline struct got_entry *get_got_entry(Elf_Addr val, in get_got_entry()
/linux-6.1.9/arch/sparc/kernel/ !
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.1.9/arch/s390/kernel/ !
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()
Dkexec_elf.c22 Elf_Addr entry; in kexec_file_add_kernel_elf()
/linux-6.1.9/include/asm-generic/ !
Dmodule.h21 #define Elf_Addr Elf64_Addr macro
38 #define Elf_Addr Elf32_Addr macro
/linux-6.1.9/arch/parisc/kernel/ !
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.1.9/arch/mips/include/asm/ !
Dmodule.h42 #define Elf_Addr Elf32_Addr macro
60 #define Elf_Addr Elf64_Addr macro
/linux-6.1.9/scripts/ !
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()
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.1.9/scripts/mod/ !
Dmodpost.h28 #define Elf_Addr Elf32_Addr macro
42 #define Elf_Addr Elf64_Addr macro
Dmodpost.c55 #define MODULE_NAME_LEN (64 - sizeof(Elf_Addr))
1192 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2()
1197 Elf_Addr distance = ~0; in find_elf_symbol2()
/linux-6.1.9/arch/x86/tools/ !
Drelocs.c8 #define Elf_Addr ElfW(Addr) macro
777 static Elf_Addr per_cpu_load_addr;
/linux-6.1.9/arch/mips/boot/tools/ !
Drelocs.c8 #define Elf_Addr ElfW(Addr) macro