From: Mike Frysinger Date: Wed, 30 Nov 2011 21:36:35 -0500 Subject: [U-Boot] [PATCH 1/2] nds32: add linkage support In-Reply-To: References: <1322640403-9927-1-git-send-email-macpaul@andestech.com> <201111301132.07445.vapier@gentoo.org> Message-ID: <201111302136.37122.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 30 November 2011 21:29:02 Macpaul Lin wrote: > 2011/12/1 Mike Frysinger > > On Wednesday 30 November 2011 03:06:42 Macpaul Lin wrote: > > > Add linkage support. > > > > let's add this to our linux/linkage.h: > > #ifndef __ALIGN > > #define __ALIGN .align 4 > > #define __ALIGN_STR ".align 4" > > #endif > > > > i think most arches will be this way > > I'm not sure for this because I've found there exists different > configurations for other > architectures in Linux. more than half will use ".align 4". for the few that do not, they can still define __ALIGN themselves, and thus the "#ifndef __ALIGN" i quoted above will keep it from executing. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: