Home
last modified time | relevance | path

Searched refs:filehdr_dst (Results 1 – 5 of 5) sorted by relevance

/toolchain/binutils/binutils-2.27/bfd/
Dpeicode.h172 struct internal_filehdr *filehdr_dst = (struct internal_filehdr *) dst; in coff_swap_filehdr_in() local
174 filehdr_dst->f_magic = H_GET_16 (abfd, filehdr_src->f_magic); in coff_swap_filehdr_in()
175 filehdr_dst->f_nscns = H_GET_16 (abfd, filehdr_src->f_nscns); in coff_swap_filehdr_in()
176 filehdr_dst->f_timdat = H_GET_32 (abfd, filehdr_src->f_timdat); in coff_swap_filehdr_in()
177 filehdr_dst->f_nsyms = H_GET_32 (abfd, filehdr_src->f_nsyms); in coff_swap_filehdr_in()
178 filehdr_dst->f_flags = H_GET_16 (abfd, filehdr_src->f_flags); in coff_swap_filehdr_in()
179 filehdr_dst->f_symptr = H_GET_32 (abfd, filehdr_src->f_symptr); in coff_swap_filehdr_in()
183 if (filehdr_dst->f_nsyms != 0 && filehdr_dst->f_symptr == 0) in coff_swap_filehdr_in()
185 filehdr_dst->f_nsyms = 0; in coff_swap_filehdr_in()
186 filehdr_dst->f_flags |= F_LSYMS; in coff_swap_filehdr_in()
[all …]
Dcoff-stgo32.c138 struct internal_filehdr *filehdr_dst = (struct internal_filehdr *) dst; in adjust_filehdr_in_post() local
140 ADJUST_VAL (filehdr_dst->f_symptr, GO32_STUBSIZE); in adjust_filehdr_in_post()
145 memcpy (filehdr_dst->go32stub, filehdr_src->stub, GO32_STUBSIZE); in adjust_filehdr_in_post()
146 filehdr_dst->f_flags |= F_GO32STUB; in adjust_filehdr_in_post()
Dcoffswap.h255 struct internal_filehdr *filehdr_dst = (struct internal_filehdr *) dst; in coff_swap_filehdr_in() local
260 filehdr_dst->f_magic = H_GET_16 (abfd, filehdr_src->f_magic); in coff_swap_filehdr_in()
261 filehdr_dst->f_nscns = H_GET_16 (abfd, filehdr_src->f_nscns); in coff_swap_filehdr_in()
262 filehdr_dst->f_timdat = H_GET_32 (abfd, filehdr_src->f_timdat); in coff_swap_filehdr_in()
263 filehdr_dst->f_symptr = GET_FILEHDR_SYMPTR (abfd, filehdr_src->f_symptr); in coff_swap_filehdr_in()
264 filehdr_dst->f_nsyms = H_GET_32 (abfd, filehdr_src->f_nsyms); in coff_swap_filehdr_in()
265 filehdr_dst->f_opthdr = H_GET_16 (abfd, filehdr_src->f_opthdr); in coff_swap_filehdr_in()
266 filehdr_dst->f_flags = H_GET_16 (abfd, filehdr_src->f_flags); in coff_swap_filehdr_in()
268 filehdr_dst->f_target_id = H_GET_16 (abfd, filehdr_src->f_target_id); in coff_swap_filehdr_in()
Dcoffcode.h5701 struct internal_filehdr *filehdr_dst = (struct internal_filehdr *) dst; in coff_bigobj_swap_filehdr_in() local
5703 filehdr_dst->f_magic = H_GET_16 (abfd, filehdr_src->Machine); in coff_bigobj_swap_filehdr_in()
5704 filehdr_dst->f_nscns = H_GET_32 (abfd, filehdr_src->NumberOfSections); in coff_bigobj_swap_filehdr_in()
5705 filehdr_dst->f_timdat = H_GET_32 (abfd, filehdr_src->TimeDateStamp); in coff_bigobj_swap_filehdr_in()
5706 filehdr_dst->f_symptr = in coff_bigobj_swap_filehdr_in()
5708 filehdr_dst->f_nsyms = H_GET_32 (abfd, filehdr_src->NumberOfSymbols); in coff_bigobj_swap_filehdr_in()
5709 filehdr_dst->f_opthdr = 0; in coff_bigobj_swap_filehdr_in()
5710 filehdr_dst->f_flags = 0; in coff_bigobj_swap_filehdr_in()
5717 filehdr_dst->f_opthdr = 0xffff; in coff_bigobj_swap_filehdr_in()
DChangeLog-20091211 filehdr_dst->u.go32.stub. New comment with the reason.