[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1282812396.1879.7.camel@holzheu-laptop>
Date: Thu, 26 Aug 2010 10:46:36 +0200
From: Michael Holzheu <holzheu@...ux.vnet.ibm.com>
To: "H. Peter Anvin" <hpa@...ux.intel.com>
Cc: sam@...nborg.org, tabbott@...lice.com, vda.linux@...glemail.com,
mmarek@...e.cz, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, heiko.carstens@...ibm.com,
brueckner@...ux.vnet.ibm.com, schwidefsky@...ibm.com
Subject: Re: [PATCH] Fix initramfs size calculation
Hello Peter,
On Wed, 2010-08-25 at 13:10 -0700, H. Peter Anvin wrote:
> On 08/25/2010 08:57 AM, Michael Holzheu wrote:
> > Certain s390 instructions, especially instructions for loading addresses
> > (larl) or branch addresses must be on even addresses.
>
> I have to admit to finding this fairly disturbing, as this is likely to
> come up again and again. Is there any way to tell gcc (e.g. with an
> alignment attribute) that a particular symbol is not safe to be loaded
> with larl?
I think, it is not possible the change that in the compiler. The fact
that the compiler on s390 assumes that symbols are 2 byte aligned was a
design decission and is part of the ABI.
Michael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists