Lines Matching defs:in

14    This program is distributed in the hope that it will be useful,
120 /* The main body of code is in coffcode.h. */
211 start of the member in order to ensure that the section contents
235 in order to preserve even alignment. */
248 are no more archive members, in which case OFFSET is the offset of
411 struct internal_syment * in = (struct internal_syment *)in1;
415 memcpy (in->_n._n_name, ext->e.e_name, SYMNMLEN);
419 in->_n._n_n._n_zeroes = 0;
420 in->_n._n_n._n_offset = H_GET_32 (abfd, ext->e.e.e_offset);
423 in->n_value = H_GET_32 (abfd, ext->e_value);
424 in->n_scnum = (short) H_GET_16 (abfd, ext->e_scnum);
425 in->n_type = H_GET_16 (abfd, ext->e_type);
426 in->n_sclass = H_GET_8 (abfd, ext->e_sclass);
427 in->n_numaux = H_GET_8 (abfd, ext->e_numaux);
433 struct internal_syment *in = (struct internal_syment *)inp;
436 if (in->_n._n_name[0] != 0)
438 memcpy (ext->e.e_name, in->_n._n_name, SYMNMLEN);
443 H_PUT_32 (abfd, in->_n._n_n._n_offset, ext->e.e.e_offset);
446 H_PUT_32 (abfd, in->n_value, ext->e_value);
447 H_PUT_16 (abfd, in->n_scnum, ext->e_scnum);
448 H_PUT_16 (abfd, in->n_type, ext->e_type);
449 H_PUT_8 (abfd, in->n_sclass, ext->e_sclass);
450 H_PUT_8 (abfd, in->n_numaux, ext->e_numaux);
459 union internal_auxent *in = (union internal_auxent *)in1;
466 in->x_file.x_n.x_zeroes = 0;
467 in->x_file.x_n.x_offset =
475 memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname,
480 memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname, FILNMLEN);
491 in->x_csect.x_scnlen.l = H_GET_32 (abfd, ext->x_csect.x_scnlen);
492 in->x_csect.x_parmhash = H_GET_32 (abfd, ext->x_csect.x_parmhash);
493 in->x_csect.x_snhash = H_GET_16 (abfd, ext->x_csect.x_snhash);
494 /* We don't have to hack bitfields in x_smtyp because it's
497 in->x_csect.x_smtyp = H_GET_8 (abfd, ext->x_csect.x_smtyp);
498 in->x_csect.x_smclas = H_GET_8 (abfd, ext->x_csect.x_smclas);
499 in->x_csect.x_stab = H_GET_32 (abfd, ext->x_csect.x_stab);
500 in->x_csect.x_snstab = H_GET_16 (abfd, ext->x_csect.x_snstab);
510 in->x_scn.x_scnlen = H_GET_32 (abfd, ext->x_scn.x_scnlen);
511 in->x_scn.x_nreloc = H_GET_16 (abfd, ext->x_scn.x_nreloc);
512 in->x_scn.x_nlinno = H_GET_16 (abfd, ext->x_scn.x_nlinno);
515 in->x_scn.x_checksum = 0;
516 in->x_scn.x_associated = 0;
517 in->x_scn.x_comdat = 0;
524 in->x_sym.x_tagndx.l = H_GET_32 (abfd, ext->x_sym.x_tagndx);
525 in->x_sym.x_tvndx = H_GET_16 (abfd, ext->x_sym.x_tvndx);
530 in->x_sym.x_fcnary.x_fcn.x_lnnoptr =
532 in->x_sym.x_fcnary.x_fcn.x_endndx.l =
537 in->x_sym.x_fcnary.x_ary.x_dimen[0] =
539 in->x_sym.x_fcnary.x_ary.x_dimen[1] =
541 in->x_sym.x_fcnary.x_ary.x_dimen[2] =
543 in->x_sym.x_fcnary.x_ary.x_dimen[3] =
549 in->x_sym.x_misc.x_fsize = H_GET_32 (abfd, ext->x_sym.x_misc.x_fsize);
553 in->x_sym.x_misc.x_lnsz.x_lnno =
555 in->x_sym.x_misc.x_lnsz.x_size =
570 union internal_auxent *in = (union internal_auxent *)inp;
577 if (in->x_file.x_fname[0] == 0)
580 H_PUT_32 (abfd, in->x_file.x_n.x_offset,
585 memcpy (ext->x_file.x_n.x_fname, in->x_file.x_fname, FILNMLEN);
595 H_PUT_32 (abfd, in->x_csect.x_scnlen.l, ext->x_csect.x_scnlen);
596 H_PUT_32 (abfd, in->x_csect.x_parmhash, ext->x_csect.x_parmhash);
597 H_PUT_16 (abfd, in->x_csect.x_snhash, ext->x_csect.x_snhash);
598 /* We don't have to hack bitfields in x_smtyp because it's
601 H_PUT_8 (abfd, in->x_csect.x_smtyp, ext->x_csect.x_smtyp);
602 H_PUT_8 (abfd, in->x_csect.x_smclas, ext->x_csect.x_smclas);
603 H_PUT_32 (abfd, in->x_csect.x_stab, ext->x_csect.x_stab);
604 H_PUT_16 (abfd, in->x_csect.x_snstab, ext->x_csect.x_snstab);
614 H_PUT_32 (abfd, in->x_scn.x_scnlen, ext->x_scn.x_scnlen);
615 H_PUT_16 (abfd, in->x_scn.x_nreloc, ext->x_scn.x_nreloc);
616 H_PUT_16 (abfd, in->x_scn.x_nlinno, ext->x_scn.x_nlinno);
622 H_PUT_32 (abfd, in->x_sym.x_tagndx.l, ext->x_sym.x_tagndx);
623 H_PUT_16 (abfd, in->x_sym.x_tvndx, ext->x_sym.x_tvndx);
628 H_PUT_32 (abfd, in->x_sym.x_fcnary.x_fcn.x_lnnoptr,
630 H_PUT_32 (abfd, in->x_sym.x_fcnary.x_fcn.x_endndx.l,
635 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[0],
637 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[1],
639 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[2],
641 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[3],
646 H_PUT_32 (abfd, in->x_sym.x_misc.x_fsize, ext->x_sym.x_misc.x_fsize);
649 H_PUT_16 (abfd, in->x_sym.x_misc.x_lnsz.x_lnno,
651 H_PUT_16 (abfd, in->x_sym.x_misc.x_lnsz.x_size,
665 different algorithms for putting in the reloc. Many of these
1141 archive in place. Of course, we don't do that. An XCOFF archive
1146 elements in the archive (you can get that by looking through the
1149 normally (and perhaps must be) the second to last entry in the
1152 entries in the table. For each entry it has a 12 character decimal
1153 string which is the offset in the archive of that member. These
1160 the last entry in the archive. The contents start with a four byte
1163 entry in the archive. These numbers are followed by a series of
1167 files and also 32- and 64-bit objects in the same archive. The
1191 /* Read in the armap of an XCOFF archive. */
1238 /* Read in the entire symbol table. */
1296 /* Read in the entire symbol table. */
1450 /* Read the archive header in an XCOFF archive. */
1538 /* Open the next element in an XCOFF archive. */
1597 /* Stat an element in an XCOFF archive. */
1632 /* Normalize a file name for inclusion in an archive. */
1671 /* We need spaces, not null bytes, in the header. */
1838 /* xcoff_write_archive_contents_big passes nextoff in symoff. */
2133 /* We need spaces, not null bytes, in the header. */
2188 /* We need spaces, not null bytes, in the header. */
2238 /* We need spaces, not null bytes, in the header. */
2478 /* Save nextoff in fhdr.symoff so the armap routine can use it. */
2524 /* There can be additional sections just for dealing with overflow in
2579 /* Routines to swap information in the XCOFF .loader section. If we
2584 /* Swap in the ldhdr structure. */
2618 /* Swap in the ldsym structure. */
2690 /* Swap in the ldrel structure. */
3036 example, a 13-bit field sometimes represents values in
3037 0..8191 and sometimes represents values in -4096..4095.
3042 are significant in the relocation, but the original code
3053 bit in the original relocation value: if this is all
3117 trouble; we would need to verify that B is in range, as
3167 fit in the field. However, we also need to consider the
3171 inputs did not fit in the field. Instead of doing a
3172 separate test, we can check for this by or-ing in the
3218 TOC relative relocation. The value in the instruction in
3222 isym = iTOC + in
3223 iinsn = in + o
3226 so we must change insn by on - in.
3230 is the address of the entry in the TOC section.
3434 in a type larger than bfd_vma, which would be inefficient. */
3474 /* Put the value back in the object file. */
3917 The first word of global linkage code must be modified by filling in
4029 { /* COFF backend, defined in libcoff.h. */
4203 the default architecture and machine type used in coffcode.h
4210 { /* COFF backend, defined in libcoff.h. */