Home
last modified time | relevance | path

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

123

/external/elfutils/0.153/libdwfl/
Ddwfl_module_addrsym.c69 return sym->st_value == addr; in dwfl_module_addrsym()
117 && sym.st_value <= addr in dwfl_module_addrsym()
125 if (sym.st_value + sym.st_size > min_label) in dwfl_module_addrsym()
126 min_label = sym.st_value + sym.st_size; in dwfl_module_addrsym()
128 if (sym.st_size == 0 || addr - sym.st_value < sym.st_size) in dwfl_module_addrsym()
133 || closest_sym->st_value < sym.st_value in dwfl_module_addrsym()
144 && sym.st_value >= min_label in dwfl_module_addrsym()
160 && closest_sym->st_value == sym.st_value in dwfl_module_addrsym()
183 && (sizeless_name == NULL || sizeless_sym.st_value != addr)) in dwfl_module_addrsym()
189 && sizeless_name != NULL && sizeless_sym.st_value >= min_label) in dwfl_module_addrsym()
Ddwfl_module_getsym.c108 shndx, &sym->st_value); in dwfl_module_getsym()
117 sym->st_value = dwfl_adjusted_st_value (mod, sym->st_value); in dwfl_module_getsym()
Drelocate.c197 sym->st_value = 0; /* Value is size, not helpful. */ in relocate_getsym()
202 *shndx, &sym->st_value); in relocate_getsym()
278 sym->st_value = dwfl_adjusted_st_value (m, sym->st_value); in resolve_symbol()
287 shndx, &sym->st_value); in resolve_symbol()
370 value = sym.st_value; in relocate_section()
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_elf_symbols.cpp70 if (sym->st_shndx != SHN_UNDEF && elf_addr >= sym->st_value && in LookupByAddress()
71 elf_addr < sym->st_value + sym->st_size) { in LookupByAddress()
94 if (elf_addr >= sym->st_value && elf_addr < sym->st_value + sym->st_size) { in LookupNearestByAddress()
102 if (elf_addr < sym->st_value) in LookupNearestByAddress()
103 diff = sym->st_value - elf_addr; in LookupNearestByAddress()
105 diff = elf_addr - sym->st_value - sym->st_size; in LookupNearestByAddress()
117 *sym_addr = reinterpret_cast<void*>(nearest_sym->st_value + load_bias); in LookupNearestByAddress()
Dcrazy_linker_elf_symbols.h49 return reinterpret_cast<void*>(load_bias + sym->st_value); in LookupAddressByName()
/external/qemu/include/hw/
Delf_ops.h47 bswapSZs(&sym->st_value); in glue()
68 if (key->st_value < sym->st_value) { in glue()
70 } else if (key->st_value > sym->st_value + sym->st_size) { in glue()
82 key.st_value = orig_addr; in glue()
96 return (sym0->st_value < sym1->st_value) in glue()
98 : ((sym0->st_value > sym1->st_value) ? 1 : 0); in glue()
146 syms[i].st_value &= ~(hwaddr)1; in glue()
/external/elfutils/0.153/backends/
Dppc_symbol.c128 return sym->st_value == gotaddr; in ppc_check_special_symbol()
140 && sym->st_value == destshdr->sh_addr + 0x8000 in ppc_check_special_symbol()
145 && sym->st_value == destshdr->sh_addr + 0x8000 in ppc_check_special_symbol()
/external/elfutils/0.153/src/
Dfindtextrel.c559 if (sym->st_value < addr && sym->st_value > lowaddr) in check_rel()
561 lowaddr = sym->st_value; in check_rel()
564 if (sym->st_value > addr && sym->st_value < highaddr) in check_rel()
566 highaddr = sym->st_value; in check_rel()
579 if (sym->st_value + sym->st_size > addr) in check_rel()
Dnm.c860 digits, syms[cnt].sym.st_value); in show_symbols_sysv()
1028 digits, syms[cnt].sym.st_value, in show_symbols_bsd()
1114 digits, syms[cnt].sym.st_value, in show_symbols_posix()
1133 int result = (s1->sym.st_value < s2->sym.st_value in sort_by_address()
1134 ? -1 : (s1->sym.st_value == s2->sym.st_value ? 0 : 1)); in sort_by_address()
1287 && lowpc <= sym->st_value in show_symbols()
1289 && highpc > sym->st_value) in show_symbols()
1295 sym->st_value); in show_symbols()
1325 .lowpc = sym->st_value, in show_symbols()
1326 .highpc = sym->st_value, in show_symbols()
Daddr2line.c351 else if (addr == s.st_value) in print_addrsym()
354 printf ("%s+%#" PRIx64 "\n", name, addr - s.st_value); in print_addrsym()
485 addr += sym.st_value; in handle_address()
Di386_ld.c482 ((Elf32_Sym *) dynsymdata->d_buf)[pltidx].st_value = pltentryaddr; in elf_i386_finalize_plt()
488 + (pltidx - 1)].st_value in elf_i386_finalize_plt()
793 value = scninfo[sym->st_shndx].offset + sym->st_value; in elf_i386_create_relocations()
861 sym->st_value = value; in elf_i386_create_relocations()
874 sym->st_value = value; in elf_i386_create_relocations()
/external/llvm/test/MC/ARM/
Delf-thumbfunc.s1 @@ test st_value bit 0 of thumb function
17 @@ make sure foo and bar are thumb function: bit 0 = 1 (st_value)
Delf-thumbfunc-reloc.s1 @@ test st_value bit 0 of thumb function
/external/elfutils/0.153/libelf/
Dgelf_update_sym.c97 if (unlikely (src->st_value > 0xffffffffull)
116 COPY (st_value);
Dgelf_update_symshndx.c123 if (unlikely (src->st_value > 0xffffffffull)
142 COPY (st_value);
Dgelf_getsym.c112 COPY (st_value);
Dgelf_getsymshndx.c132 COPY (st_value);
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dsymbol-elf.c753 kmap->ref_reloc_sym->unrelocated_addr = sym.st_value; in dso__load_sym()
789 u32 offset = sym.st_value - syms_ss->opdshdr.sh_addr; in dso__load_sym()
791 sym.st_value = DSO__SWAP(dso, u64, *opd); in dso__load_sym()
793 sym.st_value); in dso__load_sym()
823 (sym.st_value & 1)) in dso__load_sym()
824 --sym.st_value; in dso__load_sym()
831 sym.st_value -= shdr.sh_addr - shdr.sh_offset; in dso__load_sym()
880 u64 start = sym.st_value; in dso__load_sym()
921 (u64)sym.st_value, (u64)shdr.sh_addr, in dso__load_sym()
923 sym.st_value -= shdr.sh_addr - shdr.sh_offset; in dso__load_sym()
[all …]
/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.cpp308 st_value, in Dump()
333 if (GetMaxU64(data, offset, &st_value, byte_size, 2) == false) in Parse()
355 if (data.GetU64(offset, &st_value, 2) == NULL) in Parse()
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Delf_mem_image.cc152 return reinterpret_cast<const void *>(sym->st_value); in GetSymAddr()
154 CHECK_LT(link_base_, sym->st_value); in GetSymAddr()
155 return GetTableElement<char>(ehdr_, 0, 1, sym->st_value) - link_base_; in GetSymAddr()
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Delf_mem_image.cc152 return reinterpret_cast<const void *>(sym->st_value); in GetSymAddr()
154 CHECK_LT(link_base_, sym->st_value); in GetSymAddr()
155 return GetTableElement<char>(ehdr_, 0, 1, sym->st_value) - link_base_; in GetSymAddr()
/external/chromium_org/third_party/libvpx/include/
Delf.h205 Elf32_Addr st_value; member
218 Elf64_Addr st_value; member
/external/kernel-headers/original/uapi/linux/
Delf.h184 Elf32_Addr st_value; member
196 Elf64_Addr st_value; /* Value of the symbol */ member
/external/libvpx/libvpx/build/make/
Dobj_int_extract.c368 ENDIAN_ASSIGN_IN_PLACE(sym32->st_value); in parse_elf_symbol()
376 ENDIAN_ASSIGN_IN_PLACE(sym64->st_value); in parse_elf_symbol()
486 elf.buf + dhdr.sh_offset + sym.st_value, in parse_elf()
575 elf.buf + dhdr.sh_offset + sym.st_value, in parse_elf()
/external/chromium_org/third_party/libvpx/source/libvpx/build/make/
Dobj_int_extract.c368 ENDIAN_ASSIGN_IN_PLACE(sym32->st_value); in parse_elf_symbol()
376 ENDIAN_ASSIGN_IN_PLACE(sym64->st_value); in parse_elf_symbol()
486 elf.buf + dhdr.sh_offset + sym.st_value, in parse_elf()
575 elf.buf + dhdr.sh_offset + sym.st_value, in parse_elf()

123