mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-01 01:45:51 +08:00
* 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:
@ -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,
|
||||
|
Reference in New Issue
Block a user