OSDN Git Service

Fixed ASM_ALIGN macro
authorPavel Chupin <pavel.v.chupin@intel.com>
Fri, 4 Oct 2013 07:08:56 +0000 (11:08 +0400)
committerPavel Chupin <pavel.v.chupin@intel.com>
Fri, 4 Oct 2013 07:12:58 +0000 (11:12 +0400)
Got it all wrong on first patch. Somehow that didn't affect system
build, neither arm nor x86... something to think about.

Change-Id: I45416d843aad44af62841c6f6ab607ccf3f012ea
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
libc/arch-common/bionic/asm_multiarch.h

index 32c7e5b..85e1b57 100644 (file)
@@ -28,9 +28,9 @@
 
 #ifdef __LP64__
 # define ASM_PTR_SIZE(x) .quad x
-# define ASM_ALIGN(x)    .align 4
+# define ASM_ALIGN(x)
 #else
 # define ASM_PTR_SIZE(x) .long x
-# define ASM_ALIGN(x)
+# define ASM_ALIGN(x)    .align x
 #endif