mirror of
https://github.com/bebbo/amigaos-binutils-2.14.git
synced 2025-12-08 22:38:24 +00:00
fix relocating ctors with small code
This commit is contained in:
@ -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