Home
last modified time | relevance | path

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

123

/linux-6.12.1/arch/arm/kernel/
Dmodule.c124 *(u32 *)loc += sym->st_value; in apply_relocate()
130 if (sym->st_value & 3) { in apply_relocate()
140 offset += sym->st_value - loc; in apply_relocate()
160 sym->st_value); in apply_relocate()
182 offset += sym->st_value - loc; in apply_relocate()
187 sym->st_value); in apply_relocate()
195 *(u32 *)loc += sym->st_value - loc; in apply_relocate()
206 offset += sym->st_value; in apply_relocate()
230 offset += sym->st_value - loc; in apply_relocate()
251 offset += sym->st_value - loc; in apply_relocate()
[all …]
/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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.c331 if (sym->st_value >= -MAX_ERRNO) { in __apply_relocate()
344 v = sym->st_value + r.rela->r_addend; in __apply_relocate()
348 v = sym->st_value; in __apply_relocate()
/linux-6.12.1/arch/parisc/kernel/
Dmodule.c518 if (!sym->st_value) { in apply_relocate_add()
526 val = sym->st_value; in apply_relocate_add()
596 val = get_stub(me, sym->st_value, addend, in apply_relocate_add()
611 val = get_stub(me, sym->st_value, addend, in apply_relocate_add()
662 if (!sym->st_value) { in apply_relocate_add()
671 val = sym->st_value; in apply_relocate_add()
725 val = get_stub(me, sym->st_value, in apply_relocate_add()
730 val = sym->st_value; in apply_relocate_add()
734 val = sym->st_value; in apply_relocate_add()
744 strtab + sym->st_name, loc, sym->st_value, in apply_relocate_add()
/linux-6.12.1/arch/x86/kernel/
Dmodule.c65 *location += sym->st_value; in apply_relocate()
70 *location += sym->st_value - (uint32_t)location; in apply_relocate()
113 sym->st_value, rel[i].r_addend, (u64)loc); in __write_relocate_add()
115 val = sym->st_value + rel[i].r_addend; in __write_relocate_add()
/linux-6.12.1/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-6.12.1/arch/sparc/vdso/
Dvma.c127 osym->st_value = nsym->st_value; in patchsym64()
195 osym->st_value = nsym->st_value; in patchsym32()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dctx_rewrite.c44 } st_value; member
123 .st_value = { true, USHRT_MAX },
766 test->st_value.use ? test->st_value.value : 42), in run_one_testcase()
/linux-6.12.1/tools/perf/util/
Dgenelf.c82 .st_value = 0x0,
89 .st_value = 0, /* for now */
383 symtab[1].st_value = GEN_ELF_TEXT_OFFSET; in jit_write_elf()
Dsymbol-elf.c1433 sym->st_value -= shdr->sh_addr - shdr->sh_offset; in dso__process_kernel_symbol()
1496 u64 start = sym->st_value; in dso__process_kernel_symbol()
1625 kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; in dso__load_sym_internal()
1673 u32 offset = sym.st_value - syms_ss->opdshdr.sh_addr; in dso__load_sym_internal()
1675 sym.st_value = DSO__SWAP(dso, u64, *opd); in dso__load_sym_internal()
1677 sym.st_value); in dso__load_sym_internal()
1736 (sym.st_value & 1)) in dso__load_sym_internal()
1737 --sym.st_value; in dso__load_sym_internal()
1753 (u64)sym.st_value, &phdr)) { in dso__load_sym_internal()
1756 __func__, elf_name, (u64)sym.st_value); in dso__load_sym_internal()
[all …]
/linux-6.12.1/scripts/mod/
Dmodpost.c321 sym->st_value); in sym_get_data()
548 sym->st_value = TO_NATIVE(sym->st_value); in parse_elf()
1031 (unsigned int)(faddr - (fromsym[0] ? from->st_value : 0)), in default_mismatch_handler()
1177 return inst + sym->st_value; in addend_arm_rel()
1183 return offset + sym->st_value; in addend_arm_rel()
1189 return offset + sym->st_value + 8; in addend_arm_rel()
1199 return offset + sym->st_value; in addend_arm_rel()
1220 return offset + sym->st_value + 4; in addend_arm_rel()
1246 return offset + sym->st_value + 4; in addend_arm_rel()
1337 taddr = tsym->st_value + TO_NATIVE(rela->r_addend); in section_rela()
/linux-6.12.1/arch/microblaze/kernel/
Dmodule.c37 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux-6.12.1/arch/openrisc/kernel/
Dmodule.c39 value = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/linux-6.12.1/arch/sh/kernel/
Dmodule.c47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/linux-6.12.1/include/uapi/linux/
Delf.h190 Elf32_Addr st_value; member
202 Elf64_Addr st_value; /* Value of the symbol */ member
/linux-6.12.1/arch/nios2/kernel/
Dmodule.c44 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux-6.12.1/arch/x86/tools/
Drelocs.c532 sym->st_value = elf_addr_to_cpu(sym->st_value); in read_symtabs()
613 j, sym->st_value, sym->st_size, in print_absolute_symbols()
697 sym->st_value, in print_absolute_relocs()
807 per_cpu_load_addr = sym->st_value; in percpu_init()
/linux-6.12.1/arch/riscv/kernel/
Dmodule.c809 if (IS_ERR_VALUE(sym->st_value)) { in apply_relocate_add()
831 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
844 if (hi20_loc == sym->st_value in apply_relocate_add()
852 hi20_sym->st_value in apply_relocate_add()
/linux-6.12.1/arch/loongarch/kernel/
Dmodule.c445 if (IS_ERR_VALUE(sym->st_value)) { in apply_relocate_add()
467 sym->st_value, rel[i].r_addend, (u64)location); in apply_relocate_add()
469 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/linux-6.12.1/arch/hexagon/kernel/
Dmodule.c93 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux-6.12.1/arch/xtensa/kernel/
Dmodule.c67 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/linux-6.12.1/arch/mips/vdso/
Dgenvdso.h114 offset = FUNC(swap_uint)(sym->st_value); in FUNC()

123