Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/sgs/libelf/common/
H A Dnewehdr.c90 if (elf->ed_class == ELFCLASSNONE) in elf_newehdr()
91 elf->ed_class = ELFCLASS; in elf_newehdr()
92 else if (elf->ed_class != ELFCLASS) { in elf_newehdr()
H A Dcook.c200 elf->ed_class = ELFCLASS32; in _elf_cook()
208 elf->ed_class = ELFCLASS64; in _elf_cook()
236 if (elf->ed_class == ELFCLASS32) { in _elf_cookscn()
238 } else if (elf->ed_class == ELFCLASS64) { in _elf_cookscn()
H A Dgetdata.c108 #define NALIGN(elf) ((elf->ed_class == ELFCLASS32) ? Nalign32 : Nalign64)
109 #define ALIGN(elf) ((elf->ed_class == ELFCLASS32) ? align32 : align64)
176 if (elf->ed_class == ELFCLASS32) { in _elf_locked_getdata()
186 } else if (elf->ed_class == ELFCLASS64) { in _elf_locked_getdata()
285 if (elf->ed_class == ELFCLASS32) { in _elf_locked_getdata()
H A Dstrptr.c51 if (elf->ed_class == ELFCLASS32) { in elf_strptr()
59 } else if (elf->ed_class == ELFCLASS64) { in elf_strptr()
H A Dnewscn.c60 if (elf->ed_class == ELFCLASS32) { in elf_newscn()
90 } else if (elf->ed_class == ELFCLASS64) { in elf_newscn()
H A Dgetehdr.c44 if (elf->ed_class != class) { in getehdr()
H A Dgetphdr.c44 if (elf->ed_class != class) { in getphdr()
H A Dgetshdr.c46 if (elf->ed_class != class) { in getshdr()
H A Dbegin.c151 elf->ed_class = base[EI_CLASS]; in _elf_config()
223 elf->ed_class = image[EI_CLASS]; in elf_memory()
H A Dgelf.c39 (((Dnode *)(edata))->db_scn->s_elf->ed_class)
82 return (elf->ed_class); in gelf_getclass()
336 if (scn->s_elf->ed_class == ELFCLASS32) { in gelf_getshdr()
356 } else if (scn->s_elf->ed_class == ELFCLASS64) { in gelf_getshdr()
380 if (scn->s_elf->ed_class == ELFCLASS32) { in gelf_update_shdr()
406 } else if (scn->s_elf->ed_class == ELFCLASS64) { in gelf_update_shdr()
H A Dnewphdr.c77 if (elf->ed_class != ELFCLASS) { in elf_newphdr()
H A Dupdate.c971 if (elf->ed_class == ELFCLASS32) in elf_update()
973 else if (elf->ed_class == ELFCLASS64) { in elf_update()
987 if (elf->ed_class == ELFCLASS32) in _elf_swap_wrimage()
990 if (elf->ed_class == ELFCLASS64) in _elf_swap_wrimage()
H A Ddecl.h330 int ed_class; /* file class */ member