On Wednesday 30 November 2011 21:29:02 Macpaul Lin wrote: > 2011/12/1 Mike Frysinger <vap...@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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot