This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [PATCH] mips: Allow larger values for __aligned__


On Thu, Sep 21, 2006 at 12:03:31AM +0100, Thiemo Seufer wrote:
> > +#undef MAX_OFILE_ALIGNMENT
> > +#define MAX_OFILE_ALIGNMENT (0x10000000 << 3)
> 
> Binutils recently changed the maximum page size for o32 to 64k, and
> has the same for n32/n64. I think we should be consistent.
> 
> Btw, 64k page sizes are also the maximum on IRIX, this suggests it
> provides enough headroom to build large systems. (This is only my
> guess, and not backed up by data.)

We were around this discussion internally already... :-)  This has
nothing to do with the page size, except for numerical coincidence.
It's perfectly valid to have an object requiring 128K alignment on
a system with 4K pages, for instance if you use the low bits of a
pointer for something else.

-- 
Daniel Jacobowitz
CodeSourcery


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