Home
last modified time | relevance | path

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

/freebsd-14-stable/contrib/elftoolchain/libelf/
HDlibelf_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()
HDelf_cntl.c48 if (e->e_cmd == ELF_C_WRITE) { in elf_cntl()
HDelf_rawfile.c42 else if ((ptr = e->e_rawfile) == NULL && e->e_cmd == ELF_C_WRITE) in elf_rawfile()
HDelf_getident.c44 if (e->e_cmd == ELF_C_WRITE && e->e_rawfile == NULL) { in elf_getident()
HDelf_begin.c49 case ELF_C_WRITE: in elf_begin()
HDlibelf_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()
HDelf_scn.c160 if (e->e_cmd != ELF_C_WRITE && in elf_getscn()
219 if (e->e_cmd != ELF_C_WRITE && in elf_newscn()
HDelf_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()
HDelf_flag.c130 if ((flags & ELF_F_ARCHIVE) && e->e_cmd != ELF_C_WRITE) { in elf_flagelf()
HDlibelf.h93 ELF_C_WRITE, enumerator
/freebsd-14-stable/contrib/elftoolchain/brandelf/
HDbrandelf.c227 if (elf_update(elf, ELF_C_WRITE) == -1) { in main()
/freebsd-14-stable/contrib/elftoolchain/elfcopy/
HDbinary.c287 if (elf_update(ecp->eout, ELF_C_WRITE) < 0) in create_elf_from_binary()
HDmain.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()
HDascii.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()
HDarchive.c72 if ((ecp->eout = elf_begin(fd, ELF_C_WRITE, NULL)) == NULL) { in process_ar_obj()