[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Binutils 2.18 + GCC 4.2.3



Vincent Rivière <vincent.riviere@freesbee.fr> writes:

> Andreas Schwab wrote:
>> The warning is coming from the compiler.  If you tell the compiler that
>> the biggest alignment supported by the object file format is 2 then it
>> will not allow bigger alignments.  You need to configure
>> MAX_OFILE_ALIGNMENT as appropriate.
>
> I don't think it is necessary to change MAX_OFILE_ALIGNMENT, because there
> is:
>
> #define BIGGEST_ALIGNMENT (TARGET_ALIGN_INT ? 32 : 16)
> #define MAX_OFILE_ALIGNMENT BIGGEST_ALIGNMENT

If you don't compile with -malign-int the biggest supported alignment is
2 bytes.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."