Lines Matching refs:lsec

244   asection *lsec;  in _bfd_xcoff_get_dynamic_symtab_upper_bound()  local
254 lsec = bfd_get_section_by_name (abfd, ".loader"); in _bfd_xcoff_get_dynamic_symtab_upper_bound()
255 if (lsec == NULL) in _bfd_xcoff_get_dynamic_symtab_upper_bound()
261 if (! xcoff_get_section_contents (abfd, lsec)) in _bfd_xcoff_get_dynamic_symtab_upper_bound()
263 contents = coff_section_data (abfd, lsec)->contents; in _bfd_xcoff_get_dynamic_symtab_upper_bound()
275 asection *lsec; in _bfd_xcoff_canonicalize_dynamic_symtab() local
288 lsec = bfd_get_section_by_name (abfd, ".loader"); in _bfd_xcoff_canonicalize_dynamic_symtab()
289 if (lsec == NULL) in _bfd_xcoff_canonicalize_dynamic_symtab()
295 if (! xcoff_get_section_contents (abfd, lsec)) in _bfd_xcoff_canonicalize_dynamic_symtab()
297 contents = coff_section_data (abfd, lsec)->contents; in _bfd_xcoff_canonicalize_dynamic_symtab()
299 coff_section_data (abfd, lsec)->keep_contents = TRUE; in _bfd_xcoff_canonicalize_dynamic_symtab()
365 asection *lsec; in _bfd_xcoff_get_dynamic_reloc_upper_bound() local
375 lsec = bfd_get_section_by_name (abfd, ".loader"); in _bfd_xcoff_get_dynamic_reloc_upper_bound()
376 if (lsec == NULL) in _bfd_xcoff_get_dynamic_reloc_upper_bound()
382 if (! xcoff_get_section_contents (abfd, lsec)) in _bfd_xcoff_get_dynamic_reloc_upper_bound()
384 contents = coff_section_data (abfd, lsec)->contents; in _bfd_xcoff_get_dynamic_reloc_upper_bound()
398 asection *lsec; in _bfd_xcoff_canonicalize_dynamic_reloc() local
410 lsec = bfd_get_section_by_name (abfd, ".loader"); in _bfd_xcoff_canonicalize_dynamic_reloc()
411 if (lsec == NULL) in _bfd_xcoff_canonicalize_dynamic_reloc()
417 if (! xcoff_get_section_contents (abfd, lsec)) in _bfd_xcoff_canonicalize_dynamic_reloc()
419 contents = coff_section_data (abfd, lsec)->contents; in _bfd_xcoff_canonicalize_dynamic_reloc()
818 asection *lsec; in xcoff_link_add_dynamic_symbols() local
849 lsec = bfd_get_section_by_name (abfd, ".loader"); in xcoff_link_add_dynamic_symbols()
850 if (lsec == NULL) in xcoff_link_add_dynamic_symbols()
859 if (! xcoff_get_section_contents (abfd, lsec)) in xcoff_link_add_dynamic_symbols()
861 contents = coff_section_data (abfd, lsec)->contents; in xcoff_link_add_dynamic_symbols()
988 if (contents != NULL && ! coff_section_data (abfd, lsec)->keep_contents) in xcoff_link_add_dynamic_symbols()
990 free (coff_section_data (abfd, lsec)->contents); in xcoff_link_add_dynamic_symbols()
991 coff_section_data (abfd, lsec)->contents = NULL; in xcoff_link_add_dynamic_symbols()
1056 asection *lsec; in xcoff_link_create_extra_sections() local
1059 lsec = bfd_make_section_anyway_with_flags (abfd, ".loader", flags); in xcoff_link_create_extra_sections()
1060 if (lsec == NULL) in xcoff_link_create_extra_sections()
1063 xcoff_hash_table (info)->loader_section = lsec; in xcoff_link_create_extra_sections()
1069 asection *lsec; in xcoff_link_create_extra_sections() local
1073 lsec = bfd_make_section_anyway_with_flags (abfd, ".gl", flags); in xcoff_link_create_extra_sections()
1074 if (lsec == NULL) in xcoff_link_create_extra_sections()
1077 xcoff_hash_table (info)->linkage_section = lsec; in xcoff_link_create_extra_sections()
1078 lsec->alignment_power = 2; in xcoff_link_create_extra_sections()
2236 asection *lsec; in xcoff_link_check_dynamic_ar_symbols() local
2244 lsec = bfd_get_section_by_name (abfd, ".loader"); in xcoff_link_check_dynamic_ar_symbols()
2245 if (lsec == NULL) in xcoff_link_check_dynamic_ar_symbols()
2249 if (! xcoff_get_section_contents (abfd, lsec)) in xcoff_link_check_dynamic_ar_symbols()
2251 contents = coff_section_data (abfd, lsec)->contents; in xcoff_link_check_dynamic_ar_symbols()
2301 if (contents != NULL && ! coff_section_data (abfd, lsec)->keep_contents) in xcoff_link_check_dynamic_ar_symbols()
2303 free (coff_section_data (abfd, lsec)->contents); in xcoff_link_check_dynamic_ar_symbols()
2304 coff_section_data (abfd, lsec)->contents = NULL; in xcoff_link_check_dynamic_ar_symbols()
3501 asection *lsec; in xcoff_build_loader_section() local
3550 lsec = htab->loader_section; in xcoff_build_loader_section()
3551 lsec->size = stoff + ldhdr->l_stlen; in xcoff_build_loader_section()
3552 lsec->contents = bfd_zalloc (output_bfd, lsec->size); in xcoff_build_loader_section()
3553 if (lsec->contents == NULL) in xcoff_build_loader_section()
3557 bfd_xcoff_swap_ldhdr_out (output_bfd, ldhdr, lsec->contents); in xcoff_build_loader_section()
3560 out = (char *) lsec->contents + ldhdr->l_impoff; in xcoff_build_loader_section()
3580 BFD_ASSERT ((bfd_size_type) ((bfd_byte *) out - lsec->contents) == stoff); in xcoff_build_loader_section()