Lines Matching defs:lsec

162   asection *lsec;
172 lsec = bfd_get_section_by_name (abfd, ".loader");
173 if (lsec == NULL)
179 if (! xcoff_get_section_contents (abfd, lsec))
181 contents = coff_section_data (abfd, lsec)->contents;
193 asection *lsec;
206 lsec = bfd_get_section_by_name (abfd, ".loader");
207 if (lsec == NULL)
213 if (! xcoff_get_section_contents (abfd, lsec))
215 contents = coff_section_data (abfd, lsec)->contents;
217 coff_section_data (abfd, lsec)->keep_contents = TRUE;
278 asection *lsec;
288 lsec = bfd_get_section_by_name (abfd, ".loader");
289 if (lsec == NULL)
295 if (! xcoff_get_section_contents (abfd, lsec))
297 contents = coff_section_data (abfd, lsec)->contents;
311 asection *lsec;
323 lsec = bfd_get_section_by_name (abfd, ".loader");
324 if (lsec == NULL)
330 if (! xcoff_get_section_contents (abfd, lsec))
332 contents = coff_section_data (abfd, lsec)->contents;
552 asection *lsec;
586 lsec = bfd_get_section_by_name (abfd, ".loader");
587 if (lsec == NULL)
596 if (! xcoff_get_section_contents (abfd, lsec))
598 contents = coff_section_data (abfd, lsec)->contents;
738 if (contents != NULL && ! coff_section_data (abfd, lsec)->keep_contents)
740 free (coff_section_data (abfd, lsec)->contents);
741 coff_section_data (abfd, lsec)->contents = NULL;
800 asection *lsec;
803 lsec = bfd_make_section_anyway_with_flags (abfd, ".loader", flags);
804 if (lsec == NULL)
807 xcoff_hash_table (info)->loader_section = lsec;
813 asection *lsec;
817 lsec = bfd_make_section_anyway_with_flags (abfd, ".gl", flags);
818 if (lsec == NULL)
821 xcoff_hash_table (info)->linkage_section = lsec;
822 lsec->alignment_power = 2;
1983 asection *lsec;
1991 lsec = bfd_get_section_by_name (abfd, ".loader");
1992 if (lsec == NULL)
1996 if (! xcoff_get_section_contents (abfd, lsec))
1998 contents = coff_section_data (abfd, lsec)->contents;
2047 if (contents != NULL && ! coff_section_data (abfd, lsec)->keep_contents)
2049 free (coff_section_data (abfd, lsec)->contents);
2050 coff_section_data (abfd, lsec)->contents = NULL;
2983 asection *lsec;
3180 lsec = xcoff_hash_table (info)->loader_section;
3181 lsec->size = stoff + ldhdr->l_stlen;
3182 lsec->contents = bfd_zalloc (output_bfd, lsec->size);
3183 if (lsec->contents == NULL)
3187 bfd_xcoff_swap_ldhdr_out (output_bfd, ldhdr, lsec->contents);
3190 out = (char *) lsec->contents + ldhdr->l_impoff;
3210 BFD_ASSERT ((bfd_size_type) ((bfd_byte *) out - lsec->contents) == stoff);