Home
last modified time | relevance | path

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

/freebsd/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.c42 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 Delf_scn.c160 if (e->e_cmd != ELF_C_WRITE && in elf_getscn()
219 if (e->e_cmd != ELF_C_WRITE && in elf_newscn()
H A Dlibelf_ehdr.c146 if (e->e_cmd != ELF_C_WRITE && e->e_rawsize < (off_t) fsz) { in _libelf_ehdr()
170 if (e->e_cmd == ELF_C_WRITE) in _libelf_ehdr()
H A Delf_begin.c49 case ELF_C_WRITE: in elf_begin()
H A Delf_update.c185 if (e->e_cmd != ELF_C_WRITE && elf_getdata(s, NULL) == NULL) in _libelf_compute_section_extents()
568 if (e->e_cmd != ELF_C_WRITE && eh_byteorder != e->e_byteorder) { in _libelf_resync_elf()
649 if (e->e_cmd != ELF_C_WRITE && in _libelf_resync_elf()
1043 assert(e->e_cmd == ELF_C_RDWR || e->e_cmd == ELF_C_WRITE); in _libelf_write_elf()
1209 (c != ELF_C_NULL && c != ELF_C_WRITE)) { in elf_update()
1222 if (c == ELF_C_WRITE && e->e_cmd == ELF_C_READ) { in elf_update()
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/contrib/elftoolchain/brandelf/
H A Dbrandelf.c227 if (elf_update(elf, ELF_C_WRITE) == -1) { in main()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c704 if (elf_update(dst, ELF_C_WRITE) < 0) in write_file()
746 if ((telf = elf_begin(tfd, ELF_C_WRITE, NULL)) == NULL) in write_ctf()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dbinary.c287 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()
703 if ((ecp->eout = elf_begin(efd, ELF_C_WRITE, NULL)) == NULL) { in create_file()
752 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/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c1693 if (mod && elf_update(elf, ELF_C_WRITE) == -1) in process_obj()