[U-Boot] [PATCH 1/2] nds32: add linkage support
Mike Frysinger
vapier at gentoo.org
Thu Dec 1 03:36:35 CET 2011
On Wednesday 30 November 2011 21:29:02 Macpaul Lin wrote:
> 2011/12/1 Mike Frysinger <vapier at gentoo.org>
> > 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: <http://lists.denx.de/pipermail/u-boot/attachments/20111130/b1991efa/attachment.pgp>
More information about the U-Boot
mailing list