mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
Revision of previous delta using bfd_vma cast instead of 1L.
This commit is contained in:
parent
19ec0de70a
commit
461686a323
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user