mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-03 03:07:26 +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:
@ -1,3 +1,9 @@
|
|||||||
|
Fri Sep 30 13:11:38 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Thu Sep 29 15:21:44 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
|
Thu Sep 29 15:21:44 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
|
||||||
|
|
||||||
* reloc.c (bfd_install_relocation): Change type of "data" to
|
* reloc.c (bfd_install_relocation): Change type of "data" to
|
||||||
|
@ -5640,7 +5640,9 @@ elf_bfd_final_link (abfd, info)
|
|||||||
continue;
|
continue;
|
||||||
if ((o->flags & SEC_IN_MEMORY) == 0)
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
if (! bfd_set_section_contents (abfd, o->output_section,
|
if (! bfd_set_section_contents (abfd, o->output_section,
|
||||||
|
Reference in New Issue
Block a user