Home
last modified time | relevance | path

Searched refs:elf_header (Results 1 – 9 of 9) sorted by relevance

/toolchain/binutils/binutils-2.25/binutils/
Delfedit.c48 static Elf_Internal_Ehdr elf_header; variable
64 if (elf_header.e_ident[EI_MAG0] != ELFMAG0 in update_elf_header()
65 || elf_header.e_ident[EI_MAG1] != ELFMAG1 in update_elf_header()
66 || elf_header.e_ident[EI_MAG2] != ELFMAG2 in update_elf_header()
67 || elf_header.e_ident[EI_MAG3] != ELFMAG3) in update_elf_header()
75 if (elf_header.e_ident[EI_VERSION] != EV_CURRENT) in update_elf_header()
79 file_name, elf_header.e_ident[EI_VERSION], in update_elf_header()
85 if (output_elf_machine == elf_header.e_machine) in update_elf_header()
88 class = elf_header.e_ident[EI_CLASS]; in update_elf_header()
99 machine = elf_header.e_machine; in update_elf_header()
[all …]
Dreadelf.c187 static Elf_Internal_Ehdr elf_header; variable
297 if (elf_header.e_machine == EM_ARM) \
562 if (ndx >= elf_header.e_shnum) in printable_section_name_from_index()
575 for (i = 0; i < elf_header.e_shnum; i++) in find_section()
590 for (i = 0; i < elf_header.e_shnum; i++) in find_section_by_address()
605 for (i = 0; i < elf_header.e_shnum; i++) in find_section_by_type()
651 return elf_header.e_machine == EM_IA_64 in is_ia64_vms()
652 && elf_header.e_ident[EI_OSABI] == ELFOSABI_OPENVMS; in is_ia64_vms()
844 if (elf_header.e_machine == EM_MIPS in slurp_rela_relocs()
845 && elf_header.e_ident[EI_DATA] != ELFDATA2MSB) in slurp_rela_relocs()
[all …]
Dobjdump.c3032 && elf_tdata(abfd)->elf_header->e_machine == EM_SPARCV9 in dump_reloc_set()
DChangeLog-000183 e_shdtrndx values. Set elf_header values for same.
/toolchain/binutils/binutils-2.25/gold/
Ddwp.cc1042 const unsigned char* elf_header = in make_object() local
1044 if (!elfcpp::Elf_recognizer::is_elf_file(elf_header, hdrsize)) in make_object()
1053 if (!elfcpp::Elf_recognizer::is_valid_header(elf_header, hdrsize, &size, in make_object()
1061 return this->sized_make_object<32, true>(elf_header, input_file, in make_object()
1068 return this->sized_make_object<32, false>(elf_header, input_file, in make_object()
1078 return this->sized_make_object<64, true>(elf_header, input_file, in make_object()
1085 return this->sized_make_object<64, false>(elf_header, input_file, in make_object()
/toolchain/binutils/binutils-2.25/ld/emultempl/
Dspuelf.em498 || (entry->the_bfd->tdata.elf_obj_data->elf_header->e_type != ET_EXEC
499 && entry->the_bfd->tdata.elf_obj_data->elf_header->e_type != ET_DYN))
/toolchain/binutils/binutils-2.25/opcodes/
Dmep-dis.c649 mep_config_index = abfd->tdata.elf_obj_data->elf_header->e_flags & EF_MEP_INDEX_MASK; in mep_print_insn()
652 cop_type = abfd->tdata.elf_obj_data->elf_header->e_flags & EF_MEP_COP_MASK; in mep_print_insn()
/toolchain/binutils/binutils-2.25/bfd/
Delf-bfd.h1577 Elf_Internal_Ehdr elf_header[1]; /* Actual data, but ref like ptr */ member
1701 #define elf_elfheader(bfd) (elf_tdata(bfd) -> elf_header)
/toolchain/binutils/binutils-2.25/cpu/
Dmep.opc1454 mep_config_index = abfd->tdata.elf_obj_data->elf_header->e_flags & EF_MEP_INDEX_MASK;
1457 cop_type = abfd->tdata.elf_obj_data->elf_header->e_flags & EF_MEP_COP_MASK;