Home
last modified time | relevance | path

Searched refs:ELF_C_WRITE (Results 1 – 17 of 17) sorted by relevance

/freebsd-12.1/contrib/elftoolchain/libelf/
H A Dlibelf_open.c133 assert(c == ELF_C_READ || c == ELF_C_RDWR || c == ELF_C_WRITE); in _libelf_open_object()
155 if (c == ELF_C_WRITE) { in _libelf_open_object()
H A Delf_cntl.c48 if (e->e_cmd == ELF_C_WRITE) { in elf_cntl()
H A Delf_rawfile.c44 else if ((ptr = e->e_rawfile) == NULL && e->e_cmd == ELF_C_WRITE) in elf_rawfile()
H A Delf_getident.c44 if (e->e_cmd == ELF_C_WRITE && e->e_rawfile == NULL) { in elf_getident()
H A Dlibelf_ehdr.c141 if (e->e_cmd != ELF_C_WRITE && e->e_rawsize < fsz) { in _libelf_ehdr()
166 if (e->e_cmd == ELF_C_WRITE) in _libelf_ehdr()
H A Delf_scn.c159 if (e->e_cmd != ELF_C_WRITE && in elf_getscn()
218 if (e->e_cmd != ELF_C_WRITE && in elf_newscn()
H A Delf_update.c185 if (e->e_cmd != ELF_C_WRITE && elf_getdata(s, NULL) == NULL) in _libelf_compute_section_extents()
562 if (e->e_cmd != ELF_C_WRITE && eh_byteorder != e->e_byteorder) { in _libelf_resync_elf()
643 if (e->e_cmd != ELF_C_WRITE && in _libelf_resync_elf()
1026 assert(e->e_cmd == ELF_C_RDWR || e->e_cmd == ELF_C_WRITE); in _libelf_write_elf()
1190 (c != ELF_C_NULL && c != ELF_C_WRITE)) { in elf_update()
1203 if (c == ELF_C_WRITE && e->e_cmd == ELF_C_READ) { in elf_update()
H A Delf_begin.c49 case ELF_C_WRITE: in elf_begin()
H A Delf_flag.c130 if ((flags & ELF_F_ARCHIVE) && e->e_cmd != ELF_C_WRITE) { in elf_flagelf()
H A Dlibelf.h93 ELF_C_WRITE, enumerator
/freebsd-12.1/contrib/elftoolchain/brandelf/
H A Dbrandelf.c227 if (elf_update(elf, ELF_C_WRITE) == -1) { in main()
/freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c706 if (elf_update(dst, ELF_C_WRITE) < 0) in write_file()
748 if ((telf = elf_begin(tfd, ELF_C_WRITE, NULL)) == NULL) in write_ctf()
/freebsd-12.1/contrib/elftoolchain/elfcopy/
H A Dbinary.c283 if (elf_update(ecp->eout, ELF_C_WRITE) < 0) in create_elf_from_binary()
H A Dmain.c461 if (elf_update(ecp->eout, ELF_C_WRITE) < 0) in create_elf()
663 if ((ecp->eout = elf_begin(efd, ELF_C_WRITE, NULL)) == NULL) in create_file()
695 if ((ecp->eout = elf_begin(ofd, ELF_C_WRITE, NULL)) == NULL) in create_file()
H A Dascii.c401 if (elf_update(ecp->eout, ELF_C_WRITE) < 0) in create_elf_from_srec()
625 if (elf_update(ecp->eout, ELF_C_WRITE) < 0) in create_elf_from_ihex()
H A Darchive.c72 if ((ecp->eout = elf_begin(fd, ELF_C_WRITE, NULL)) == NULL) in process_ar_obj()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c1678 if (mod && elf_update(elf, ELF_C_WRITE) == -1) in process_obj()