Searched refs:ELF_C_WRITE (Results 1 – 17 of 17) sorted by relevance
/freebsd/contrib/elftoolchain/libelf/ |
H A D | libelf_open.c | 133 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 D | elf_cntl.c | 48 if (e->e_cmd == ELF_C_WRITE) { in elf_cntl()
|
H A D | elf_rawfile.c | 42 else if ((ptr = e->e_rawfile) == NULL && e->e_cmd == ELF_C_WRITE) in elf_rawfile()
|
H A D | elf_getident.c | 44 if (e->e_cmd == ELF_C_WRITE && e->e_rawfile == NULL) { in elf_getident()
|
H A D | elf_scn.c | 160 if (e->e_cmd != ELF_C_WRITE && in elf_getscn() 219 if (e->e_cmd != ELF_C_WRITE && in elf_newscn()
|
H A D | libelf_ehdr.c | 146 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 D | elf_begin.c | 49 case ELF_C_WRITE: in elf_begin()
|
H A D | elf_update.c | 185 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 D | elf_flag.c | 130 if ((flags & ELF_F_ARCHIVE) && e->e_cmd != ELF_C_WRITE) { in elf_flagelf()
|
H A D | libelf.h | 93 ELF_C_WRITE, enumerator
|
/freebsd/contrib/elftoolchain/brandelf/ |
H A D | brandelf.c | 227 if (elf_update(elf, ELF_C_WRITE) == -1) { in main()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 704 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 D | binary.c | 287 if (elf_update(ecp->eout, ELF_C_WRITE) < 0) in create_elf_from_binary()
|
H A D | main.c | 461 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 D | ascii.c | 401 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 D | archive.c | 72 if ((ecp->eout = elf_begin(fd, ELF_C_WRITE, NULL)) == NULL) { in process_ar_obj()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 1693 if (mod && elf_update(elf, ELF_C_WRITE) == -1) in process_obj()
|