Searched refs:shdr (Results 1 – 4 of 4) sorted by relevance
/arch/mips/vdso/ |
D | genvdso.h | 15 ELF(Shdr) *shdr; in FUNC() 25 shdr = shdrs + (sh_entsize * swap_uint16(ehdr->e_shstrndx)); in FUNC() 26 shstrtab = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC() 29 shdr = shdrs + (i * sh_entsize); in FUNC() 30 name = shstrtab + swap_uint32(shdr->sh_name); in FUNC() 37 switch (swap_uint32(shdr->sh_type)) { in FUNC() 45 dyn = vdso + FUNC(swap_uint)(shdr->sh_offset); in FUNC() 59 shdr->sh_type = swap_uint32(SHT_MIPS_ABIFLAGS); in FUNC() 60 shdr->sh_entsize = shdr->sh_size; in FUNC() 117 ELF(Shdr) *shdr; in FUNC() [all …]
|
/arch/x86/tools/ |
D | relocs.c | 29 Elf_Shdr shdr; member 244 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name() 278 if (sec->shdr.sh_type != SHT_SYMTAB) in sym_lookup() 281 nsyms = sec->shdr.sh_size/sizeof(Elf_Sym); in sym_lookup() 392 Elf_Shdr shdr; in read_shdrs() local 405 if (fread(&shdr, sizeof shdr, 1, fp) != 1) in read_shdrs() 408 sec->shdr.sh_name = elf_word_to_cpu(shdr.sh_name); in read_shdrs() 409 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs() 410 sec->shdr.sh_flags = elf_xword_to_cpu(shdr.sh_flags); in read_shdrs() 411 sec->shdr.sh_addr = elf_addr_to_cpu(shdr.sh_addr); in read_shdrs() [all …]
|
/arch/powerpc/boot/ |
D | hack-coff.c | 39 struct external_scnhdr shdr; in main() local 61 if (read(fd, &shdr, sizeof(shdr)) != sizeof(shdr)) in main() 63 if (strcmp(shdr.s_name, ".text") == 0) { in main() 66 } else if (strcmp(shdr.s_name, ".data") == 0) { in main() 68 } else if (strcmp(shdr.s_name, ".bss") == 0) { in main()
|
/arch/powerpc/oprofile/cell/ |
D | vma_map.c | 118 Elf32_Shdr shdr, shdr_str; in create_vma_map() local 175 if (copy_from_user(&shdr, shdr_start + i, sizeof(shdr))) in create_vma_map() 178 if (shdr.sh_type != SHT_SYMTAB) in create_vma_map() 180 if (shdr.sh_entsize != sizeof (sym)) in create_vma_map() 184 shdr_start + shdr.sh_link, in create_vma_map() 185 sizeof(shdr))) in create_vma_map() 191 for (j = 0; j < shdr.sh_size / sizeof (sym); j++) { in create_vma_map() 193 shdr.sh_offset + in create_vma_map()
|