lkml.org 
[lkml]   [2010]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] FLAT: allow arches to declare a larger alignment than the slab
On 05/26/2010 07:17 AM, Mike Frysinger wrote:
> i do not believe that is the reason for this, but unfortunately Jie is
> about the only one atm who knows the inner details as for why shared
> FLAT libraries requires 0x20 rather than just 0x4 alignment. i do
> know that there are some gcc fortran tests that fail otherwise.
> hopefully he can remember details ;).
>
I encountered this issue when investigating some GCC test failures when
using FLAT. I don't remember if they were in GCC Fortran testsuite. Some
variables in those test cases were required to be aligned at a large
boundary, for example 16-byte. I found 0x20 was a reasonably large
alignment to fix all such failures in GCC testsuite.


Jie


\
 
 \ /
  Last update: 2010-05-26 04:25    [from the cache]
©2003-2011 Jasper Spaans