Home
last modified time | relevance | path

Searched refs:st_value (Results 1 – 25 of 55) sorted by relevance

123

/linux/arch/arm/kernel/
A Dmodule.c117 *(u32 *)loc += sym->st_value; in apply_relocate()
123 if (sym->st_value & 3) { in apply_relocate()
134 offset += sym->st_value - loc; in apply_relocate()
154 sym->st_value); in apply_relocate()
176 offset += sym->st_value - loc; in apply_relocate()
181 sym->st_value); in apply_relocate()
200 offset += sym->st_value; in apply_relocate()
228 !(sym->st_value & 1)) { in apply_relocate()
259 offset += sym->st_value - loc; in apply_relocate()
277 sym->st_value); in apply_relocate()
[all …]
/linux/arch/csky/kernel/
A Dmodule.c68 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add()
72 *location = rel[i].r_addend + sym->st_value in apply_relocate_add()
83 ((rel[i].r_addend + sym->st_value) >> 16); in apply_relocate_add()
88 ((rel[i].r_addend + sym->st_value) & 0xffff); in apply_relocate_add()
/linux/arch/m68k/kernel/
A Dmodule.c47 *location += sym->st_value; in apply_relocate()
51 *location += sym->st_value - (uint32_t)location; in apply_relocate()
87 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add()
91 *location = rel[i].r_addend + sym->st_value - (uint32_t)location; in apply_relocate_add()
/linux/arch/mips/kernel/
A Dvpe.c448 if (!sym->st_value) { in apply_relocations()
454 v = sym->st_value; in apply_relocations()
503 size = sym[i].st_value; in simplify_symbols()
504 sym[i].st_value = bssbase; in simplify_symbols()
527 save_gp_address(secbase, sym[i].st_value); in simplify_symbols()
529 sym[i].st_value += secbase; in simplify_symbols()
545 sym[i].st_value); in dump_elfsymbols()
559 v->__start = sym[i].st_value; in find_vpe_symbols()
562 v->shared_ptr = (void *)sym[i].st_value; in find_vpe_symbols()
A Dmodule.c341 if (sym->st_value >= -MAX_ERRNO) { in __apply_relocate()
354 v = sym->st_value + r.rela->r_addend; in __apply_relocate()
358 v = sym->st_value; in __apply_relocate()
/linux/arch/parisc/kernel/
A Dmodule.c547 if (!sym->st_value) { in apply_relocate_add()
555 val = sym->st_value; in apply_relocate_add()
625 val = get_stub(me, sym->st_value, addend, in apply_relocate_add()
640 val = get_stub(me, sym->st_value, addend, in apply_relocate_add()
691 if (!sym->st_value) { in apply_relocate_add()
700 val = sym->st_value; in apply_relocate_add()
754 val = get_stub(me, sym->st_value, in apply_relocate_add()
759 val = sym->st_value; in apply_relocate_add()
763 val = sym->st_value; in apply_relocate_add()
773 strtab + sym->st_name, loc, sym->st_value, in apply_relocate_add()
/linux/arch/arm/include/asm/
A Dmodule.h55 return sym->st_value & ~1; in kallsyms_symbol_value()
57 return sym->st_value; in kallsyms_symbol_value()
/linux/arch/x86/kernel/
A Dmodule.c114 *location += sym->st_value; in apply_relocate()
119 *location += sym->st_value - (uint32_t)location; in apply_relocate()
157 sym->st_value, rel[i].r_addend, (u64)loc); in __apply_relocate_add()
159 val = sym->st_value + rel[i].r_addend; in __apply_relocate_add()
/linux/arch/sparc/vdso/
A Dvma.c127 osym->st_value = nsym->st_value; in patchsym64()
195 osym->st_value = nsym->st_value; in patchsym32()
/linux/arch/riscv/kernel/
A Dmodule.c334 if (IS_ERR_VALUE(sym->st_value)) { in apply_relocate_add()
356 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
368 if (hi20_loc == sym->st_value in apply_relocate_add()
376 hi20_sym->st_value in apply_relocate_add()
/linux/arch/arc/kernel/
A Dmodule.c83 relocation = sym_entry->st_value + rel_entry[i].r_addend; in apply_relocate_add()
93 sym_entry->st_value, location, relocation, s); in apply_relocate_add()
/linux/tools/perf/util/
A Dgenelf.c86 .st_value = 0x0,
93 .st_value = 0, /* for now */
367 symtab[1].st_value = GEN_ELF_TEXT_OFFSET; in jit_write_elf()
A Dsymbol-elf.c983 sym->st_value -= shdr->sh_addr - shdr->sh_offset; in dso__process_kernel_symbol()
1032 u64 start = sym->st_value; in dso__process_kernel_symbol()
1161 kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; in dso__load_sym_internal()
1205 u32 offset = sym.st_value - syms_ss->opdshdr.sh_addr; in dso__load_sym_internal()
1207 sym.st_value = DSO__SWAP(dso, u64, *opd); in dso__load_sym_internal()
1209 sym.st_value); in dso__load_sym_internal()
1256 (sym.st_value & 1)) in dso__load_sym_internal()
1257 --sym.st_value; in dso__load_sym_internal()
1267 (u64)sym.st_value, (u64)shdr.sh_addr, in dso__load_sym_internal()
1269 sym.st_value -= shdr.sh_addr - shdr.sh_offset; in dso__load_sym_internal()
[all …]
/linux/scripts/mod/
A Dmodpost.c344 sym->st_value); in sym_get_data()
612 sym->st_value = TO_NATIVE(sym->st_value); in parse_elf()
681 crc = sym->st_value; in handle_modversion()
1312 if (sym->st_value == addr) in find_elf_symbol()
1315 d = sym->st_value - addr; in find_elf_symbol()
1317 d = addr - sym->st_value; in find_elf_symbol()
1353 if (sym->st_value <= addr) { in find_elf_symbol2()
1354 if ((addr - sym->st_value) < distance) { in find_elf_symbol2()
1355 distance = addr - sym->st_value; in find_elf_symbol2()
1357 } else if ((addr - sym->st_value) == distance) { in find_elf_symbol2()
/linux/arch/openrisc/kernel/
A Dmodule.c39 value = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/linux/include/uapi/linux/
A Delf.h186 Elf32_Addr st_value; member
198 Elf64_Addr st_value; /* Value of the symbol */ member
/linux/arch/microblaze/kernel/
A Dmodule.c37 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/arch/x86/tools/
A Drelocs.c543 sym->st_value = elf_addr_to_cpu(sym->st_value); in read_symtabs()
621 j, sym->st_value, sym->st_size, in print_absolute_symbols()
696 sym->st_value, in print_absolute_relocs()
794 per_cpu_load_addr = sym->st_value; in percpu_init()
/linux/arch/h8300/kernel/
A Dmodule.c29 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/arch/sh/kernel/
A Dmodule.c47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/linux/arch/powerpc/kernel/
A Dmodule_64.c547 sym->st_value = my_r2(sechdrs, me); in apply_relocate_add()
561 strtab + sym->st_name, (unsigned long)sym->st_value, in apply_relocate_add()
565 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/arch/nios2/kernel/
A Dmodule.c64 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/arch/xtensa/kernel/
A Dmodule.c67 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/arch/hexagon/kernel/
A Dmodule.c93 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux/arch/mips/boot/tools/
A Drelocs.c345 sym->st_value = elf_addr_to_cpu(sym->st_value); in read_symtabs()
506 if ((bind == STB_WEAK) && (sym->st_value == 0)) { in do_reloc()

Completed in 39 milliseconds

123