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: removing reliance on NBPG/UPAGES in bfd/trad-core.c


On Thursday 22 February 2007, Nick Clifton wrote:
> > i dont know the history here, but it looks like trad-core.c should be
> > converted from NBPG to getpagesize() since the configure script goes
> > through so much trouble to make sure this is sane
>
> I agree - would you care to submit a patch ? :-)

so i come at this from a linux point of view where doing simply 
s/NBPG/getpagesize()/ is OK ... is there any other system i need to consider 
for this ?  if so, a better change might be to put after the includes:
#ifndef NBPG
# define NBPG getpagesize()
#endif
-mike

Attachment: pgp00000.pgp
Description: PGP signature


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