This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] mips: Allow larger values for __aligned__
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 25 Sep 2006 08:01:37 -0400 (EDT)
- Subject: Re: [PATCH] mips: Allow larger values for __aligned__
- References: <20060920224707.GI9301@lios> <m3u03193jb.fsf@localhost.localdomain>
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