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] Undefine MAX_OFILE_ALIGNMENT in config/arm/elf.h before overriding it


Fred Fish wrote:
> On Wednesday 06 December 2006 04:43, Richard Earnshaw wrote:
>> On Tue, 2006-12-05 at 23:02 -0700, Fred Fish wrote:
>>> MAX_OFILE_ALIGNMENT is now defined in elfos.h, which is included
>>> before arm/elf.h, so we need to undefine it before overriding it.
>>>
>>> 2006-12-05  Fred Fish  <fnf@specifix.com>
>>>
>>> 	* config/arm/elf.h (MAX_OFILE_ALIGNMENT): Undefine before defining.
>> Hmm, no.  I think we should just kill this definition.  There's no
>> technical reason for restricting this to a lower value than ELF can
>> support.
> 
> Fine with me.  I only made it consistent with the other configs that
> override MAX_OFILE_ALIGNMENT by first #undef'ing it.

Coincidentally, Carlos was just working on a patch to do as Richard E.
suggests.  Carlos, would you please check that in on mainline?  And,
also the similar patch to mips.h that Richard S. approved?

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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