Home | History | Annotate | Download | only in bfd

Lines Matching refs:newsect

1211 	    asection *newsect);
1218 NAME (aout, new_section_hook) (bfd *abfd, asection *newsect)
1221 newsect->alignment_power = bfd_get_arch_info (abfd)->section_align_power;
1225 if (obj_textsec (abfd) == NULL && !strcmp (newsect->name, ".text"))
1227 obj_textsec (abfd)= newsect;
1228 newsect->target_index = N_TEXT;
1230 else if (obj_datasec (abfd) == NULL && !strcmp (newsect->name, ".data"))
1232 obj_datasec (abfd) = newsect;
1233 newsect->target_index = N_DATA;
1235 else if (obj_bsssec (abfd) == NULL && !strcmp (newsect->name, ".bss"))
1237 obj_bsssec (abfd) = newsect;
1238 newsect->target_index = N_BSS;
1243 return _bfd_generic_new_section_hook (abfd, newsect);