/external/elfutils/libdwfl/ |
D | dwfl_report_elf.c | 86 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 …]
|
D | relocate.c | 57 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()
|
D | derelocate.c | 106 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()
|
D | offline.c | 53 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/ |
D | zynqmpbif.c | 551 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/ |
D | riscv_symbol.c | 108 && 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()
|
D | s390_symbol.c | 87 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()
|
D | aarch64_symbol.c | 88 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()
|
D | alpha_symbol.c | 94 && shdr->sh_addr != 0) in alpha_check_special_section() 122 return pltgot == shdr->sh_addr; in alpha_check_special_section()
|
D | ppc_symbol.c | 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()
|
/external/u-boot/cmd/ |
D | elf.c | 124 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/ |
D | update4.c | 133 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()
|
D | dwflsyms.c | 103 return addr >= shdr.sh_addr && addr < shdr.sh_addr + shdr.sh_size; in addr_in_section()
|
D | alldts.c | 147 shdr->sh_addr = 0x1a0; in main() 198 shdr->sh_addr = 0; in main()
|
D | addsections.c | 187 shdr->sh_addr = 0; in add_sections() 234 shdr->sh_addr = 0; in add_sections()
|
/external/google-breakpad/src/common/linux/ |
D | synth_elf_unittest.cc | 245 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/ |
D | gelf_update_shdr.c | 64 || unlikely (src->sh_addr > 0xffffffffull) in gelf_update_shdr() 79 COPY (sh_addr); in gelf_update_shdr()
|
D | elf32_getshdr.c | 143 CONVERT_TO (shdr[cnt].sh_addr, notcvt[cnt].sh_addr); in ElfW2() 192 CONVERT (shdr[cnt].sh_addr); in ElfW2()
|
D | gelf_getshdr.c | 73 COPY (sh_addr); in gelf_getshdr()
|
/external/swiftshader/third_party/LLVM/test/MC/ELF/ |
D | entsize.ll | 26 ; 64-NEXT: ('sh_addr', 37 ; 64-NEXT: ('sh_addr',
|
/external/elfutils/src/ |
D | unstrip.c | 403 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/ |
D | dwarf_getcfi_elf.c | 225 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/ |
D | pfe_hw.c | 350 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/ |
D | elf.h | 307 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/ |
D | DwarfCFIEHPrinter.h | 55 if (Shdr.sh_addr == Addr) in findSectionByAddress() 169 uint64_t Address = EHFrameShdr->sh_addr; in printEHFrame()
|