Home
last modified time | relevance | path

Searched refs:elfclass (Results 1 – 25 of 29) sorted by relevance

12

/dflybsd-src/contrib/elftoolchain/libelf/
H A Dlibelf_xlate.c48 int elfclass, int direction) in _libelf_xlate() argument
63 assert(elfclass == ELFCLASS32 || elfclass == ELFCLASS64); in _libelf_xlate()
81 if ((fsz = (elfclass == ELFCLASS32 ? elf32_fsize : elf64_fsize) in _libelf_xlate()
85 msz = _libelf_msize(src->d_type, elfclass, src->d_version); in _libelf_xlate()
127 _libelf_malign(src->d_type, elfclass)) { in _libelf_xlate()
141 if (!(_libelf_get_translator(src->d_type, direction, elfclass)) in _libelf_xlate()
H A Delf_data.c42 int elfclass, elftype; in elf_getdata() local
74 elfclass = e->e_class; in elf_getdata()
76 assert(elfclass == ELFCLASS32 || elfclass == ELFCLASS64); in elf_getdata()
78 if (elfclass == ELFCLASS32) { in elf_getdata()
102 if ((fsz = (elfclass == ELFCLASS32 ? elf32_fsize : elf64_fsize) in elf_getdata()
120 msz = _libelf_msize(elftype, elfclass, e->e_version); in elf_getdata()
154 xlate = _libelf_get_translator(elftype, ELF_TOMEMORY, elfclass); in elf_getdata()
H A Dlibelf_align.c89 _libelf_malign(Elf_Type t, int elfclass) in _libelf_malign() argument
94 return (elfclass == ELFCLASS32 ? malign[t].a32 : in _libelf_malign()
128 _libelf_falign(Elf_Type t, int elfclass) in _libelf_falign() argument
133 return (elfclass == ELFCLASS32 ? falign[t].a32 : in _libelf_falign()
H A Dlibelf_msize.m491 _libelf_msize(Elf_Type t, int elfclass, unsigned int version)
95 assert(elfclass == ELFCLASS32 || elfclass == ELFCLASS64);
103 sz = (elfclass == ELFCLASS32) ? msize[t].msz32 : msize[t].msz64;
H A Dlibelf_checksum.c46 _libelf_checksum(Elf *e, int elfclass) in _libelf_checksum() argument
60 if (e->e_class != elfclass) { in _libelf_checksum()
H A Dlibelf_convert.m41072 int (*_libelf_get_translator(Elf_Type t, int direction, int elfclass))
1076 assert(elfclass == ELFCLASS32 || elfclass == ELFCLASS64);
1080 (elfclass != ELFCLASS32 && elfclass != ELFCLASS64) ||
1084 return ((elfclass == ELFCLASS32) ?
/dflybsd-src/contrib/binutils-2.34/bfd/
H A Delf-properties.c83 unsigned int align_size = bed->s->elfclass == ELFCLASS64 ? 8 : 4; in _bfd_elf_parse_gnu_properties()
517 unsigned int elfclass = bed->s->elfclass; in _bfd_elf_link_setup_gnu_properties() local
533 && (elfclass in _bfd_elf_link_setup_gnu_properties()
534 == get_elf_backend_data (abfd)->s->elfclass) in _bfd_elf_link_setup_gnu_properties()
598 unsigned int align_size = elfclass == ELFCLASS64 ? 8 : 4; in _bfd_elf_link_setup_gnu_properties()
675 align_size = bed->s->elfclass == ELFCLASS64 ? 8 : 4; in _bfd_elf_convert_gnu_property_size()
695 align_shift = bed->s->elfclass == ELFCLASS64 ? 3 : 2; in _bfd_elf_convert_gnu_properties()
H A Dbfd.c2210 return bed->s->elfclass == ELFCLASS32; in is32bit()
2556 if (bed->s->elfclass == ELFCLASS32) in bfd_update_compression_header()
2627 if (bed->s->elfclass == ELFCLASS32) in bfd_check_compression_header()
2680 if (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS32) in bfd_get_compression_header_size()
2714 if (get_elf_backend_data (ibfd)->s->elfclass in bfd_convert_section_size()
2715 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_size()
2772 if (get_elf_backend_data (ibfd)->s->elfclass in bfd_convert_section_contents()
2773 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_contents()
H A Delfxx-x86.h35 (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS64)
H A Delf64-x86-64.c468 if (bed->s->elfclass == ELFCLASS32) in elf_x86_64_write_core_note()
495 if (bed->s->elfclass == ELFCLASS32) in elf_x86_64_write_core_note()
5019 return ((xvec_get_elf_backend_data (input)->s->elfclass in elf_x86_64_relocs_compatible()
5020 == xvec_get_elf_backend_data (output)->s->elfclass) in elf_x86_64_relocs_compatible()
H A Delf-bfd.h712 unsigned char elfclass, ev_current; member
H A Delf.c6412 i_ehdrp->e_ident[EI_CLASS] = bed->s->elfclass; in _bfd_elf_init_file_header()
11052 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_prpsinfo()
11162 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_prstatus()
11235 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_pstatus()
12157 size += sizeof ("+0x") - 1 + 8 + 8 * (bed->s->elfclass == ELFCLASS64); in _bfd_elf_get_synthetic_symtab()
/dflybsd-src/contrib/binutils-2.27/bfd/
H A Dbfd.c1660 return bed->s->elfclass == ELFCLASS32; in is32bit()
1998 if (bed->s->elfclass == ELFCLASS32) in bfd_update_compression_header()
2063 if (bed->s->elfclass == ELFCLASS32) in bfd_check_compression_header()
2115 if (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS32) in bfd_get_compression_header_size()
2153 if (get_elf_backend_data (ibfd)->s->elfclass in bfd_convert_section_size()
2154 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_size()
2207 if (get_elf_backend_data (ibfd)->s->elfclass in bfd_convert_section_contents()
2208 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_contents()
H A Delf-ifunc.c417 size += sizeof ("+0x") - 1 + 8 + 8 * (bed->s->elfclass == ELFCLASS64); in _bfd_elf_ifunc_get_synthetic_symtab()
H A Delf64-x86-64.c51 (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS64)
463 if (bed->s->elfclass == ELFCLASS32) in elf_x86_64_write_core_note()
490 if (bed->s->elfclass == ELFCLASS32) in elf_x86_64_write_core_note()
6680 return ((xvec_get_elf_backend_data (input)->s->elfclass in elf_x86_64_relocs_compatible()
6681 == xvec_get_elf_backend_data (output)->s->elfclass) in elf_x86_64_relocs_compatible()
H A Delf-bfd.h654 unsigned char elfclass, ev_current; member
H A Delf.c5875 i_ehdrp->e_ident[EI_CLASS] = bed->s->elfclass; in prep_headers()
10078 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_prpsinfo()
10163 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_prstatus()
10236 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_pstatus()
10905 size += sizeof ("+0x") - 1 + 8 + 8 * (bed->s->elfclass == ELFCLASS64); in _bfd_elf_get_synthetic_symtab()
H A Delflink.c6953 == get_elf_backend_data (obfd)->s->elfclass)) in _bfd_elf_merge_sections()
10966 && elf_elfheader (sub)->e_ident[EI_CLASS] == bed->s->elfclass in elf_fixup_link_order()
11570 && elf_elfheader (sub)->e_ident[EI_CLASS] == bed->s->elfclass) in bfd_elf_final_link()
11593 != bed->s->elfclass)) in bfd_elf_final_link()
11597 switch (bed->s->elfclass) in bfd_elf_final_link()
/dflybsd-src/contrib/binutils-2.27/binutils/
H A Delfedit.c57 enum elfclass enum
65 static enum elfclass input_elf_class = ELF_CLASS_UNKNOWN;
66 static enum elfclass output_elf_class = ELF_CLASS_BOTH;
70 static enum elfclass
/dflybsd-src/contrib/binutils-2.34/binutils/
H A Delfedit.c58 enum elfclass enum
66 static enum elfclass input_elf_class = ELF_CLASS_UNKNOWN;
67 static enum elfclass output_elf_class = ELF_CLASS_BOTH;
285 static enum elfclass
/dflybsd-src/lib/libexecinfo/
H A Dprivate_libelf.h940 _libelf_msize(Elf_Type t, int elfclass, unsigned int version) in _libelf_msize() argument
944 assert(/*elfclass == ELFCLASS32 ||*/ elfclass == ELFCLASS64); in _libelf_msize()
2371 static int (*_libelf_get_translator(Elf_Type t, int direction, int elfclass)) in _libelf_get_translator() argument
2375 assert(/* elfclass == ELFCLASS32 || */ elfclass == ELFCLASS64); in _libelf_get_translator()
2379 (/* elfclass != ELFCLASS32 && */ elfclass != ELFCLASS64) || in _libelf_get_translator()
2386 return ((elfclass == ELFCLASS32) ? in _libelf_get_translator()
3413 int elfclass, elftype; in elf_getdata() local
3445 elfclass = e->e_class; in elf_getdata()
3447 assert(/* elfclass == ELFCLASS32 || */ elfclass == ELFCLASS64); in elf_getdata()
3450 if (elfclass == ELFCLASS32) { in elf_getdata()
[all …]
/dflybsd-src/contrib/gdb-7/bfd/
H A Dbfd.c1599 return bed->s->elfclass == ELFCLASS32; in is32bit()
H A Delf64-x86-64.c52 (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS64)
447 if (bed->s->elfclass == ELFCLASS32) in elf_x86_64_write_core_note()
474 if (bed->s->elfclass == ELFCLASS32) in elf_x86_64_write_core_note()
5130 return ((xvec_get_elf_backend_data (input)->s->elfclass in elf_x86_64_relocs_compatible()
5131 == xvec_get_elf_backend_data (output)->s->elfclass) in elf_x86_64_relocs_compatible()
H A Delf-bfd.h591 unsigned char elfclass, ev_current; member
H A Delf.c5194 i_ehdrp->e_ident[EI_CLASS] = bed->s->elfclass; in prep_headers()
9155 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_prpsinfo()
9244 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_prstatus()
9317 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_pstatus()
9928 size += sizeof ("+0x") - 1 + 8 + 8 * (bed->s->elfclass == ELFCLASS64); in _bfd_elf_get_synthetic_symtab()

12