This is the mail archive of the binutils@sources.redhat.com 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]

Re: [RFA:] bfd/elf-strtab.c: make i unsigned long to work around bug in egcs-1.1.2


On Sun, Nov 11, 2001 at 06:10:34AM -0500, Hans-Peter Nilsson wrote:
> 
> Still?

I must have been dreaming.  unsigned long is fine (Hmm, I suppose
size_t is slightly more correct).  Any concerns about overflowing
unsigned long are really paranoid as bfd_malloc will complain if the
allocated array is too big for size_t.

> It shouldn't be called "i"
> anyways, if it stays.

Yes, please rename.  Consider it all pre-approved.  This is obvious
stuff anyway, so much so that I didn't check properly...  Well, that's
the best excuse I can offer. ;)

Alan


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