Home | History | Annotate | Download | only in bfd

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
439 struct internal_syment * in = (struct internal_syment *)in1;
443 memcpy (in->_n._n_name, ext->e.e_name, SYMNMLEN);
447 in->_n._n_n._n_zeroes = 0;
448 in->_n._n_n._n_offset = H_GET_32 (abfd, ext->e.e.e_offset);
451 in->n_value = H_GET_32 (abfd, ext->e_value);
452 in->n_scnum = H_GET_16 (abfd, ext->e_scnum);
453 in->n_type = H_GET_16 (abfd, ext->e_type);
454 in->n_sclass = H_GET_8 (abfd, ext->e_sclass);
455 in->n_numaux = H_GET_8 (abfd, ext->e_numaux);
461 struct internal_syment *in = (struct internal_syment *)inp;
464 if (in->_n._n_name[0] != 0)
466 memcpy (ext->e.e_name, in->_n._n_name, SYMNMLEN);
471 H_PUT_32 (abfd, in->_n._n_n._n_offset, ext->e.e.e_offset);
474 H_PUT_32 (abfd, in
475 H_PUT_16 (abfd, in->n_scnum, ext->e_scnum);
476 H_PUT_16 (abfd, in->n_type, ext->e_type);
477 H_PUT_8 (abfd, in->n_sclass, ext->e_sclass);
478 H_PUT_8 (abfd, in->n_numaux, ext->e_numaux);
487 union internal_auxent *in = (union internal_auxent *)in1;
494 in->x_file.x_n.x_zeroes = 0;
495 in->x_file.x_n.x_offset =
503 memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname,
508 memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname, FILNMLEN);
519 in->x_csect.x_scnlen.l = H_GET_32 (abfd, ext->x_csect.x_scnlen);
520 in->x_csect.x_parmhash = H_GET_32 (abfd, ext->x_csect.x_parmhash);
521 in->x_csect.x_snhash = H_GET_16 (abfd, ext->x_csect.x_snhash);
522 /* We don't have to hack bitfields in x_smtyp because it's
525 in->x_csect.x_smtyp = H_GET_8 (abfd, ext->x_csect.x_smtyp);
526 in->x_csect.x_smclas = H_GET_8 (abfd, ext->x_csect.x_smclas);
527 in->x_csect.x_stab = H_GET_32 (abfd, ext->x_csect.x_stab);
528 in->x_csect.x_snstab = H_GET_16 (abfd, ext->x_csect.x_snstab);
538 in->x_scn.x_scnlen = H_GET_32 (abfd, ext->x_scn.x_scnlen);
539 in->x_scn.x_nreloc = H_GET_16 (abfd, ext->x_scn.x_nreloc);
540 in->x_scn.x_nlinno = H_GET_16 (abfd, ext->x_scn.x_nlinno);
543 in->x_scn.x_checksum = 0;
544 in->x_scn.x_associated = 0;
545 in->x_scn.x_comdat = 0;
552 in->x_sym.x_tagndx.l = H_GET_32 (abfd, ext->x_sym.x_tagndx);
553 in->x_sym.x_tvndx = H_GET_16 (abfd, ext->x_sym.x_tvndx);
558 in->x_sym.x_fcnary.x_fcn.x_lnnoptr =
560 in->x_sym.x_fcnary.x_fcn.x_endndx.l =
565 in->x_sym.x_fcnary.x_ary.x_dimen[0] =
567 in->x_sym.x_fcnary.x_ary.x_dimen[1] =
569 in->x_sym.x_fcnary.x_ary.x_dimen[2] =
571 in->x_sym.x_fcnary.x_ary.x_dimen[3] =
577 in->x_sym.x_misc.x_fsize = H_GET_32 (abfd, ext->x_sym.x_misc.x_fsize);
581 in->x_sym.x_misc.x_lnsz.x_lnno =
583 in->x_sym.x_misc.x_lnsz.x_size =
598 union internal_auxent *in = (union internal_auxent *)inp;
605 if (in->x_file.x_fname[0] == 0)
608 H_PUT_32 (abfd, in->x_file.x_n.x_offset,
613 memcpy (ext->x_file.x_n.x_fname, in->x_file.x_fname, FILNMLEN);
623 H_PUT_32 (abfd, in->x_csect.x_scnlen.l, ext->x_csect.x_scnlen);
624 H_PUT_32 (abfd, in->x_csect.x_parmhash, ext->x_csect.x_parmhash);
625 H_PUT_16 (abfd, in->x_csect.x_snhash, ext->x_csect.x_snhash);
626 /* We don't have to hack bitfields in x_smtyp because it's
629 H_PUT_8 (abfd, in->x_csect.x_smtyp, ext->x_csect.x_smtyp);
630 H_PUT_8 (abfd, in->x_csect.x_smclas, ext->x_csect.x_smclas);
631 H_PUT_32 (abfd, in->x_csect.x_stab, ext->x_csect.x_stab);
632 H_PUT_16 (abfd, in->x_csect.x_snstab, ext->x_csect.x_snstab);
642 H_PUT_32 (abfd, in->x_scn.x_scnlen, ext->x_scn.x_scnlen);
643 H_PUT_16 (abfd, in->x_scn.x_nreloc, ext->x_scn.x_nreloc);
644 H_PUT_16 (abfd, in->x_scn.x_nlinno, ext->x_scn.x_nlinno);
650 H_PUT_32 (abfd, in->x_sym.x_tagndx.l, ext->x_sym.x_tagndx);
651 H_PUT_16 (abfd, in->x_sym.x_tvndx, ext->x_sym.x_tvndx);
656 H_PUT_32 (abfd, in->x_sym.x_fcnary.x_fcn.x_lnnoptr,
658 H_PUT_32 (abfd, in->x_sym.x_fcnary.x_fcn.x_endndx.l,
663 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[0],
665 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[1],
667 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[2],
669 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[3],
674 H_PUT_32 (abfd, in->x_sym.x_misc.x_fsize, ext->x_sym.x_misc.x_fsize);
677 H_PUT_16 (abfd, in->x_sym.x_misc.x_lnsz.x_lnno,
679 H_PUT_16 (abfd, in->x_sym.x_misc.x_lnsz.x_size,
693 different algorithms for putting in the reloc. Many of these
1169 archive in place. Of course, we don't do that. An XCOFF archive
1174 elements in the archive (you can get that by looking through the
1177 normally (and perhaps must be) the second to last entry in the
1180 entries in the table. For each entry it has a 12 character decimal
1181 string which is the offset in the archive of that member. These
1188 the last entry in the archive. The contents start with a four byte
1191 entry in the archive. These numbers are followed by a series of
1195 files and also 32- and 64-bit objects in the same archive. The
1219 /* Read in the armap of an XCOFF archive. */
1266 /* Read in the entire symbol table. */
1324 /* Read in the entire symbol table. */
1478 /* Read the archive header in an XCOFF archive. */
1566 /* Open the next element in an XCOFF archive. */
1625 /* Stat an element in an XCOFF archive. */
1660 /* Normalize a file name for inclusion in an archive. */
1699 /* We need spaces, not null bytes, in the header. */
1866 /* xcoff_write_archive_contents_big passes nextoff in symoff. */
2161 /* We need spaces, not null bytes, in the header. */
2216 /* We need spaces, not null bytes, in the header. */
2266 /* We need spaces, not null bytes, in the header. */
2506 /* Save nextoff in fhdr.symoff so the armap routine can use it. */
2552 /* There can be additional sections just for dealing with overflow in
2607 /* Routines to swap information in the XCOFF .loader section. If we
2612 /* Swap in the ldhdr structure. */
2646 /* Swap in the ldsym structure. */
2718 /* Swap in the ldrel structure. */
2953 /* Normally, this relocation is against a defined symbol. In the
3054 /* Much like unsigned, except no trimming with addrmask. In
3062 example, a 13-bit field sometimes represents values in
3063 0..8191 and sometimes represents values in -4096..4095.
3068 are significant in the relocation, but the original code
3079 bit in the original relocation value: if this is all
3143 trouble; we would need to verify that B is in range, as
3193 fit in the field. However, we also need to consider the
3197 inputs did not fit in the field. Instead of doing a
3198 separate test, we can check for this by or-ing in the
3244 TOC relative relocation. The value in the instruction in
3248 isym = iTOC + in
3249 iinsn = in + o
3252 so we must change insn by on - in.
3256 is the address of the entry in the TOC section.
3463 in a type larger than bfd_vma, which would be inefficient. */
3504 /* Put the value back in the object file. */
3947 The first word of global linkage code must be modified by filling in
4056 { /* COFF backend, defined in libcoff.h. */
4230 the default architecture and machine type used in coffcode.h
4237 { /* COFF backend, defined in libcoff.h. */