Home
last modified time | relevance | path

Searched refs:elftype (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/elftoolchain/libelf/
H A Delf_data.c42 int elfclass, elftype; in elf_getdata() local
96 if ((elftype = _libelf_xlate_shtype(sh_type)) < ELF_T_FIRST || in elf_getdata()
97 elftype > ELF_T_LAST || (sh_type != SHT_NOBITS && in elf_getdata()
104 (elftype, (size_t) 1, e->e_version)) == 0) { in elf_getdata()
121 if ((msz = _libelf_msize(elftype, elfclass, e->e_version)) == 0) in elf_getdata()
140 d->d_data.d_type = elftype; in elf_getdata()
156 xlate = _libelf_get_translator(elftype, ELF_TOMEMORY, elfclass, in elf_getdata()
H A Delf_update.c115 int ec, elftype; in _libelf_compute_section_extents() local
144 elftype = _libelf_xlate_shtype(sh_type); in _libelf_compute_section_extents()
145 if (elftype < ELF_T_FIRST || elftype > ELF_T_LAST) { in _libelf_compute_section_extents()
151 sh_align = _libelf_falign(elftype, ec); in _libelf_compute_section_extents()
283 sh_offset % _libelf_falign(elftype, ec)) { in _libelf_compute_section_extents()
306 (sh_entsize = _libelf_fsize(elftype, ec, e->e_version, in _libelf_compute_section_extents()
724 int elftype; in _libelf_write_scn() local
750 elftype = _libelf_xlate_shtype(sh_type); in _libelf_write_scn()
751 assert(elftype >= ELF_T_FIRST && elftype <= ELF_T_LAST); in _libelf_write_scn()
754 assert(sh_off % _libelf_falign(elftype, ec) == 0); in _libelf_write_scn()
/freebsd/usr.bin/brandelf/
H A Dbrandelf.c49 static int elftype(const char *);
122 if (!force && (type = elftype(strtype)) == -1) { in main()
211 elftype(const char *elfstrtype) in elftype() function
/freebsd/contrib/elftoolchain/brandelf/
H A Dbrandelf.c49 static int elftype(const char *);
132 if ((type = elftype(optarg)) == -1) { in main()
288 elftype(const char *elfstrtype) in elftype() function