fix relocating ctors with small code

This commit is contained in:
bebbo 2018-03-27 22:32:16 +02:00
parent 7f1f4229f1
commit dbd93c69e4
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{
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;
}
}