| /linux/arch/riscv/kernel/ |
| H A D | module.c | 32 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 D | module.c | 26 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 D | module.c | 35 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 D | module-sections.c | 13 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 D | module.h | 36 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 D | module.h | 21 #define Elf_Addr Elf64_Addr macro 34 #define Elf_Addr Elf32_Addr macro
|
| /linux/arch/parisc/kernel/ |
| H A D | module.c | 361 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 D | symsearch.c | 13 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()
|
| H A D | modpost.c | 75 #define MODULE_NAME_LEN (64 - sizeof(Elf_Addr)) 986 static Elf_Sym *find_fromsym(struct elf_info *elf, Elf_Addr addr, in find_fromsym() 992 static Elf_Sym *find_tosym(struct elf_info *elf, Elf_Addr addr, Elf_Sym *sym) in find_tosym() 1020 unsigned int fsecndx, const char *fromsec, Elf_Addr faddr, in default_mismatch_handler() 1021 const char *tosec, Elf_Addr taddr) in default_mismatch_handler() 1076 Elf_Addr faddr, const char *secname, in check_export_symbol() 1148 Elf_Addr faddr, Elf_Addr taddr) in check_section_mismatch() 1167 static Elf_Addr addend_386_rel(uint32_t *location, unsigned int r_type) in addend_386_rel() 1176 return (Elf_Addr)(-1); in addend_386_rel() 1186 static Elf_Addr addend_arm_rel(void *loc, Elf_Sym *sym, unsigned int r_type) in addend_arm_rel() [all …]
|
| /linux/arch/mips/include/asm/ |
| H A D | module.h | 42 #define Elf_Addr Elf32_Addr macro 60 #define Elf_Addr Elf64_Addr macro
|
| /linux/scripts/ |
| H A D | recordmcount.h | 39 #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 D | kexec_elf.c | 22 Elf_Addr entry; in kexec_file_add_kernel_elf()
|
| /linux/arch/s390/tools/ |
| H A D | relocs.c | 35 #define Elf_Addr ElfW(Addr) macro
|
| /linux/arch/mips/boot/tools/ |
| H A D | relocs.c | 8 #define Elf_Addr ElfW(Addr) macro
|
| /linux/arch/x86/tools/ |
| H A D | relocs.c | 8 #define Elf_Addr ElfW(Addr) macro
|