
1 Dec
2011
1 Dec
'11
3:36 a.m.
On Wednesday 30 November 2011 21:29:02 Macpaul Lin wrote:
2011/12/1 Mike Frysinger vapier@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