/linux-master/arch/loongarch/include/asm/ |
H A D | module.h | 36 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) 102 static inline struct got_entry *get_got_entry(Elf_Addr val,
|
/linux-master/include/asm-generic/ |
H A D | module.h | 21 #define Elf_Addr Elf64_Addr macro 38 #define Elf_Addr Elf32_Addr macro
|
/linux-master/arch/riscv/kernel/ |
H A D | module.c | 33 Elf_Addr value; 38 int (*reloc_handler)(struct module *me, void *location, Elf_Addr v); 81 static int apply_r_riscv_32_rela(struct module *me, void *location, Elf_Addr v) 92 static int apply_r_riscv_64_rela(struct module *me, void *location, Elf_Addr v) 99 Elf_Addr v) 111 Elf_Addr v) 123 Elf_Addr v) 137 Elf_Addr v) 154 Elf_Addr v) 169 Elf_Addr [all...] |
/linux-master/arch/mips/kernel/ |
H A D | module.c | 27 Elf_Addr *addr; 28 Elf_Addr value; 43 static void apply_r_mips_32(u32 *location, u32 base, Elf_Addr v) 49 Elf_Addr v) 69 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v, 89 n->addr = (Elf_Addr *)location; 109 u32 base, Elf_Addr v, bool rela) 113 Elf_Addr val, vallo; 181 Elf_Addr v, unsigned int bits) 212 Elf_Addr [all...] |
/linux-master/arch/loongarch/kernel/ |
H A D | module.c | 47 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, 53 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, 60 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, 67 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, 70 *(Elf_Addr *)location = v; 74 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, 80 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, 86 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, 106 Elf_Shdr *sechdrs, u32 *location, Elf_Addr v, 120 static int apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr [all...] |
H A D | module-sections.c | 12 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) 19 return (Elf_Addr)got; 35 return (Elf_Addr)&got[i]; 38 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val) 47 return (Elf_Addr)plt; 61 return (Elf_Addr)&plt[nr];
|
/linux-master/arch/mips/include/asm/ |
H A D | module.h | 42 #define Elf_Addr Elf32_Addr macro 60 #define Elf_Addr Elf64_Addr macro
|
/linux-master/scripts/mod/ |
H A D | modpost.h | 30 #define Elf_Addr Elf32_Addr macro 44 #define Elf_Addr Elf64_Addr macro 177 Elf_Sym *symsearch_find_nearest(struct elf_info *elf, Elf_Addr addr, 179 Elf_Addr min_distance);
|
H A D | symsearch.c | 13 Elf_Addr addr; 153 Elf_Sym *symsearch_find_nearest(struct elf_info *elf, Elf_Addr addr, 155 Elf_Addr min_distance)
|
H A D | modpost.c | 58 * here we use Elf_Addr instead of long for covering cross-compile 61 #define MODULE_NAME_LEN (64 - sizeof(Elf_Addr)) 1002 static Elf_Sym *find_fromsym(struct elf_info *elf, Elf_Addr addr, 1008 static Elf_Sym *find_tosym(struct elf_info *elf, Elf_Addr addr, Elf_Sym *sym) 1036 unsigned int fsecndx, const char *fromsec, Elf_Addr faddr, 1037 const char *tosec, Elf_Addr taddr) 1084 Elf_Addr faddr, const char *secname, 1156 Elf_Addr faddr, Elf_Addr taddr) 1175 static Elf_Addr addend_386_re [all...] |
/linux-master/arch/sparc/kernel/ |
H A D | module.c | 96 Elf_Addr v; 115 v -= (Elf_Addr) location; 131 v -= (Elf_Addr) location; 153 v -= (Elf_Addr) location; 159 v -= (Elf_Addr) location;
|
/linux-master/arch/s390/kernel/ |
H A D | module.c | 211 static int apply_rela_bits(Elf_Addr loc, Elf_Addr val, 222 val = (Elf_Addr)(((long) val) >> shift); 258 static int apply_rela(Elf_Rela *rela, Elf_Addr base, Elf_Sym *symtab, 263 Elf_Addr loc, val; 330 Elf_Addr *gotent = me->mem[MOD_TEXT].base + 355 val += (Elf_Addr)me->mem[MOD_TEXT].base + 402 val = (Elf_Addr) me->mem[MOD_TEXT].base + 424 ((Elf_Addr) me->mem[MOD_TEXT].base + me->arch.got_offset); 434 val = (Elf_Addr) m [all...] |
H A D | kexec_elf.c | 22 Elf_Addr entry;
|
/linux-master/scripts/ |
H A D | sorttable.h | 26 #undef Elf_Addr macro 51 # define Elf_Addr Elf64_Addr macro 75 # define Elf_Addr Elf32_Addr macro 192 Elf_Addr av = _r(a); 193 Elf_Addr bv = _r(b);
|
H A D | recordmcount.h | 39 #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; 181 Elf_Addr current_r_offset = _w(rp->r_offset); 184 is_fake = (old_r_offset != ~(Elf_Addr)0) &&
|
/linux-master/arch/parisc/kernel/ |
H A D | module.c | 373 static Elf_Addr get_fdesc(struct module *me, unsigned long value) 385 return (Elf_Addr)fdesc; 393 fdesc->gp = (Elf_Addr)me->mem[MOD_TEXT].base + me->arch.got_offset; 394 return (Elf_Addr)fdesc; 404 static Elf_Addr get_stub(struct module *me, unsigned long value, long addend, 405 enum elf_stub_type stub_type, Elf_Addr loc0, unsigned int targetsec) 497 return (Elf_Addr)stub; 514 Elf_Addr loc0; 660 Elf_Addr loc0; 825 gp = (Elf_Addr)m [all...] |
/linux-master/arch/s390/tools/ |
H A D | relocs.c | 35 #define Elf_Addr ElfW(Addr) macro
|
/linux-master/arch/x86/tools/ |
H A D | relocs.c | 8 #define Elf_Addr ElfW(Addr) macro 785 static Elf_Addr per_cpu_load_addr;
|
/linux-master/arch/mips/boot/tools/ |
H A D | relocs.c | 8 #define Elf_Addr ElfW(Addr) macro
|