This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix gcc bootstrap problem
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 20 Aug 2007 18:07:41 +0930
- Subject: Re: Fix gcc bootstrap problem
- References: <m31wdywr2y.fsf@redhat.com>
On Mon, Aug 20, 2007 at 09:25:09AM +0100, Nick Clifton wrote:
> offset &= (bfd_vma)~((1L << s->alignment_power) - 1L);
>
> which I think should satisfy everyone.
Not me. :-) long might only be 32 bit and bfd_vma 64 bit.
offset &= ~(((bfd_vma) 1 << s->alignment_power) - 1);
--
Alan Modra
Australia Development Lab, IBM