Home
last modified time | relevance | path

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

/arch/riscv/kernel/
A Dmodule.c32 Elf_Addr value;
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()
153 Elf_Addr v) in apply_r_riscv_pcrel_hi20_rela()
168 Elf_Addr v) in apply_r_riscv_pcrel_lo12_i_rela()
178 Elf_Addr v) in apply_r_riscv_pcrel_lo12_s_rela()
191 Elf_Addr v) in apply_r_riscv_hi20_rela()
268 Elf_Addr v) in apply_r_riscv_call_rela()
356 Elf_Addr v) in dynamic_linking_not_supported()
[all …]
/arch/loongarch/include/asm/
A Dmodule.h36 Elf_Addr symbol_addr;
47 Elf_Addr symbol_addr;
50 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val);
51 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val);
53 static inline struct got_entry emit_got_entry(Elf_Addr val) in emit_got_entry()
102 static inline struct got_entry *get_got_entry(Elf_Addr val, in get_got_entry()
/arch/mips/kernel/
A Dmodule.c26 Elf_Addr *addr;
27 Elf_Addr value;
39 Elf_Addr v) in apply_r_mips_26()
79 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16()
103 Elf_Addr val, vallo; in apply_r_mips_lo16()
202 Elf_Addr v) in apply_r_mips_pc16()
208 Elf_Addr v) in apply_r_mips_pc21()
214 Elf_Addr v) in apply_r_mips_pc26()
224 *(Elf_Addr *)location = v; in apply_r_mips_64()
269 Elf_Addr v, bool rela) in reloc_handler()
[all …]
/arch/loongarch/kernel/
A Dmodule.c47 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none()
60 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32()
67 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64()
70 *(Elf_Addr *)location = v; in apply_r_larch_64()
106 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_plt_pcrel()
280 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_b26()
319 (void *)((Elf_Addr)location & ~0xfff); in apply_r_larch_pcala()
320 Elf_Addr anchor = (((Elf_Addr)location) & ~0xfff) + offset_hi20; in apply_r_larch_pcala()
348 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, in apply_r_larch_got_pc()
351 Elf_Addr got = module_emit_got_entry(mod, sechdrs, v); in apply_r_larch_got_pc()
[all …]
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()
/arch/sparc/kernel/
A Dmodule.c66 Elf_Addr v; in apply_relocate_add()
85 v -= (Elf_Addr) location; in apply_relocate_add()
101 v -= (Elf_Addr) location; in apply_relocate_add()
123 v -= (Elf_Addr) location; in apply_relocate_add()
129 v -= (Elf_Addr) location; in apply_relocate_add()
/arch/s390/kernel/
A Dmodule.c175 static int apply_rela_bits(Elf_Addr loc, Elf_Addr val, in apply_rela_bits()
186 val = (Elf_Addr)(((long) val) >> shift); in apply_rela_bits()
222 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, in apply_rela()
227 Elf_Addr loc, val; in apply_rela()
294 Elf_Addr *gotent = me->mem[MOD_TEXT].base + in apply_rela()
319 val += (Elf_Addr)me->mem[MOD_TEXT].base + in apply_rela()
366 val = (Elf_Addr) me->mem[MOD_TEXT].base + in apply_rela()
388 ((Elf_Addr) me->mem[MOD_TEXT].base + me->arch.got_offset); in apply_rela()
398 val = (Elf_Addr) me->mem[MOD_TEXT].base + me->arch.got_offset + in apply_rela()
432 Elf_Addr base; in __apply_relocate_add()
A Dkexec_elf.c22 Elf_Addr entry; in kexec_file_add_kernel_elf()
/arch/mips/include/asm/
A Dmodule.h42 #define Elf_Addr Elf32_Addr macro
60 #define Elf_Addr Elf64_Addr macro
/arch/parisc/kernel/
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()
/arch/s390/tools/
A Drelocs.c35 #define Elf_Addr ElfW(Addr) macro
/arch/riscv/mm/
A Dinit.c339 Elf_Addr addr = (rela->r_offset - va_kernel_link_pa_offset); in relocate_kernel()
340 Elf_Addr relocated_addr = rela->r_addend; in relocate_kernel()
354 *(Elf_Addr *)addr = relocated_addr; in relocate_kernel()
/arch/mips/boot/tools/
A Drelocs.c8 #define Elf_Addr ElfW(Addr) macro
/arch/x86/tools/
A Drelocs.c8 #define Elf_Addr ElfW(Addr) macro

Completed in 31 milliseconds