| /netbsd-src/external/bsd/elftoolchain/dist/libelf/ |
| H A D | libelf_xlate.c | 57 int elfclass, int elfmachine, int direction) in _libelf_xlate() argument 73 assert(elfclass == ELFCLASS32 || elfclass == ELFCLASS64); in _libelf_xlate() 91 if ((fsz = (elfclass == ELFCLASS32 ? elf32_fsize : elf64_fsize) in _libelf_xlate() 95 if ((msz = _libelf_msize(src->d_type, elfclass, src->d_version)) == 0) in _libelf_xlate() 136 _libelf_malign(src->d_type, elfclass)) { in _libelf_xlate() 150 xlator = _libelf_get_translator(src->d_type, direction, elfclass, in _libelf_xlate()
|
| H A D | elf_data.c | 51 int elfclass, elftype; in elf_getdata() local 83 elfclass = e->e_class; in elf_getdata() 85 assert(elfclass == ELFCLASS32 || elfclass == ELFCLASS64); in elf_getdata() 87 if (elfclass == ELFCLASS32) { in elf_getdata() 112 if ((fsz = (elfclass == ELFCLASS32 ? elf32_fsize : elf64_fsize) in elf_getdata() 130 if ((msz = _libelf_msize(elftype, elfclass, e->e_version)) == 0) in elf_getdata() 165 xlate = _libelf_get_translator(elftype, ELF_TOMEMORY, elfclass, in elf_getdata()
|
| H A D | libelf_align.c | 102 _libelf_malign(Elf_Type t, int elfclass) in _libelf_malign() argument 107 return (elfclass == ELFCLASS32 ? malign[t].a32 : in _libelf_malign() 141 _libelf_falign(Elf_Type t, int elfclass) in _libelf_falign() argument 146 return (elfclass == ELFCLASS32 ? falign[t].a32 : in _libelf_falign()
|
| H A D | libelf_msize.m4 | 107 _libelf_msize(Elf_Type t, int elfclass, unsigned int version) 111 assert(elfclass == ELFCLASS32 || elfclass == ELFCLASS64); 119 sz = (elfclass == ELFCLASS32) ? msize[t].msz32 : msize[t].msz64;
|
| H A D | libelf_checksum.c | 51 _libelf_checksum(Elf *e, int elfclass) in _libelf_checksum() argument 65 if (e->e_class != elfclass) { in _libelf_checksum()
|
| H A D | libelf_convert.m4 | 1089 _libelf_get_translator(Elf_Type t, int direction, int elfclass, int elfmachine) 1091 assert(elfclass == ELFCLASS32 || elfclass == ELFCLASS64); 1098 return ((elfclass == ELFCLASS32) ?
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | elf-properties.c | 83 unsigned int align_size = bed->s->elfclass == ELFCLASS64 ? 8 : 4; in _bfd_elf_parse_gnu_properties() 622 unsigned int elfclass = bed->s->elfclass; in _bfd_elf_link_setup_gnu_properties() local 632 && (elfclass == get_elf_backend_data (abfd)->s->elfclass)) in _bfd_elf_link_setup_gnu_properties() 671 elfclass == ELFCLASS64 ? 3 : 2)) in _bfd_elf_link_setup_gnu_properties() 746 unsigned int align_size = elfclass == ELFCLASS64 ? 8 : 4; in _bfd_elf_link_setup_gnu_properties() 854 align_size = bed->s->elfclass == ELFCLASS64 ? 8 : 4; in _bfd_elf_convert_gnu_property_size() 874 align_shift = bed->s->elfclass == ELFCLASS64 ? 3 : 2; in _bfd_elf_convert_gnu_properties()
|
| H A D | bfd.c | 2224 return bed->s->elfclass == ELFCLASS32; in is32bit() 2499 if (bed->s->elfclass == ELFCLASS32) in bfd_update_compression_header() 2572 if (bed->s->elfclass == ELFCLASS32) in bfd_check_compression_header() 2625 if (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS32) in bfd_get_compression_header_size() 2659 if (get_elf_backend_data (ibfd)->s->elfclass in bfd_convert_section_size() 2660 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_size() 2717 if (get_elf_backend_data (ibfd)->s->elfclass in bfd_convert_section_contents() 2718 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_contents()
|
| H A D | elfxx-x86.h | 109 (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS64)
|
| H A D | elf64-x86-64.c | 451 if (bed->s->elfclass == ELFCLASS32) in elf_x86_64_write_core_note() 478 if (bed->s->elfclass == ELFCLASS32) in elf_x86_64_write_core_note() 5178 return ((xvec_get_elf_backend_data (input)->s->elfclass in elf_x86_64_relocs_compatible() 5179 == xvec_get_elf_backend_data (output)->s->elfclass) in elf_x86_64_relocs_compatible()
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | elf-properties.c | 83 unsigned int align_size = bed->s->elfclass == ELFCLASS64 ? 8 : 4; in _bfd_elf_parse_gnu_properties() 622 unsigned int elfclass = bed->s->elfclass; in _bfd_elf_link_setup_gnu_properties() local 632 && (elfclass == get_elf_backend_data (abfd)->s->elfclass)) in _bfd_elf_link_setup_gnu_properties() 671 elfclass == ELFCLASS64 ? 3 : 2)) in _bfd_elf_link_setup_gnu_properties() 746 unsigned int align_size = elfclass == ELFCLASS64 ? 8 : 4; in _bfd_elf_link_setup_gnu_properties() 854 align_size = bed->s->elfclass == ELFCLASS64 ? 8 : 4; in _bfd_elf_convert_gnu_property_size() 874 align_shift = bed->s->elfclass == ELFCLASS64 ? 3 : 2; in _bfd_elf_convert_gnu_properties()
|
| H A D | compress.c | 170 if (bed->s->elfclass == ELFCLASS32) in bfd_update_compression_header() 229 if (bed->s->elfclass == ELFCLASS32) in bfd_check_compression_header() 281 if (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS32) in bfd_get_compression_header_size() 349 if (get_elf_backend_data (ibfd)->s->elfclass in bfd_convert_section_setup() 350 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_setup() 409 if (get_elf_backend_data (ibfd)->s->elfclass in bfd_convert_section_contents() 410 == get_elf_backend_data (obfd)->s->elfclass) in bfd_convert_section_contents()
|
| H A D | elfxx-x86.h | 106 (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS64)
|
| H A D | bfd.c | 2555 return bed->s->elfclass == ELFCLASS32; in is32bit()
|
| H A D | elf64-x86-64.c | 476 if (bed->s->elfclass == ELFCLASS32) in elf_x86_64_write_core_note() 503 if (bed->s->elfclass == ELFCLASS32) in elf_x86_64_write_core_note() 5510 return ((xvec_get_elf_backend_data (input)->s->elfclass in elf_x86_64_relocs_compatible() 5511 == xvec_get_elf_backend_data (output)->s->elfclass) in elf_x86_64_relocs_compatible()
|
| H A D | elf.c | 2125 if (bed->s->elfclass == ELFCLASS64) in _bfd_elf_get_dynamic_symbols() 2176 if (bed->s->elfclass == ELFCLASS32) in _bfd_elf_get_dynamic_symbols() 7116 i_ehdrp->e_ident[EI_CLASS] = bed->s->elfclass; in _bfd_elf_init_file_header() 12447 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_prpsinfo() 12557 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_prstatus() 12630 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_pstatus() 13724 size += sizeof ("+0x") - 1 + 8 + 8 * (bed->s->elfclass == ELFCLASS64); in _bfd_elf_get_synthetic_symtab()
|
| /netbsd-src/external/bsd/file/dist/src/ |
| H A D | Makefile.am | 13 file_opts.h elfclass.h mygetopt.h cdf.c cdf_time.c readcdf.c cdf.h
|
| H A D | Makefile.in | 370 file_opts.h elfclass.h mygetopt.h cdf.c cdf_time.c readcdf.c cdf.h
|
| /netbsd-src/external/gpl3/binutils/dist/binutils/ |
| H A D | elfedit.c | 61 enum elfclass enum 69 static enum elfclass input_elf_class = ELF_CLASS_UNKNOWN; 70 static enum elfclass output_elf_class = ELF_CLASS_BOTH; 292 static enum elfclass
|
| H A D | ChangeLog-2015 | 423 * elfedit.c (enum elfclass): New. 424 (input_elf_class): Change type to enum elfclass. 426 (elf_class): Change return type to enum elfclass. Support EM_386
|
| /netbsd-src/external/gpl3/binutils.old/dist/binutils/ |
| H A D | elfedit.c | 61 enum elfclass enum 69 static enum elfclass input_elf_class = ELF_CLASS_UNKNOWN; 70 static enum elfclass output_elf_class = ELF_CLASS_BOTH; 292 static enum elfclass
|
| H A D | ChangeLog-2015 | 423 * elfedit.c (enum elfclass): New. 424 (input_elf_class): Change type to enum elfclass. 426 (elf_class): Change return type to enum elfclass. Support EM_386
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| H A D | linetrace.c | 391 char elfclass = p[EI_CLASS]; in check_fd_dynamic() local 396 (elfclass != ELFCLASS32 && elfclass != ELFCLASS64) in check_fd_dynamic() 408 if (elfclass == ELFCLASS32) in check_fd_dynamic() 433 (int) elfclass, (unsigned long) e_phoff, (unsigned long) e_phnum, in check_fd_dynamic() 439 if (elfclass == ELFCLASS32) in check_fd_dynamic()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| H A D | linetrace.c | 371 char elfclass = p[EI_CLASS]; in check_fd_dynamic() local 376 (elfclass != ELFCLASS32 && elfclass != ELFCLASS64) in check_fd_dynamic() 388 if (elfclass == ELFCLASS32) in check_fd_dynamic() 413 (int) elfclass, (unsigned long) e_phoff, (unsigned long) e_phnum, in check_fd_dynamic() 419 if (elfclass == ELFCLASS32) in check_fd_dynamic()
|
| /netbsd-src/external/bsd/file/dist/ |
| H A D | README.md | 81 * `src/elfclass.h` - common code for elf 32/64.
|