Home
last modified time | relevance | path

Searched refs:sh_addr (Results 1 – 25 of 90) sorted by relevance

1234

/external/elfutils/libdwfl/
Ddwfl_report_elf.c86 if (shdr->sh_addr == 0 in __libdwfl_elf_address_range()
92 shdr->sh_addr = next; in __libdwfl_elf_address_range()
96 start = base = shdr->sh_addr; in __libdwfl_elf_address_range()
120 prev_shdr->sh_addr in __libdwfl_elf_address_range()
122 end = prev_shdr->sh_addr + prev_shdr->sh_size; in __libdwfl_elf_address_range()
133 end = shdr->sh_addr + shdr->sh_size; in __libdwfl_elf_address_range()
134 if (likely (shdr->sh_addr != 0) in __libdwfl_elf_address_range()
141 if (first || end < shdr->sh_addr + shdr->sh_size) in __libdwfl_elf_address_range()
142 end = shdr->sh_addr + shdr->sh_size; in __libdwfl_elf_address_range()
143 if (first || bias > shdr->sh_addr) in __libdwfl_elf_address_range()
[all …]
Drelocate.c57 if (refshdr->sh_addr == 0 && (refshdr->sh_flags & SHF_ALLOC)) in __libdwfl_relocate_value()
72 &refshdr->sh_addr)) in __libdwfl_relocate_value()
75 if (refshdr->sh_addr == (Dwarf_Addr) -1l) in __libdwfl_relocate_value()
78 refshdr->sh_addr = 0; /* Make no adjustment below. */ in __libdwfl_relocate_value()
83 if (likely (refshdr->sh_addr != 0) in __libdwfl_relocate_value()
90 *value += dwfl_adjusted_address (mod, refshdr->sh_addr); in __libdwfl_relocate_value()
Dderelocate.c106 if ((shdr->sh_flags & SHF_ALLOC) && shdr->sh_addr == 0 in cache_sections()
112 &shdr->sh_addr) != DWFL_E_NOERROR) in cache_sections()
138 newref->start = dwfl_adjusted_address (mod, shdr->sh_addr); in cache_sections()
Doffline.c53 assert (shdr->sh_addr == 0); in dwfl_offline_section_address()
89 *addr = main_shdr->sh_addr; in dwfl_offline_section_address()
/external/u-boot/tools/
Dzynqmpbif.c551 if (!shdr->sh_size || !shdr->sh_addr || in elf2flat64()
556 if (le64_to_cpu(shdr->sh_addr) < min_addr) in elf2flat64()
557 min_addr = le64_to_cpu(shdr->sh_addr); in elf2flat64()
558 if ((le64_to_cpu(shdr->sh_addr) + le64_to_cpu(shdr->sh_size)) > in elf2flat64()
560 max_addr = le64_to_cpu(shdr->sh_addr) + in elf2flat64()
572 char *dst = flat + le64_to_cpu(shdr->sh_addr) - min_addr; in elf2flat64()
575 if (!shdr->sh_size || !shdr->sh_addr || in elf2flat64()
599 if (!shdr->sh_size || !shdr->sh_addr || in elf2flat32()
604 if (le32_to_cpu(shdr->sh_addr) < min_addr) in elf2flat32()
605 min_addr = le32_to_cpu(shdr->sh_addr); in elf2flat32()
[all …]
/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()
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()
Dalpha_symbol.c94 && shdr->sh_addr != 0) in alpha_check_special_section()
122 return pltgot == shdr->sh_addr; in alpha_check_special_section()
Dppc_symbol.c169 && 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()
/external/u-boot/cmd/
Delf.c124 shdr->sh_addr == 0 || shdr->sh_size == 0) { in load_elf_image_shdr()
132 (unsigned long)shdr->sh_addr, in load_elf_image_shdr()
137 memset((void *)(uintptr_t)shdr->sh_addr, 0, in load_elf_image_shdr()
141 memcpy((void *)(uintptr_t)shdr->sh_addr, in load_elf_image_shdr()
144 flush_cache(shdr->sh_addr, shdr->sh_size); in load_elf_image_shdr()
/external/elfutils/tests/
Dupdate4.c133 shdr->sh_addr = 0; in main()
169 shdr->sh_addr = 0; in main()
205 shdr->sh_addr = 0; in main()
241 shdr->sh_addr = 0; in main()
278 shdr->sh_addr = 0; in main()
Ddwflsyms.c103 return addr >= shdr.sh_addr && addr < shdr.sh_addr + shdr.sh_size; in addr_in_section()
Dalldts.c147 shdr->sh_addr = 0x1a0; in main()
198 shdr->sh_addr = 0; in main()
Daddsections.c187 shdr->sh_addr = 0; in add_sections()
234 shdr->sh_addr = 0; in add_sections()
/external/google-breakpad/src/common/linux/
Dsynth_elf_unittest.cc245 EXPECT_EQ(0U, shdr[0].sh_addr); in TYPED_TEST()
256 EXPECT_EQ(0U, shdr[1].sh_addr); in TYPED_TEST()
320 EXPECT_EQ(0U, shdr[0].sh_addr); in TYPED_TEST()
331 EXPECT_EQ(0U, shdr[1].sh_addr); in TYPED_TEST()
342 EXPECT_EQ(0U, shdr[2].sh_addr); in TYPED_TEST()
353 EXPECT_EQ(0U, shdr[3].sh_addr); in TYPED_TEST()
/external/elfutils/libelf/
Dgelf_update_shdr.c64 || unlikely (src->sh_addr > 0xffffffffull) in gelf_update_shdr()
79 COPY (sh_addr); in gelf_update_shdr()
Delf32_getshdr.c143 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr); in ElfW2()
192 CONVERT (shdr[cnt].sh_addr); in ElfW2()
Dgelf_getshdr.c73 COPY (sh_addr); in gelf_getshdr()
/external/swiftshader/third_party/LLVM/test/MC/ELF/
Dentsize.ll26 ; 64-NEXT: ('sh_addr',
37 ; 64-NEXT: ('sh_addr',
/external/elfutils/src/
Dunstrip.c403 sym->st_value = shdr->sh_addr; in symtab_count_leading_section_symbols()
663 .st_value = rel ? 0 : i_shdr->sh_addr, in add_new_section_symbols()
730 if (s1->shdr.sh_addr < s2->shdr.sh_addr) in compare_alloc_sections()
732 if (s1->shdr.sh_addr > s2->shdr.sh_addr) in compare_alloc_sections()
872 s->value = shdr->sh_addr; in collect_symbols()
875 && s->value < split_bss->shdr.sh_addr in collect_symbols()
876 && s->value >= split_bss[-1].shdr.sh_addr in collect_symbols()
980 const GElf_Addr addr = shdr->sh_addr + bias; in find_alloc_section()
985 if (addr < sections[i].shdr.sh_addr) in find_alloc_section()
987 else if (addr > sections[i].shdr.sh_addr) in find_alloc_section()
[all …]
/external/elfutils/libdw/
Ddwarf_getcfi_elf.c225 Dwarf_CFI *cfi = allocate_cfi (elf, shdr->sh_addr); in getcfi_scn_eh_frame()
261 if (unlikely (eh_frame_vaddr != shdr->sh_addr)) in getcfi_scn_eh_frame()
297 hdr_vaddr = shdr->sh_addr; in getcfi_shdr()
/external/u-boot/drivers/net/pfe_eth/
Dpfe_hw.c350 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_pmem_section()
401 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_dmem_section()
458 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_ddr_section()
542 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_pe_lmem_section()
596 u32 addr = be32_to_cpu(shdr->sh_addr); in pe_load_elf_section()
/external/kernel-headers/original/uapi/linux/
Delf.h307 Elf32_Addr sh_addr; member
320 Elf64_Addr sh_addr; /* Section virtual addr at execution */ member
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DDwarfCFIEHPrinter.h55 if (Shdr.sh_addr == Addr) in findSectionByAddress()
169 uint64_t Address = EHFrameShdr->sh_addr; in printEHFrame()

1234