* elfcode.h (elf_bfd_final_link): Remove assertion when a non

SEC_IN_MEMORY section is found in dynobj.  This can happen when
	linking PIC compiled code.
This commit is contained in:
Ian Lance Taylor
1994-09-30 17:13:08 +00:00
parent 6adffcd857
commit fb562be02f
2 changed files with 9 additions and 1 deletions

View File

@ -5640,7 +5640,9 @@ elf_bfd_final_link (abfd, info)
continue;
if ((o->flags & SEC_IN_MEMORY) == 0)
{
BFD_ASSERT (info->shared);
/* At this point, we are only interested in sections
created by elf_link_create_dynamic_sections. FIXME:
This test is fragile. */
continue;
}
if (! bfd_set_section_contents (abfd, o->output_section,