Home
last modified time | relevance | path

Searched refs:mdata (Results 1 – 13 of 13) sorted by relevance

/toolchain/binutils/binutils-2.27/bfd/
Dmach-o.c46 bfd_mach_o_data_struct *mdata = NULL; in bfd_mach_o_version() local
49 mdata = bfd_mach_o_get_data (abfd); in bfd_mach_o_version()
51 return mdata->header.version; in bfd_mach_o_version()
540 bfd_mach_o_data_struct *mdata = bfd_mach_o_get_data (abfd); in bfd_mach_o_append_command() local
542 if (mdata->last_command != NULL) in bfd_mach_o_append_command()
543 mdata->last_command->next = cmd; in bfd_mach_o_append_command()
545 mdata->first_command = cmd; in bfd_mach_o_append_command()
546 mdata->last_command = cmd; in bfd_mach_o_append_command()
729 bfd_mach_o_data_struct *mdata = bfd_mach_o_get_data (abfd); in bfd_mach_o_bfd_set_private_flags() local
731 if (!mdata) in bfd_mach_o_bfd_set_private_flags()
[all …]
Dmach-o-aarch64.c59 bfd_mach_o_data_struct *mdata; in bfd_mach_o_arm64_mkobject() local
64 mdata = bfd_mach_o_get_data (abfd); in bfd_mach_o_arm64_mkobject()
65 mdata->header.magic = BFD_MACH_O_MH_MAGIC; in bfd_mach_o_arm64_mkobject()
66 mdata->header.cputype = BFD_MACH_O_CPU_TYPE_ARM64; in bfd_mach_o_arm64_mkobject()
67 mdata->header.cpusubtype = BFD_MACH_O_CPU_SUBTYPE_ARM64_ALL; in bfd_mach_o_arm64_mkobject()
68 mdata->header.byteorder = BFD_ENDIAN_LITTLE; in bfd_mach_o_arm64_mkobject()
69 mdata->header.version = 1; in bfd_mach_o_arm64_mkobject()
Dmach-o-arm.c57 bfd_mach_o_data_struct *mdata; in bfd_mach_o_arm_mkobject() local
62 mdata = bfd_mach_o_get_data (abfd); in bfd_mach_o_arm_mkobject()
63 mdata->header.magic = BFD_MACH_O_MH_MAGIC; in bfd_mach_o_arm_mkobject()
64 mdata->header.cputype = BFD_MACH_O_CPU_TYPE_ARM; in bfd_mach_o_arm_mkobject()
65 mdata->header.cpusubtype = BFD_MACH_O_CPU_SUBTYPE_ARM_ALL; in bfd_mach_o_arm_mkobject()
66 mdata->header.byteorder = BFD_ENDIAN_LITTLE; in bfd_mach_o_arm_mkobject()
67 mdata->header.version = 1; in bfd_mach_o_arm_mkobject()
Dmach-o-x86-64.c48 bfd_mach_o_data_struct *mdata; in bfd_mach_o_x86_64_mkobject() local
53 mdata = bfd_mach_o_get_data (abfd); in bfd_mach_o_x86_64_mkobject()
54 mdata->header.magic = BFD_MACH_O_MH_MAGIC_64; in bfd_mach_o_x86_64_mkobject()
55 mdata->header.cputype = BFD_MACH_O_CPU_TYPE_X86_64; in bfd_mach_o_x86_64_mkobject()
56 mdata->header.cpusubtype = in bfd_mach_o_x86_64_mkobject()
58 mdata->header.byteorder = BFD_ENDIAN_LITTLE; in bfd_mach_o_x86_64_mkobject()
59 mdata->header.version = 2; in bfd_mach_o_x86_64_mkobject()
Dmach-o-i386.c48 bfd_mach_o_data_struct *mdata; in bfd_mach_o_i386_mkobject() local
53 mdata = bfd_mach_o_get_data (abfd); in bfd_mach_o_i386_mkobject()
54 mdata->header.magic = BFD_MACH_O_MH_MAGIC; in bfd_mach_o_i386_mkobject()
55 mdata->header.cputype = BFD_MACH_O_CPU_TYPE_I386; in bfd_mach_o_i386_mkobject()
56 mdata->header.cpusubtype = BFD_MACH_O_CPU_SUBTYPE_X86_ALL; in bfd_mach_o_i386_mkobject()
57 mdata->header.byteorder = BFD_ENDIAN_LITTLE; in bfd_mach_o_i386_mkobject()
58 mdata->header.version = 1; in bfd_mach_o_i386_mkobject()
Dpef.c514 bfd_pef_data_struct *mdata) in bfd_pef_scan() argument
520 mdata->header = *header; in bfd_pef_scan()
531 mdata->header = *header; in bfd_pef_scan()
538 mdata->sections = bfd_alloc (abfd, header->section_count * sizeof (bfd_pef_section)); in bfd_pef_scan()
540 if (mdata->sections == NULL) in bfd_pef_scan()
545 bfd_pef_section *cur = &mdata->sections[i]; in bfd_pef_scan()
555 abfd->tdata.pef_data = mdata; in bfd_pef_scan()
589 bfd_pef_data_struct *mdata; in bfd_pef_object_p() local
597 mdata = (bfd_pef_data_struct *) bfd_zalloc (abfd, sizeof (*mdata)); in bfd_pef_object_p()
598 if (mdata == NULL) in bfd_pef_object_p()
[all …]
Dxsym.c2221 bfd_sym_scan (bfd *abfd, bfd_sym_version version, bfd_sym_data_struct *mdata) in bfd_sym_scan() argument
2226 mdata->name_table = 0; in bfd_sym_scan()
2227 mdata->sbfd = abfd; in bfd_sym_scan()
2228 mdata->version = version; in bfd_sym_scan()
2231 if (bfd_sym_read_header (abfd, &mdata->header, mdata->version) != 0) in bfd_sym_scan()
2234 mdata->name_table = bfd_sym_read_name_table (abfd, &mdata->header); in bfd_sym_scan()
2235 if (mdata->name_table == NULL) in bfd_sym_scan()
2248 abfd->tdata.sym_data = mdata; in bfd_sym_scan()
2257 bfd_sym_data_struct *mdata; in bfd_sym_object_p() local
2263 mdata = (bfd_sym_data_struct *) bfd_alloc (abfd, sizeof (*mdata)); in bfd_sym_object_p()
[all …]
DChangeLog-20091802 (bfd_mach_o_scan_read_thread): Set mdata at declaration. Add comments,
1804 (bfd_mach_o_scan_read_dysymtab): Set mdata at declaration. Correctly
1920 Remove sym argument and get section from mdata.
1923 Remove sym argument and get section from mdata. Adjust code.
1934 field of mdata.
DChangeLog-02035619 (bfd_mach_o_scan): Pass in mdata.
5624 (bfd_pef_scan): Pass in mdata. Move version check to bfd_pef_object_p.
/toolchain/binutils/binutils-2.27/binutils/
Dod-macho.c295 bfd_mach_o_data_struct *mdata = bfd_mach_o_get_data (abfd); in dump_header() local
296 bfd_mach_o_header *h = &mdata->header; in dump_header()
326 bfd_mach_o_data_struct *mdata = bfd_mach_o_get_data (abfd); in dump_section_map() local
333 for (cmd = mdata->first_command; cmd != NULL; cmd = cmd->next) in dump_section_map()
446 bfd_mach_o_data_struct *mdata = bfd_mach_o_get_data (abfd); in dump_dysymtab() local
469 * (mdata->header.version == 2 ? in dump_dysymtab()
511 if (mdata->symtab && mdata->symtab->strtab) in dump_dysymtab()
513 mdata->symtab->strtab + module->module_name_idx); in dump_dysymtab()
534 bfd_mach_o_symtab_command *symtab = mdata->symtab; in dump_dysymtab()
572 for (i = 0; i < mdata->nsects; i++) in dump_dysymtab()
[all …]
/toolchain/binutils/binutils-2.27/ld/scripttempl/
Dtic30coff.sc43 .mdata : AT( ADDR(.const) + SIZEOF(.const) )
/toolchain/binutils/binutils-2.27/ld/
Dld.texinfo4837 @samp{.mdata}, which is loaded at the end of the @samp{.text} section
4848 .mdata 0x2000 :
/toolchain/binutils/binutils-2.27/
DChangeLog9556 * mdata-sh: Imported. Needed for automake support.