Home
last modified time | relevance | path

Searched refs:ed_myflags (Results 1 – 14 of 14) sorted by relevance

/titanic_44/usr/src/cmd/sgs/libelf/common/
H A Dcook.c145 if ((elf->ed_vm == 0) && ((elf->ed_myflags & EDF_WRITE) == 0) && in _elf_slide()
146 ((elf->ed_myflags & EDF_MPROTECT) == 0)) { in _elf_slide()
152 elf->ed_myflags |= EDF_MPROTECT; in _elf_slide()
172 ((elf->ed_myflags & EDF_READ) == 0)) in _elf_cook()
215 if (elf->ed_myflags & EDF_PHALLOC) { in _elf_cook()
216 elf->ed_myflags &= ~EDF_PHALLOC; in _elf_cook()
221 if (elf->ed_myflags & EDF_EHALLOC) { in _elf_cook()
222 elf->ed_myflags &= ~EDF_EHALLOC; in _elf_cook()
H A Dend.c101 if (elf->ed_myflags & EDF_EHALLOC) in elf_end()
103 if (elf->ed_myflags & EDF_PHALLOC) in elf_end()
105 if (elf->ed_myflags & EDF_SHALLOC) in elf_end()
107 if (elf->ed_myflags & EDF_RAWALLOC) in elf_end()
109 if (elf->ed_myflags & EDF_ASALLOC) in elf_end()
111 if (elf->ed_myflags & EDF_ASTRALLOC) in elf_end()
123 else if ((elf->ed_myflags & EDF_MEMORY) == 0) in elf_end()
H A Dclscook.c243 elf->ed_myflags |= EDF_EHALLOC; in _elf_ehdr()
262 if (elf->ed_myflags & EDF_EHALLOC) { in _elf_ehdr()
263 elf->ed_myflags &= ~EDF_EHALLOC; in _elf_ehdr()
272 if (elf->ed_myflags & EDF_EHALLOC) { in _elf_ehdr()
273 elf->ed_myflags &= ~EDF_EHALLOC; in _elf_ehdr()
282 if (elf->ed_myflags & EDF_EHALLOC) { in _elf_ehdr()
283 elf->ed_myflags &= ~EDF_EHALLOC; in _elf_ehdr()
331 elf->ed_myflags |= EDF_PHALLOC; in _elf_phdr()
342 if (elf->ed_myflags & EDF_PHALLOC) { in _elf_phdr()
343 elf->ed_myflags &= ~EDF_PHALLOC; in _elf_phdr()
[all …]
H A Dbegin.c86 elf->ed_myflags |= flags; in _elf_member()
122 elf->ed_myflags |= flags; in _elf_regular()
163 if ((elf->ed_vm == 0) && ((elf->ed_myflags & EDF_WRITE) == 0) && in _elf_config()
219 elf->ed_myflags |= EDF_READ | EDF_MEMORY; in elf_memory()
344 elf->ed_myflags |= EDF_WRITE; in elf_begin()
346 elf->ed_myflags |= EDF_WRALLOC; in elf_begin()
369 if ((ref->ed_myflags & flags) != flags) { in elf_begin()
H A Dgetarsym.c198 if (elf->ed_myflags & EDF_ASALLOC) { in elf_getarsym()
205 is64 = (elf->ed_myflags & EDF_ARSYM64) != 0; in elf_getarsym()
222 elf->ed_myflags |= EDF_ASALLOC; in elf_getarsym()
251 size = (elf->ed_myflags & EDF_ARSYM64) ? 8 : 4; in _elf_getarsymwordsize()
H A Dnewphdr.c95 if (elf->ed_myflags & EDF_PHALLOC) { in elf_newphdr()
96 elf->ed_myflags &= ~EDF_PHALLOC; in elf_newphdr()
127 elf->ed_myflags |= EDF_PHALLOC; in elf_newphdr()
H A Dcntl.c48 if ((elf->ed_myflags & EDF_READ) == 0) { in elf_cntl()
63 if ((elf->ed_myflags & EDF_READ) == 0) { in elf_cntl()
H A Dupdate.c501 if ((elf->ed_myflags & EDF_READ) && in wrt()
505 flag = elf->ed_myflags & EDF_WRALLOC; in wrt()
510 elf->ed_myflags |= EDF_IMALLOC; in wrt()
707 ((elf->ed_myflags & EDF_IMALLOC) ? 0 : 1)) != 0) { in wrt()
709 elf->ed_myflags &= ~EDF_IMALLOC; in wrt()
760 if ((elf->ed_myflags & EDF_WRITE) == 0) { in _elfxx_update()
767 if ((elf->ed_myflags & EDF_WRITE) == 0) { in _elfxx_update()
773 if (elf->ed_myflags & EDF_WRALLOC) { in _elfxx_update()
789 (elf->ed_myflags & EDF_IMALLOC ? 0 : 1)); in _elfxx_update()
790 elf->ed_myflags &= ~EDF_IMALLOC; in _elfxx_update()
H A Dnewehdr.c76 if (elf->ed_myflags & EDF_READ) { in elf_newehdr()
112 elf->ed_myflags |= EDF_EHALLOC; in elf_newehdr()
H A Drawfile.c61 elf->ed_myflags |= EDF_RAWALLOC; in elf_rawfile()
H A Dar.c315 elf->ed_myflags |= EDF_ASTRALLOC; in _elf_arinit()
336 elf->ed_myflags |= EDF_ARSYM64; in _elf_arinit()
H A Dchecksum.c127 if ((elf->ed_myflags & (EDF_MEMORY | EDF_WRITE)) != 0) in elf_checksum()
H A Dinput.c240 if ((elf->ed_myflags & EDF_WRITE) == 0 && in _elf_inmap()
H A Ddecl.h347 unsigned ed_myflags; /* EDF_... */ member