Lines Matching defs:in

13    This program is distributed in the hope that it will be useful,
27 /* Hey look, some documentation [and in a place you expect to find it]!
47 because the `i' in `pei' also refers to "image". The `pe' format can
65 in what's supposed to be general (to PE/PEI) code. However, that's
89 worked when the code was in peicode.h, but no longer work now that
90 the code is in peigen.c. PowerPC NT is said to be dead. If
99 struct internal_syment *in = (struct internal_syment *) in1;
103 in->_n._n_n._n_zeroes = 0;
104 in->_n._n_n._n_offset = H_GET_32 (abfd, ext->e.e.e_offset);
107 memcpy (in->_n._n_name, ext->e.e_name, SYMNMLEN);
109 in->n_value = H_GET_32 (abfd, ext->e_value);
110 in->n_scnum = H_GET_16 (abfd, ext->e_scnum);
113 in->n_type = H_GET_16 (abfd, ext->e_type);
115 in->n_type = H_GET_32 (abfd, ext->e_type);
117 in->n_sclass = H_GET_8 (abfd, ext->e_sclass);
118 in->n_numaux = H_GET_8 (abfd, ext->e_numaux);
125 symbol. Unfortunately, the value field in the symbol is simply a
128 they will be handled somewhat correctly in the bfd code. */
129 if (in->n_sclass == C_SECTION)
131 in->n_value = 0x0;
134 if (in->n_scnum == 0)
140 if (strcmp (sec->name, in->n_name) == 0)
142 in->n_scnum = sec->target_index;
148 if (in->n_scnum == 0)
159 name = bfd_alloc (abfd, (bfd_size_type) strlen (in->n_name) + 10);
162 strcpy (name, in->n_name);
180 in->n_scnum = unused_section_number;
182 in->n_sclass = C_STAT;
187 /* This won't work in peigen.c, but since it's for PPC PE, it's not
196 struct internal_syment *in = (struct internal_syment *) inp;
199 if (in->_n._n_name[0] == 0)
202 H_PUT_32 (abfd, in->_n._n_n._n_offset, ext->e.e.e_offset);
205 memcpy (ext->e.e_name, in->_n._n_name, SYMNMLEN);
207 H_PUT_32 (abfd, in->n_value, ext->e_value);
208 H_PUT_16 (abfd, in->n_scnum, ext->e_scnum);
211 H_PUT_16 (abfd, in->n_type, ext->e_type);
213 H_PUT_32 (abfd, in->n_type, ext->e_type);
215 H_PUT_8 (abfd, in->n_sclass, ext->e_sclass);
216 H_PUT_8 (abfd, in->n_numaux, ext->e_numaux);
231 union internal_auxent *in = (union internal_auxent *) in1;
238 in->x_file.x_n.x_zeroes = 0;
239 in->x_file.x_n.x_offset = H_GET_32 (abfd, ext->x_file.x_n.x_offset);
242 memcpy (in->x_file.x_fname, ext->x_file.x_fname, FILNMLEN);
250 in->x_scn.x_scnlen = GET_SCN_SCNLEN (abfd, ext);
251 in->x_scn.x_nreloc = GET_SCN_NRELOC (abfd, ext);
252 in->x_scn.x_nlinno = GET_SCN_NLINNO (abfd, ext);
253 in->x_scn.x_checksum = H_GET_32 (abfd, ext->x_scn.x_checksum);
254 in->x_scn.x_associated = H_GET_16 (abfd, ext->x_scn.x_associated);
255 in->x_scn.x_comdat = H_GET_8 (abfd, ext->x_scn.x_comdat);
261 in->x_sym.x_tagndx.l = H_GET_32 (abfd, ext->x_sym.x_tagndx);
262 in->x_sym.x_tvndx = H_GET_16 (abfd, ext->x_sym.x_tvndx);
266 in->x_sym.x_fcnary.x_fcn.x_lnnoptr = GET_FCN_LNNOPTR (abfd, ext);
267 in->x_sym.x_fcnary.x_fcn.x_endndx.l = GET_FCN_ENDNDX (abfd, ext);
271 in->x_sym.x_fcnary.x_ary.x_dimen[0] =
273 in->x_sym.x_fcnary.x_ary.x_dimen[1] =
275 in->x_sym.x_fcnary.x_ary.x_dimen[2] =
277 in->x_sym.x_fcnary.x_ary.x_dimen[3] =
283 in->x_sym.x_misc.x_fsize = H_GET_32 (abfd, ext->x_sym.x_misc.x_fsize);
287 in->x_sym.x_misc.x_lnsz.x_lnno = GET_LNSZ_LNNO (abfd, ext);
288 in->x_sym.x_misc.x_lnsz.x_size = GET_LNSZ_SIZE (abfd, ext);
301 union internal_auxent *in = (union internal_auxent *) inp;
309 if (in->x_file.x_fname[0] == 0)
312 H_PUT_32 (abfd, in->x_file.x_n.x_offset, ext->x_file.x_n.x_offset);
315 memcpy (ext->x_file.x_fname, in->x_file.x_fname, FILNMLEN);
324 PUT_SCN_SCNLEN (abfd, in->x_scn.x_scnlen, ext);
325 PUT_SCN_NRELOC (abfd, in->x_scn.x_nreloc, ext);
326 PUT_SCN_NLINNO (abfd, in->x_scn.x_nlinno, ext);
327 H_PUT_32 (abfd, in->x_scn.x_checksum, ext->x_scn.x_checksum);
328 H_PUT_16 (abfd, in->x_scn.x_associated, ext->x_scn.x_associated);
329 H_PUT_8 (abfd, in->x_scn.x_comdat, ext->x_scn.x_comdat);
335 H_PUT_32 (abfd, in->x_sym.x_tagndx.l, ext->x_sym.x_tagndx);
336 H_PUT_16 (abfd, in->x_sym.x_tvndx, ext->x_sym.x_tvndx);
340 PUT_FCN_LNNOPTR (abfd, in->x_sym.x_fcnary.x_fcn.x_lnnoptr, ext);
341 PUT_FCN_ENDNDX (abfd, in->x_sym.x_fcnary.x_fcn.x_endndx.l, ext);
345 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[0],
347 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[1],
349 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[2],
351 H_PUT_16 (abfd, in->x_sym.x_fcnary.x_ary.x_dimen[3],
356 H_PUT_32 (abfd, in->x_sym.x_misc.x_fsize, ext->x_sym.x_misc.x_fsize);
359 PUT_LNSZ_LNNO (abfd, in->x_sym.x_misc.x_lnsz.x_lnno, ext);
360 PUT_LNSZ_SIZE (abfd, in->x_sym.x_misc.x_lnsz.x_size, ext);
370 struct internal_lineno *in = (struct internal_lineno *) in1;
372 in->l_addr.l_symndx = H_GET_32 (abfd, ext->l_addr.l_symndx);
373 in->l_lnno = GET_LINENO_LNNO (abfd, ext);
379 struct internal_lineno *in = (struct internal_lineno *) inp;
381 H_PUT_32 (abfd, in->l_addr.l_symndx, ext->l_addr.l_symndx);
383 PUT_LINENO_LNNO (abfd, in->l_lnno, ext);
506 In the case of reading a file in, we can pick them up from the
544 _bfd_XXi_swap_aouthdr_out (bfd * abfd, void * in, void * out)
546 struct internal_aouthdr *aouthdr_in = (struct internal_aouthdr *) in;
612 .idata$5. It will be done in bfd_coff_final_link where all the
631 in this slot by MSVC; it doesn't seem to cause problems (so far),
657 in the virt_size field). Files have been seen (from MSVC
746 _bfd_XXi_only_swap_filehdr_out (bfd * abfd, void * in, void * out)
749 struct internal_filehdr *filehdr_in = (struct internal_filehdr *) in;
814 /* Put in extra dos header stuff. This data remains essentially
847 /* Also put in the NT signature. */
854 _bfd_XX_only_swap_filehdr_out (bfd * abfd, void * in, void * out)
856 struct internal_filehdr *filehdr_in = (struct internal_filehdr *) in;
871 _bfd_XXi_swap_scnhdr_out (bfd * abfd, void * in, void * out)
873 struct internal_scnhdr *scnhdr_int = (struct internal_scnhdr *) in;
888 NT_FILE_ALIGNMENT, but zero if it has no content (as in .bss,
916 /* s_paddr in PE is really the virtual size. */
937 /* FIXME: Alignment is also encoded in this field, at least on PPC and
969 and then allow the must_have field to add it back in if necessary.
995 number_of_linenos is used for the line number count in
1056 /* The code for the PPC really falls in the "architecture dependent"
1117 fprintf (file, _("\nThere is an import table in %s at 0x%lx\n"),
1130 get from the bfd, and the descriptor is supposed to be in the
1268 section. If it is not then we will have to load its data in. */
1390 unsigned long num_functions;/* Number in the export address table. */
1391 unsigned long num_names; /* Number in the name pointer table. */
1437 _("\nThere is an export table in %s, but it does not fit into that section\n"),
1447 _("\nThere is an export table in %s, but it is too small (%d)\n"),
1452 fprintf (file, _("\nThere is an export table in %s at 0x%lx\n"),
1502 _("Number in:\n"));
1530 a list of pointers that either locate a function in this dll, or
1551 /* This rva is to a name (forwarding function) in our section. */
1563 /* Should locate a function descriptor in the reldata section. */
1574 /* Dump them in parallel for clarity. */
2083 /* There are a few fields that need to be filled in now while we
2087 they are in the symbol table, so get them from there. */
2107 (_("%B: unable to fill in DataDictionary[1] because .idata$2 is missing"),
2125 (_("%B: unable to fill in DataDictionary[1] because .idata$4 is missing"),
2144 (_("%B: unable to fill in DataDictionary[12] because .idata$5 is missing"),
2162 (_("%B: unable to fill in DataDictionary[PE_IMPORT_ADDRESS_TABLE (12)] because .idata$6 is missing"),
2182 (_("%B: unable to fill in DataDictionary[9] because __tls_used is missing"),
2191 trivial program or are in DEEP trouble; we have to assume trivial