From: Nick Clifton Date: Mon, 20 Aug 2007 13:23:41 +0000 (+0000) Subject: Revision of previous delta using bfd_vma cast instead of 1L. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=461686a32337125d51ec25e752fa158448be4005;p=binutils-gdb.git Revision of previous delta using bfd_vma cast instead of 1L. --- diff --git a/bfd/elflink.c b/bfd/elflink.c index 6059ab11408..0f13faa9e01 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -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;