pch on sparc64

Daniel Jacobowitz drow@false.org
Sun Nov 7 16:28:00 GMT 2004


On Sat, Nov 06, 2004 at 10:11:40PM -0800, David S. Miller wrote:
> On Sat, 6 Nov 2004 21:02:47 -0500
> Daniel Jacobowitz <drow@false.org> wrote:
> 
> > GCC already aligns the mapping to some particular offset (usually the
> > page size).  It should be trivial to inform GCC to round to a higher
> > offset.
> 
> That sounds like a possible solution.
> 
> But it has to be aligned in the file too.  So if GCC puts some
> header information at the beginning of the PCH file, which I believe
> it does, that has to be taken into consideration.

Yes, this is also rounded up to the page size at present.  Redefining
HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY should be all it takes..

-- 
Daniel Jacobowitz



More information about the Gcc mailing list