Revision of previous delta using bfd_vma cast instead of 1L.

This commit is contained in:
Nick Clifton 2007-08-20 13:23:41 +00:00
parent 19ec0de70a
commit 461686a323

View file

@ -9965,7 +9965,7 @@ elf_fixup_link_order (bfd *abfd, asection *o)
for (n = 0; n < seen_linkorder; n++)
{
s = sections[n]->u.indirect.section;
offset &= (bfd_vma)~((1L << s->alignment_power) - 1L);
offset &= ~(bfd_vma) 0 << s->alignment_power;
s->output_offset = offset;
sections[n]->offset = offset;
offset += sections[n]->size;