Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/arch/arm/kernel/
H 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()
194 offset += sym->st_value; in apply_relocate()
218 !(sym->st_value & 1)) { in apply_relocate()
249 offset += sym->st_value - loc; in apply_relocate()
267 sym->st_value); in apply_relocate()
[all …]
/OK3568_Linux_fs/kernel/arch/csky/kernel/
H 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()
/OK3568_Linux_fs/kernel/arch/m68k/kernel/
H 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()
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dvdso.c287 return sym->st_value - VDSO32_LBASE; in find_function32()
310 sym32_gen->st_value = sym32_fix->st_value; in vdso_do_func_patch32()
393 return sym->st_value - VDSO64_LBASE; in find_function64()
416 sym64_gen->st_value = sym64_fix->st_value; in vdso_do_func_patch64()
499 *((int *)(vdso64_kbase + sym64->st_value - VDSO64_LBASE)) = in vdso_fixup_datapage()
501 (sym64->st_value - VDSO64_LBASE); in vdso_fixup_datapage()
511 *((int *)(vdso32_kbase + (sym32->st_value - VDSO32_LBASE))) = in vdso_fixup_datapage()
513 (sym32->st_value - VDSO32_LBASE); in vdso_fixup_datapage()
/OK3568_Linux_fs/kernel/arch/powerpc/oprofile/cell/
H A Dvma_map.c201 ovly_table_sym = sym.st_value; in create_vma_map()
203 ovly_buf_table_sym = sym.st_value; in create_vma_map()
205 ovly_table_end_sym = sym.st_value; in create_vma_map()
207 ovly_buf_table_end_sym = sym.st_value; in create_vma_map()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H 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()
H A Dmodule.c335 if (sym->st_value >= -MAX_ERRNO) { in __apply_relocate()
359 v = sym->st_value + r.rela->r_addend; in __apply_relocate()
363 v = sym->st_value; in __apply_relocate()
/OK3568_Linux_fs/kernel/arch/parisc/kernel/
H 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()
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Dmodule.h55 return sym->st_value & ~1; in kallsyms_symbol_value()
57 return sym->st_value; in kallsyms_symbol_value()
/OK3568_Linux_fs/kernel/arch/x86/kernel/
H 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()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dbpf_load.c369 if (maps[map_idx].elf_offset == sym.st_value) { in parse_relo_and_apply()
391 if (lsym->st_value < rsym->st_value) in cmp_symbols()
393 else if (lsym->st_value > rsym->st_value) in cmp_symbols()
485 offset = sym[i].st_value; in load_elf_maps_section()
/OK3568_Linux_fs/kernel/arch/riscv/kernel/
H A Dmodule.c345 if (IS_ERR_VALUE(sym->st_value)) { in apply_relocate_add()
367 v = sym->st_value + rel[i].r_addend; in apply_relocate_add()
379 if (hi20_loc == sym->st_value in apply_relocate_add()
387 hi20_sym->st_value in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/sparc/vdso/
H A Dvma.c127 osym->st_value = nsym->st_value; in patchsym64()
195 osym->st_value = nsym->st_value; in patchsym32()
/OK3568_Linux_fs/kernel/arch/arc/kernel/
H 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()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsymbol-elf.c972 sym->st_value -= shdr->sh_addr - shdr->sh_offset; in dso__process_kernel_symbol()
1021 u64 start = sym->st_value; in dso__process_kernel_symbol()
1160 kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; in dso__load_sym()
1204 u32 offset = sym.st_value - syms_ss->opdshdr.sh_addr; in dso__load_sym()
1206 sym.st_value = DSO__SWAP(dso, u64, *opd); in dso__load_sym()
1208 sym.st_value); in dso__load_sym()
1239 (sym.st_value & 1)) in dso__load_sym()
1240 --sym.st_value; in dso__load_sym()
1251 (u64)sym.st_value, &phdr)) { in dso__load_sym()
1254 __func__, elf_name, (u64)sym.st_value); in dso__load_sym()
[all …]
H A Dgenelf.c90 .st_value = 0x0,
97 .st_value = 0, /* for now */
385 symtab[1].st_value = GEN_ELF_TEXT_OFFSET; in jit_write_elf()
/OK3568_Linux_fs/kernel/scripts/mod/
H A Dmodpost.c337 sym->st_value); in sym_get_data()
622 sym->st_value = TO_NATIVE(sym->st_value); in parse_elf()
688 crc = sym->st_value; in handle_modversion()
1320 if (sym->st_value == addr) in find_elf_symbol()
1323 d = sym->st_value - addr; in find_elf_symbol()
1325 d = addr - sym->st_value; in find_elf_symbol()
1361 if (sym->st_value <= addr) { in find_elf_symbol2()
1362 if ((addr - sym->st_value) < distance) { in find_elf_symbol2()
1363 distance = addr - sym->st_value; in find_elf_symbol2()
1365 } else if ((addr - sym->st_value) == distance) { in find_elf_symbol2()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Delf.h186 Elf32_Addr st_value; member
198 Elf64_Addr st_value; /* Value of the symbol */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Delf.h185 Elf32_Addr st_value; member
197 Elf64_Addr st_value; /* Value of the symbol */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Delf.h185 Elf32_Addr st_value; member
197 Elf64_Addr st_value; /* Value of the symbol */ member
/OK3568_Linux_fs/kernel/arch/openrisc/kernel/
H A Dmodule.c39 value = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/x86/tools/
H A Drelocs.c494 sym->st_value = elf_addr_to_cpu(sym->st_value); in read_symtabs()
566 j, sym->st_value, sym->st_size, in print_absolute_symbols()
641 sym->st_value, in print_absolute_relocs()
739 per_cpu_load_addr = sym->st_value; in percpu_init()
/OK3568_Linux_fs/kernel/arch/h8300/kernel/
H A Dmodule.c29 uint32_t v = sym->st_value + rela[i].r_addend; in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/sh/kernel/
H A Dmodule.c47 relocation = sym->st_value + rel[i].r_addend; in apply_relocate_add()
/OK3568_Linux_fs/kernel/arch/microblaze/kernel/
H A Dmodule.c40 value = sym->st_value + rela[i].r_addend; in apply_relocate_add()

123