removing reliance on NBPG/UPAGES in bfd/trad-core.c

Mike Frysinger vapier@gentoo.org
Wed Feb 14 07:40:00 GMT 2007


with the linux kernel moving to sanitized headers, asm/page.h and asm/user.h 
have been pretty much killed off ... for most people, this doesnt matter, but 
for targets that utilize bfd/trad-core.c, binutils no longer builds

this is because it uses the define NBPG/UPAGES without any fallbacks ... NBPG 
is normally defined as either a constant in asm/user.h or as PAGE_SIZE from 
asm/page.h which itself is no longer exported

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
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20070214/7589154f/attachment.sig>


More information about the Binutils mailing list