Home
last modified time | relevance | path

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

123456

/external/elfutils/libdwfl/
Ddwfl_module_getsym.c126 GElf_Addr st_value = sym->st_value & ebl_func_addr_mask (mod->ebl); in __libdwfl_getsym() local
138 st_value = dwfl_adjusted_st_value (mod, elf, st_value); in __libdwfl_getsym()
139 st_value = dwfl_deadjust_st_value (mod, mod->main.elf, st_value); in __libdwfl_getsym()
142 *resolved = ebl_resolve_sym_value (mod->ebl, &st_value); in __libdwfl_getsym()
144 st_value = sym->st_value; in __libdwfl_getsym()
167 shndx, &st_value); in __libdwfl_getsym()
176 st_value = dwfl_adjusted_st_value (mod, in __libdwfl_getsym()
178 st_value); in __libdwfl_getsym()
183 sym->st_value = st_value; in __libdwfl_getsym()
186 *addr = st_value; in __libdwfl_getsym()
Drelocate.c194 sym->st_value = 0; /* Value is size, not helpful. */ in relocate_getsym()
199 *shndx, &sym->st_value); in relocate_getsym()
301 sym->st_value = dwfl_adjusted_st_value (m, m->symfile->elf, in resolve_symbol()
302 sym->st_value); in resolve_symbol()
311 shndx, &sym->st_value); in resolve_symbol()
376 value = sym.st_value; in relocate()
/external/elfutils/tests/
Ddwflsyms.c129 sym.st_size, sym.st_value); in list_syms()
143 assert (sym.st_value == isym.st_value in list_syms()
144 || sym.st_value == isym.st_value + bias in list_syms()
153 assert (addr_in_section (elf, shndxp, sym.st_value - bias)); in list_syms()
165 assert (addr_in_section (aelf, ashndxp, asym.st_value) in list_syms()
173 && value <= sym.st_value); in list_syms()
175 addr = sym.st_value; in list_syms()
185 if (value != isym.st_value + bias && ehdr.e_type != ET_REL) in list_syms()
Dasm-tst7.c152 if (sym->st_value != 16) in main()
155 (uintmax_t) sym->st_value); in main()
162 (uintmax_t) sym->st_value); in main()
Dasm-tst8.c153 if (sym->st_value != 0xfeedbeef) in main()
156 (uintmax_t) sym->st_value); in main()
163 (uintmax_t) sym->st_value); in main()
/external/elfutils/backends/
Driscv_symbol.c108 && sym->st_value >= destshdr->sh_addr in riscv_check_special_symbol()
109 && sym->st_value < destshdr->sh_addr + destshdr->sh_size); in riscv_check_special_symbol()
116 && sym->st_value == destshdr->sh_addr + 0x800) in riscv_check_special_symbol()
Dppc_symbol.c150 return sym->st_value == gotaddr; in ppc_check_special_symbol()
169 && sym->st_value == destshdr->sh_addr + 0x8000) in ppc_check_special_symbol()
175 && sym->st_value == destshdr->sh_addr + 0x8000 in ppc_check_special_symbol()
Ds390_symbol.c87 return (sym->st_value >= shdr->sh_addr in s390_check_special_symbol()
88 && sym->st_value < shdr->sh_addr + shdr->sh_size); in s390_check_special_symbol()
Daarch64_symbol.c88 return (sym->st_value >= shdr->sh_addr in aarch64_check_special_symbol()
89 && sym->st_value < shdr->sh_addr + shdr->sh_size); in aarch64_check_special_symbol()
/external/llvm-project/lld/test/ELF/
Dppc32-tls-ld.s20 ## a@dtprel = st_value(a)-0x8000 = 65540-0x8000 = 65536*1-32764
21 ## b@dtprel = st_value(a)-0x8000 = 131080-0x8000 = 65536*2-32760
26 ## small@dtprel = st_value(small)-0x8000 = 4-0x8000 = -32764
34 ## b@dtprel = st_value(a)-0x8000 = 131080-0x8000 = 65536*2-32760
Dppc64-tls-gd.s46 ## a@tprel = st_value(a)-0x7000 = -28664
51 ## b@tprel = st_value(b)-0x7000 = -28660
56 ## c@tprel = st_value(c)-0x7000 = -28656
67 ## a@tprel = st_value(a)-0x7000 = -28664
Dsparcv9-tls-le.s6 ## %hix(@tpoff(a)) = ~(st_value(a) - 1026) >> 10 = 1
7 ## %lo(@tpoff(a)) = (st_value(a) - 1026) & 0x3ff | 0x1c00 = -2 (0x1ffe)
Dppc32-tls-le.s6 ## a@tprel = st_value(a)-0x7000 = -28664
7 ## b@tprel = st_value(b)-0x7000 = -28660
Dsection-symbol-gap.s2 ## Test st_value of the STT_SECTION symbol equals the output section address,
11 ## In -r mode, section addresses are zeros, hence the st_value fields of
Dppc32-tls-ie.s27 ## a@tprel = st_value(a)-0x7000 = -28664
28 ## b@tprel = st_value(b)-0x7000 = -28660
/external/bcc/src/cc/
Dbcc_elf.c249 if (sym.st_value == 0) in list_in_scn()
259 size_t offset = sym.st_value - opdshdr.sh_addr; in list_in_scn()
263 sym.st_value = *descr; in list_in_scn()
276 case 2: sym.st_value += 4; break; in list_in_scn()
278 case 3: sym.st_value += 8; break; in list_in_scn()
280 case 4: sym.st_value += 16; break; in list_in_scn()
282 case 5: sym.st_value += 32; break; in list_in_scn()
284 case 6: sym.st_value += 64; break; in list_in_scn()
290 if (callback(name, sym.st_value, sym.st_size, payload) < 0) in list_in_scn()
775 sym_addr = sym.st_value; in bcc_free_memory_with_file()
/external/elfutils/src/
Dfindtextrel.c545 if (sym->st_value < addr && sym->st_value > lowaddr) in check_rel()
547 lowaddr = sym->st_value; in check_rel()
550 if (sym->st_value > addr && sym->st_value < highaddr) in check_rel()
552 highaddr = sym->st_value; in check_rel()
565 if (sym->st_value + sym->st_size > addr) in check_rel()
Dnm.c848 digits, syms[cnt].sym.st_value); in show_symbols_sysv()
1022 digits, syms[cnt].sym.st_value, in show_symbols_bsd()
1040 digits, syms[cnt].sym.st_value, in show_symbols_bsd()
1130 digits, syms[cnt].sym.st_value, in show_symbols_posix()
1150 int result = (s1->sym.st_value < s2->sym.st_value in sort_by_address()
1151 ? -1 : (s1->sym.st_value == s2->sym.st_value ? 0 : 1)); in sort_by_address()
1409 && lowpc <= sym->st_value in show_symbols()
1411 && highpc > sym->st_value) in show_symbols()
1417 sym->st_value); in show_symbols()
1446 .lowpc = sym->st_value, in show_symbols()
[all …]
/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)
/external/elfutils/libelf/
Dgelf_update_sym.c67 if (unlikely (src->st_value > 0xffffffffull) in gelf_update_sym()
86 COPY (st_value); in gelf_update_sym()
Dgelf_update_symshndx.c92 if (unlikely (src->st_value > 0xffffffffull) in gelf_update_symshndx()
111 COPY (st_value); in gelf_update_symshndx()
/external/llvm-project/llvm/test/MC/ARM/
Delf-thumbfunc.s1 @@ test st_value bit 0 of thumb function
20 @@ make sure foo and bar are thumb function: bit 0 = 1 (st_value)
/external/vixl/examples/aarch32/
Ddisasm-a32.cc139 (sym[snum].st_value != 0) && in LocateSymbols()
158 Symbol(symname, sym.st_value, 0, sym.st_size, sym.st_shndx)); in visit()
177 sym.st_value, in visit()
184 sym.st_value, in visit()
/external/abseil-cpp/absl/debugging/internal/
Delf_mem_image.cc122 return reinterpret_cast<const void *>(sym->st_value); in GetSymAddr()
124 ABSL_RAW_CHECK(link_base_ < sym->st_value, "symbol out of range"); in GetSymAddr()
125 return GetTableElement<char>(ehdr_, 0, 1, sym->st_value - link_base_); in GetSymAddr()
/external/webrtc/third_party/abseil-cpp/absl/debugging/internal/
Delf_mem_image.cc122 return reinterpret_cast<const void *>(sym->st_value); in GetSymAddr()
124 ABSL_RAW_CHECK(link_base_ < sym->st_value, "symbol out of range"); in GetSymAddr()
125 return GetTableElement<char>(ehdr_, 0, 1, sym->st_value - link_base_); in GetSymAddr()

123456