fix relocating ctors with small code
This commit is contained in:
parent
7f1f4229f1
commit
dbd93c69e4
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue