Lines Matching refs:in
14 This program is distributed in the hope that it will be useful,
42 #define PUT_FCN_LNNOPTR(abfd, in, ext) \
43 H_PUT_32 (abfd, in, ext->x_sym.x_fcnary.x_fcn.x_lnnoptr)
46 #define PUT_FCN_ENDNDX(abfd, in, ext) \
47 H_PUT_32 (abfd, in, ext->x_sym.x_fcnary.x_fcn.x_endndx)
58 #define PUT_LNSZ_LNNO(abfd, in, ext) \
59 H_PUT_16 (abfd, in, ext->x_sym.x_misc.x_lnsz.x_lnno)
62 #define PUT_LNSZ_SIZE(abfd, in, ext) \
63 H_PUT_16 (abfd, in, ext->x_sym.x_misc.x_lnsz.x_size)
78 #define PUT_SCN_SCNLEN(abfd, in, ext) \
79 H_PUT_32 (abfd, in, ext->x_scn.x_scnlen)
82 #define PUT_SCN_NRELOC(abfd, in, ext) \
83 H_PUT_16 (abfd, in, ext->x_scn.x_nreloc)
86 #define PUT_SCN_NLINNO(abfd, in, ext) \
87 H_PUT_16 (abfd, in, ext->x_scn.x_nlinno)
98 /* The f_symptr field in the filehdr is sometimes 64 bits. */
106 /* Some fields in the aouthdr are sometimes 64 bits. */
144 /* Some fields in the scnhdr are sometimes 64 bits. */
278 coff_swap_filehdr_out (bfd *abfd, void * in, void * out)
280 struct internal_filehdr *filehdr_in = (struct internal_filehdr *) in;
284 COFF_ADJUST_FILEHDR_OUT_PRE (abfd, in, out);
298 COFF_ADJUST_FILEHDR_OUT_POST (abfd, in, out);
309 struct internal_syment *in = (struct internal_syment *) in1;
313 in->_n._n_n._n_zeroes = 0;
314 in->_n._n_n._n_offset = H_GET_32 (abfd, ext->e.e.e_offset);
321 memcpy (in->_n._n_name, ext->e.e_name, SYMNMLEN);
325 in->n_value = H_GET_32 (abfd, ext->e_value);
326 in->n_scnum = H_GET_16 (abfd, ext->e_scnum);
328 in->n_type = H_GET_16 (abfd, ext->e_type);
330 in->n_type = H_GET_32 (abfd, ext->e_type);
331 in->n_sclass = H_GET_8 (abfd, ext->e_sclass);
332 in->n_numaux = H_GET_8 (abfd, ext->e_numaux);
341 struct internal_syment *in = (struct internal_syment *) inp;
348 if (in->_n._n_name[0] == 0)
351 H_PUT_32 (abfd, in->_n._n_n._n_offset, ext->e.e.e_offset);
358 memcpy (ext->e.e_name, in->_n._n_name, SYMNMLEN);
362 H_PUT_32 (abfd, in->n_value, ext->e_value);
363 H_PUT_16 (abfd, in->n_scnum, ext->e_scnum);
366 H_PUT_16 (abfd, in->n_type, ext->e_type);
368 H_PUT_32 (abfd, in->n_type, ext->e_type);
370 H_PUT_8 (abfd, in->n_sclass, ext->e_sclass);
371 H_PUT_8 (abfd, in->n_numaux, ext->e_numaux);
390 union internal_auxent *in = (union internal_auxent *) in1;
401 in->x_file.x_n.x_zeroes = 0;
402 in->x_file.x_n.x_offset = H_GET_32 (abfd, ext->x_file.x_n.x_offset);
412 memcpy (in->x_file.x_fname, ext->x_file.x_fname,
416 memcpy (in->x_file.x_fname, ext->x_file.x_fname, FILNMLEN);
428 in->x_scn.x_scnlen = GET_SCN_SCNLEN (abfd, ext);
429 in->x_scn.x_nreloc = GET_SCN_NRELOC (abfd, ext);
430 in->x_scn.x_nlinno = GET_SCN_NLINNO (abfd, ext);
434 in->x_scn.x_checksum = 0;
435 in->x_scn.x_associated = 0;
436 in->x_scn.x_comdat = 0;
443 in->x_sym.x_tagndx.l = H_GET_32 (abfd, ext->x_sym.x_tagndx);
445 in->x_sym.x_tvndx = H_GET_16 (abfd, ext->x_sym.x_tvndx);
450 in->x_sym.x_fcnary.x_fcn.x_lnnoptr = GET_FCN_LNNOPTR (abfd, ext);
451 in->x_sym.x_fcnary.x_fcn.x_endndx.l = GET_FCN_ENDNDX (abfd, ext);
458 in->x_sym.x_fcnary.x_ary.x_dimen[0] =
460 in->x_sym.x_fcnary.x_ary.x_dimen[1] =
462 in->x_sym.x_fcnary.x_ary.x_dimen[2] =
464 in->x_sym.x_fcnary.x_ary.x_dimen[3] =
469 in->x_sym.x_misc.x_fsize = H_GET_32 (abfd, ext->x_sym.x_misc.x_fsize);
472 in->x_sym.x_misc.x_lnsz.x_lnno = GET_LNSZ_LNNO (abfd, ext);
473 in->x_sym.x_misc.x_lnsz.x_size = GET_LNSZ_SIZE (abfd, ext);
492 union internal_auxent * in = (union internal_auxent *) inp;
504 if (in->x_file.x_fname[0] == 0)
507 H_PUT_32 (abfd, in->x_file.x_n.x_offset, ext->x_file.x_n.x_offset);
514 memcpy (ext->x_file.x_fname, in->x_file.x_fname, FILNMLEN);
526 PUT_SCN_SCNLEN (abfd, in->x_scn.x_scnlen, ext);
527 PUT_SCN_NRELOC (abfd, in->x_scn.x_nreloc, ext);
528 PUT_SCN_NLINNO (abfd, in->x_scn.x_nlinno, ext);
534 H_PUT_32 (abfd, in->x_sym.x_tagndx.l, ext->x_sym.x_tagndx);
536 H_PUT_16 (abfd, in->x_sym.x_tvndx, ext->x_sym.x_tvndx);
541 PUT_FCN_LNNOPTR (abfd, in->x_sym.x_fcnary.x_fcn.x_lnnoptr, ext);
542 PUT_FCN_ENDNDX (abfd, in->x_sym.x_fcnary.x_fcn.x_endndx.l, ext);
549 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[0],
551 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[1],
553 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[2],
555 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[3],
560 H_PUT_32 (abfd, in->x_sym.x_misc.x_fsize, ext->x_sym.x_misc.x_fsize);
563 PUT_LNSZ_LNNO (abfd, in->x_sym.x_misc.x_lnsz.x_lnno, ext);
564 PUT_LNSZ_SIZE (abfd, in->x_sym.x_misc.x_lnsz.x_size, ext);
582 struct internal_lineno *in = (struct internal_lineno *) in1;
584 in->l_addr.l_symndx = H_GET_32 (abfd, ext->l_addr.l_symndx);
585 in->l_lnno = GET_LINENO_LNNO (abfd, ext);
591 struct internal_lineno *in = (struct internal_lineno *) inp;
593 H_PUT_32 (abfd, in->l_addr.l_symndx, ext->l_addr.l_symndx);
595 PUT_LINENO_LNNO (abfd, in->l_lnno, ext);
675 coff_swap_aouthdr_out (bfd * abfd, void * in, void * out)
677 struct internal_aouthdr *aouthdr_in = (struct internal_aouthdr *) in;
749 coff_swap_scnhdr_in (bfd * abfd, void * ext, void * in)
752 struct internal_scnhdr *scnhdr_int = (struct internal_scnhdr *) in;
755 COFF_ADJUST_SCNHDR_IN_PRE (abfd, ext, in);
773 COFF_ADJUST_SCNHDR_IN_POST (abfd, ext, in);
778 coff_swap_scnhdr_out (bfd * abfd, void * in, void * out)
780 struct internal_scnhdr *scnhdr_int = (struct internal_scnhdr *) in;
785 COFF_ADJUST_SCNHDR_OUT_PRE (abfd, in, out);
836 COFF_ADJUST_SCNHDR_OUT_POST (abfd, in, out);