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, 20 Sep 2006, Ian Lance Taylor wrote:
> I suspect the right patch is going to be putting something like this
> in elfos.h:
>
> #ifdef HOST_BITS_PER_WIDEST_INT >= 64
> #define MAX_OFILE_ALIGNMENT (((unsigned HOST_WIDEST_INT) 1 << 31) * 8)
> #else
> #define MAX_OFILE_ALIGNMENT (((unsigned HOST_WIDEST_INT) 1 << 28) * 8)
> #endif

*HOST*_BITS_... controlling the *target* MAX_OFILE_ALIGNMENT?
Use max target pointer size instead?

brgds, H-P


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