Home
last modified time | relevance | path

Searched refs:Elf_Addr (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-6.6/arch/riscv/kernel/
H A 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 in apply_r_riscv_hi20_rela()
[all...]
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dmodule.c29 static int apply_r_riscv_32_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_32_rela()
40 static int apply_r_riscv_64_rela(struct module *me, u32 *location, Elf_Addr v) in apply_r_riscv_64_rela()
47 Elf_Addr v) in apply_r_riscv_branch_rela()
60 Elf_Addr v) in apply_r_riscv_jal_rela()
73 Elf_Addr v) in apply_r_riscv_rcv_branch_rela()
88 Elf_Addr v) in apply_r_riscv_rvc_jump_rela()
106 Elf_Addr v) in apply_r_riscv_pcrel_hi20_rela()
124 Elf_Addr v) in apply_r_riscv_pcrel_lo12_i_rela()
135 Elf_Addr v) in apply_r_riscv_pcrel_lo12_s_rela()
149 Elf_Addr in apply_r_riscv_hi20_rela()
[all...]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dmodule.c46 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none()
52 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, in apply_r_larch_error()
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()
73 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel()
79 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute()
85 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_dup()
105 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_plt_pcrel()
119 static int apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr
[all...]
H A Dmodule-sections.c12 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_got_entry()
19 return (Elf_Addr)got; in module_emit_got_entry()
35 return (Elf_Addr)&got[i]; in module_emit_got_entry()
38 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_plt_entry()
47 return (Elf_Addr)plt; in module_emit_plt_entry()
61 return (Elf_Addr)&plt[nr]; in module_emit_plt_entry()
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dmodule.h35 Elf_Addr symbol_addr;
46 Elf_Addr symbol_addr;
49 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val);
50 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val);
52 static inline struct got_entry emit_got_entry(Elf_Addr val) in emit_got_entry()
101 static inline struct got_entry *get_got_entry(Elf_Addr val, in get_got_entry()
/kernel/linux/linux-6.6/arch/loongarch/include/asm/
H 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()
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dmodule.c27 Elf_Addr *addr;
28 Elf_Addr value;
44 u32 base, Elf_Addr v, bool rela) in apply_r_mips_none()
50 u32 base, Elf_Addr v, bool rela) in apply_r_mips_32()
58 u32 base, Elf_Addr v, bool rela) in apply_r_mips_26()
79 u32 base, Elf_Addr v, bool rela) in apply_r_mips_hi16()
98 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16()
118 u32 base, Elf_Addr v, bool rela) in apply_r_mips_lo16()
122 Elf_Addr val, vallo; in apply_r_mips_lo16()
190 Elf_Addr in apply_r_mips_pc()
[all...]
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dmodule.c57 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none()
63 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, in apply_r_larch_error()
70 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32()
77 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64()
80 *(Elf_Addr *)location = v; in apply_r_larch_64()
84 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel()
90 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute()
96 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_dup()
116 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_plt_pcrel()
130 static int apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr
[all...]
H A Dmodule-sections.c12 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_got_entry()
19 return (Elf_Addr)got; in module_emit_got_entry()
35 return (Elf_Addr)&got[i]; in module_emit_got_entry()
38 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) in module_emit_plt_entry()
47 return (Elf_Addr)plt; in module_emit_plt_entry()
61 return (Elf_Addr)&plt[nr]; in module_emit_plt_entry()
/kernel/linux/linux-6.6/arch/mips/kernel/
H A 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 in apply_r_mips_pc16()
[all...]
/kernel/linux/linux-5.10/arch/sparc/kernel/
H 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()
/kernel/linux/linux-6.6/arch/sparc/kernel/
H 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()
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dmodule.c177 static int apply_rela_bits(Elf_Addr loc, Elf_Addr val, in apply_rela_bits()
188 val = (Elf_Addr)(((long) val) >> shift); in apply_rela_bits()
224 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela()
229 Elf_Addr loc, val; in apply_rela()
296 Elf_Addr *gotent = me->core_layout.base + in apply_rela()
321 val += (Elf_Addr) me->core_layout.base - loc; in apply_rela()
367 val = (Elf_Addr) me->core_layout.base + in apply_rela()
389 ((Elf_Addr) me->core_layout.base + me->arch.got_offset); in apply_rela()
399 val = (Elf_Addr) m in apply_rela()
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dmodule.c211 static int apply_rela_bits(Elf_Addr loc, Elf_Addr val, in apply_rela_bits()
222 val = (Elf_Addr)(((long) val) >> shift); in apply_rela_bits()
258 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela()
263 Elf_Addr loc, val; in apply_rela()
330 Elf_Addr *gotent = me->mem[MOD_TEXT].base + in apply_rela()
355 val += (Elf_Addr)me->mem[MOD_TEXT].base + in apply_rela()
402 val = (Elf_Addr) me->mem[MOD_TEXT].base + in apply_rela()
424 ((Elf_Addr) me->mem[MOD_TEXT].base + me->arch.got_offset); in apply_rela()
434 val = (Elf_Addr) m in apply_rela()
[all...]
/kernel/linux/linux-5.10/include/asm-generic/
H A Dmodule.h21 #define Elf_Addr Elf64_Addr macro
38 #define Elf_Addr Elf32_Addr macro
/kernel/linux/linux-6.6/include/asm-generic/
H A Dmodule.h21 #define Elf_Addr Elf64_Addr macro
38 #define Elf_Addr Elf32_Addr macro
/kernel/linux/linux-5.10/scripts/
H A Dsorttable.h23 #undef Elf_Addr macro
45 # define Elf_Addr Elf64_Addr macro
66 # define Elf_Addr Elf32_Addr macro
185 Elf_Addr av = _r(a); in compare_extable()
186 Elf_Addr bv = _r(b); in compare_extable()
H A Drecordmcount.h39 #undef Elf_Addr macro
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()
/kernel/linux/linux-5.10/arch/parisc/kernel/
H 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)m in register_unwind_table()
[all...]
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dmodule.c373 static Elf_Addr get_fdesc(struct module *me, unsigned long value) in get_fdesc()
385 return (Elf_Addr)fdesc; in get_fdesc()
393 fdesc->gp = (Elf_Addr)me->mem[MOD_TEXT].base + me->arch.got_offset; in get_fdesc()
394 return (Elf_Addr)fdesc; in get_fdesc()
404 static Elf_Addr get_stub(struct module *me, unsigned long value, long addend, in get_stub()
405 enum elf_stub_type stub_type, Elf_Addr loc0, unsigned int targetsec) in get_stub()
497 return (Elf_Addr)stub; in get_stub()
514 Elf_Addr loc0; in apply_relocate_add()
660 Elf_Addr loc0; in apply_relocate_add()
825 gp = (Elf_Addr)m in register_unwind_table()
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dmodule.h42 #define Elf_Addr Elf32_Addr macro
60 #define Elf_Addr Elf64_Addr macro
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dmodule.h42 #define Elf_Addr Elf32_Addr macro
60 #define Elf_Addr Elf64_Addr macro
/kernel/linux/linux-6.6/scripts/
H A Drecordmcount.h39 #undef Elf_Addr macro
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()
H A Dsorttable.h26 #undef Elf_Addr macro
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()
/kernel/linux/linux-6.6/scripts/mod/
H A Dmodpost.c59 * here we use Elf_Addr instead of long for covering cross-compile
62 #define MODULE_NAME_LEN (64 - sizeof(Elf_Addr))
1064 static Elf_Sym *find_nearest_sym(struct elf_info *elf, Elf_Addr addr, in find_nearest_sym()
1066 Elf_Addr min_distance) in find_nearest_sym()
1070 Elf_Addr sym_addr, distance; in find_nearest_sym()
1106 static Elf_Sym *find_fromsym(struct elf_info *elf, Elf_Addr addr, in find_fromsym()
1112 static Elf_Sym *find_tosym(struct elf_info *elf, Elf_Addr addr, Elf_Sym *sym) in find_tosym()
1136 unsigned int fsecndx, const char *fromsec, Elf_Addr faddr, in default_mismatch_handler()
1137 const char *tosec, Elf_Addr taddr) in default_mismatch_handler()
1182 Elf_Addr fadd in check_export_symbol()
[all...]

Completed in 21 milliseconds

12