Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/elftoolchain/libelf/
H A Dlibelf_xlate.c48 int elfclass, int elfmachine, int direction) in _libelf_xlate() argument
64 assert(elfclass == ELFCLASS32 || elfclass == ELFCLASS64); in _libelf_xlate()
82 if ((fsz = (elfclass == ELFCLASS32 ? elf32_fsize : elf64_fsize) in _libelf_xlate()
86 msz = _libelf_msize(src->d_type, elfclass, src->d_version); in _libelf_xlate()
128 _libelf_malign(src->d_type, elfclass)) { in _libelf_xlate()
142 xlator = _libelf_get_translator(src->d_type, direction, elfclass, in _libelf_xlate()
H A Delf_data.c42 int elfclass, elftype; in elf_getdata() local
73 elfclass = e->e_class; in elf_getdata()
75 assert(elfclass == ELFCLASS32 || elfclass == ELFCLASS64); in elf_getdata()
77 if (elfclass == ELFCLASS32) { in elf_getdata()
101 if ((fsz = (elfclass == ELFCLASS32 ? elf32_fsize : elf64_fsize) in elf_getdata()
119 msz = _libelf_msize(elftype, elfclass, e->e_version); in elf_getdata()
153 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.m41078 _libelf_get_translator(Elf_Type t, int direction, int elfclass, int elfmachine)
1080 assert(elfclass == ELFCLASS32 || elfclass == ELFCLASS64);
1087 (elfclass != ELFCLASS32 && elfclass != ELFCLASS64) ||
1094 return ((elfclass == ELFCLASS32) ?
/freebsd-12.1/contrib/file/src/
H A DMakefile.am13 file_opts.h elfclass.h mygetopt.h cdf.c cdf_time.c readcdf.c cdf.h
H A DMakefile.in348 file_opts.h elfclass.h mygetopt.h cdf.c cdf_time.c readcdf.c cdf.h
/freebsd-12.1/contrib/file/
H A DREADME83 src/elfclass.h - common code for elf 32/64.
H A DChangeLog1096 * src/elfclass.h:
/freebsd-12.1/contrib/binutils/bfd/
H A Delf-bfd.h445 unsigned char elfclass, ev_current; member
H A Delf.c4988 i_ehdrp->e_ident[EI_CLASS] = bed->s->elfclass; in prep_headers()
8315 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_prpsinfo()
8374 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_prstatus()
8444 if (bed->s->elfclass == ELFCLASS32) in elfcore_write_pstatus()
H A Delfxx-sparc.c37 (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS64)
H A Delflink.c9258 && elf_elfheader (sub)->e_ident[EI_CLASS] == bed->s->elfclass in elf_fixup_link_order()
9839 && elf_elfheader (sub)->e_ident[EI_CLASS] == bed->s->elfclass) in bfd_elf_final_link()
H A Delfxx-mips.c518 (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS64)