This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix gcc bootstrap problem


Hi Alan,

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);

Doh! Yes that is better. I will check in this change.


Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]