[uClinux-dev] Re: [Uclinux-dist-devel] [PATCH 1/2 v2] FLAT: split the stack & data alignments

Mike Frysinger vapier.adi at gmail.com
Thu May 27 14:30:19 EDT 2010


On Thu, May 27, 2010 at 04:24, Michal Simek wrote:
> Mike Frysinger wrote:
>> The stack and data have different alignment requirements, so don't force
>> them to wear the same shoe.  Increase the data alignment to match that
>> which the elf2flt linker script has always been using: 0x20 bytes.  Not
>> only does this bring the kernel loader in line with the toolchain, but
>> it also fixes a swath of gcc tests which try to force larger alignment
>> values but randomly fail when the FLAT loader fails to deliver.
>>
>> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
>
> Solve the problem on Microblaze:
>
> Tested-by: Michal Simek <monstr at monstr.eu>
>
> Who will add it to mainline?

if we can get the misc nommu peeps to agree on this (looking mostly at
David [McCullough] and Greg), then akpm will most likely expedite the
merge.  i like to think they're the best FLAT experts out there ;).
-mike



More information about the uClinux-dev mailing list