From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933931Ab0EZCX0 (ORCPT ); Tue, 25 May 2010 22:23:26 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:57835 "EHLO mail.codesourcery.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933465Ab0EZCXY (ORCPT ); Tue, 25 May 2010 22:23:24 -0400 Message-ID: <4BFC8617.9010501@codesourcery.com> Date: Wed, 26 May 2010 10:23:19 +0800 From: Jie Zhang User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Mike Frysinger CC: Paul Mundt , Mike Frysinger , uclinux-dev@uclinux.org, David Howells , David McCullough , Greg Ungerer , uclinux-dist-devel@blackfin.uclinux.org, microblaze-uclinux@itee.uq.edu.au, Michal Simek , linux-m32r@ml.linux-m32r.org, Hirokazu Takata , linux-kernel@vger.kernel.org, Yoshinori Sato Subject: Re: [PATCH] FLAT: allow arches to declare a larger alignment than the slab References: <1274815467-14584-1-git-send-email-vapier@gentoo.org> <20100525210755.GA8920@linux-sh.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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