Home
last modified time | relevance | path

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

123

/Linux-v6.6/arch/arm/kernel/
Dmodule.c158 *(u32 *)loc += sym->st_value; in apply_relocate()
164 if (sym->st_value & 3) { in apply_relocate()
174 offset += sym->st_value - loc; in apply_relocate()
194 sym->st_value); in apply_relocate()
216 offset += sym->st_value - loc; in apply_relocate()
221 sym->st_value); in apply_relocate()
229 *(u32 *)loc += sym->st_value - loc; in apply_relocate()
240 offset += sym->st_value; in apply_relocate()
264 offset += sym->st_value - loc; in apply_relocate()
285 offset += sym->st_value - loc; in apply_relocate()
[all …]
/Linux-v6.6/arch/csky/kernel/
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-v6.6/arch/m68k/kernel/
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-v6.6/arch/arm/include/asm/
Dmodule.h51 return sym->st_value & ~1; in kallsyms_symbol_value()
53 return sym->st_value; in kallsyms_symbol_value()
/Linux-v6.6/arch/mips/kernel/
Dvpe.c447 if (!sym->st_value) { in apply_relocations()
453 v = sym->st_value; in apply_relocations()
502 size = sym[i].st_value; in simplify_symbols()
503 sym[i].st_value = bssbase; in simplify_symbols()
526 save_gp_address(secbase, sym[i].st_value); in simplify_symbols()
528 sym[i].st_value += secbase; in simplify_symbols()
544 sym[i].st_value); in dump_elfsymbols()
558 v->__start = sym[i].st_value; in find_vpe_symbols()
561 v->shared_ptr = (void *)sym[i].st_value; in find_vpe_symbols()
Dmodule.c342 if (sym->st_value >= -MAX_ERRNO) { in __apply_relocate()
355 v = sym->st_value + r.rela->r_addend; in __apply_relocate()
359 v = sym->st_value; in __apply_relocate()
/Linux-v6.6/arch/parisc/kernel/
Dmodule.c530 if (!sym->st_value) { in apply_relocate_add()
538 val = sym->st_value; in apply_relocate_add()
608 val = get_stub(me, sym->st_value, addend, in apply_relocate_add()
623 val = get_stub(me, sym->st_value, addend, in apply_relocate_add()
674 if (!sym->st_value) { in apply_relocate_add()
683 val = sym->st_value; in apply_relocate_add()
737 val = get_stub(me, sym->st_value, in apply_relocate_add()
742 val = sym->st_value; in apply_relocate_add()
746 val = sym->st_value; in apply_relocate_add()
756 strtab + sym->st_name, loc, sym->st_value, in apply_relocate_add()
/Linux-v6.6/arch/x86/kernel/
Dmodule.c116 *location += sym->st_value; in apply_relocate()
121 *location += sym->st_value - (uint32_t)location; in apply_relocate()
164 sym->st_value, rel[i].r_addend, (u64)loc); in __write_relocate_add()
166 val = sym->st_value + rel[i].r_addend; in __write_relocate_add()
/Linux-v6.6/arch/arc/kernel/
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-v6.6/arch/sparc/vdso/
Dvma.c127 osym->st_value = nsym->st_value; in patchsym64()
195 osym->st_value = nsym->st_value; in patchsym32()
/Linux-v6.6/arch/riscv/kernel/
Dmodule.c362 if (IS_ERR_VALUE(sym->st_value)) { in apply_relocate_add()
384 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
396 if (hi20_loc == sym->st_value in apply_relocate_add()
404 hi20_sym->st_value in apply_relocate_add()
/Linux-v6.6/tools/perf/util/
Dgenelf.c87 .st_value = 0x0,
94 .st_value = 0, /* for now */
388 symtab[1].st_value = GEN_ELF_TEXT_OFFSET; in jit_write_elf()
Dsymbol-elf.c1379 sym->st_value -= shdr->sh_addr - shdr->sh_offset; in dso__process_kernel_symbol()
1432 u64 start = sym->st_value; in dso__process_kernel_symbol()
1565 kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; in dso__load_sym_internal()
1608 u32 offset = sym.st_value - syms_ss->opdshdr.sh_addr; in dso__load_sym_internal()
1610 sym.st_value = DSO__SWAP(dso, u64, *opd); in dso__load_sym_internal()
1612 sym.st_value); in dso__load_sym_internal()
1671 (sym.st_value & 1)) in dso__load_sym_internal()
1672 --sym.st_value; in dso__load_sym_internal()
1683 (u64)sym.st_value, &phdr)) { in dso__load_sym_internal()
1686 __func__, elf_name, (u64)sym.st_value); in dso__load_sym_internal()
[all …]
/Linux-v6.6/arch/openrisc/kernel/
Dmodule.c39 value = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dctx_rewrite.c43 } st_value; member
120 .st_value = { true, USHRT_MAX },
862 test->st_value.use ? test->st_value.value : 42), in run_one_testcase()
/Linux-v6.6/scripts/mod/
Dmodpost.c346 sym->st_value); in sym_get_data()
564 sym->st_value = TO_NATIVE(sym->st_value); in parse_elf()
1087 sym_addr = sym->st_value; in find_nearest_sym()
1164 modname, fromsym, (unsigned int)(faddr - from->st_value), fromsec, tosym, tosec); in default_mismatch_handler()
1343 return inst + sym->st_value; in addend_arm_rel()
1349 return offset + sym->st_value; in addend_arm_rel()
1355 return offset + sym->st_value + 8; in addend_arm_rel()
1365 return offset + sym->st_value; in addend_arm_rel()
1386 return offset + sym->st_value + 4; in addend_arm_rel()
1412 return offset + sym->st_value + 4; in addend_arm_rel()
/Linux-v6.6/arch/microblaze/kernel/
Dmodule.c37 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/Linux-v6.6/arch/sh/kernel/
Dmodule.c47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/Linux-v6.6/include/uapi/linux/
Delf.h190 Elf32_Addr st_value; member
202 Elf64_Addr st_value; /* Value of the symbol */ member
/Linux-v6.6/arch/nios2/kernel/
Dmodule.c64 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/Linux-v6.6/arch/loongarch/kernel/
Dmodule.c444 if (IS_ERR_VALUE(sym->st_value)) { in apply_relocate_add()
466 sym->st_value, rel[i].r_addend, (u64)location); in apply_relocate_add()
468 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/Linux-v6.6/arch/x86/tools/
Drelocs.c544 sym->st_value = elf_addr_to_cpu(sym->st_value); in read_symtabs()
622 j, sym->st_value, sym->st_size, in print_absolute_symbols()
697 sym->st_value, in print_absolute_relocs()
795 per_cpu_load_addr = sym->st_value; in percpu_init()
/Linux-v6.6/arch/xtensa/kernel/
Dmodule.c67 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/Linux-v6.6/arch/hexagon/kernel/
Dmodule.c93 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/Linux-v6.6/arch/mips/vdso/
Dgenvdso.h114 offset = FUNC(swap_uint)(sym->st_value); in FUNC()

123