Home
last modified time | relevance | path

Searched refs:ch_optsize (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/elftoolchain/libpe/
H A Dlibpe_coff.c59 PE_READ16(hdr, ch->ch_optsize); in libpe_parse_coff_header()
67 if (ch->ch_optsize == 0) in libpe_parse_coff_header()
83 if (p + (n) > ch->ch_optsize) { \ in libpe_parse_coff_header()
85 r = ch->ch_optsize - p; \ in libpe_parse_coff_header()
173 if (ch->ch_optsize > p) { in libpe_parse_coff_header()
174 r = ch->ch_optsize - p; in libpe_parse_coff_header()
286 if (!ch->ch_optsize) in libpe_write_coff_header()
287 ch->ch_optsize = PE_COFF_OPT_SIZE_32; in libpe_write_coff_header()
291 if (!ch->ch_optsize) in libpe_write_coff_header()
292 ch->ch_optsize = PE_COFF_OPT_SIZE_32P; in libpe_write_coff_header()
[all …]
H A Dpe_coff.c92 if (pe->pe_ch->ch_optsize != ch->ch_optsize) in pe_update_coff_header()
H A Dlibpe_section.c271 off += sizeof(PE_CoffHdr) + pe->pe_ch->ch_optsize; in libpe_load_all_sections()
335 if (pe->pe_ch != NULL && pe->pe_ch->ch_optsize > 0) in libpe_resync_sections()
336 off += pe->pe_ch->ch_optsize; in libpe_resync_sections()
H A Dpe.h131 uint16_t ch_optsize; member