mirror of
https://frontier.innolan.net/github/amigaos-binutils.git
synced 2026-09-17 16:23:58 +00:00
fix relocating ctors with small code
This commit is contained in:
+1
-1
@@ -280,7 +280,7 @@ static void insert_long_jumps(bfd * abfd, bfd * input_bfd, asection *input_secti
|
|||||||
for (lo = xs->link_order_head; lo; lo = lo->next)
|
for (lo = xs->link_order_head; lo; lo = lo->next)
|
||||||
{
|
{
|
||||||
if (lo->type == bfd_section_reloc_link_order && lo->u.reloc.p->u.section == s->output_section
|
if (lo->type == bfd_section_reloc_link_order && lo->u.reloc.p->u.section == s->output_section
|
||||||
&& lo->u.reloc.p->addend >= s->_raw_size + s->output_offset)
|
&& lo->u.reloc.p->addend >= s->_cooked_size + s->output_offset)
|
||||||
lo->u.reloc.p->addend += delta;
|
lo->u.reloc.p->addend += delta;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user