From 7633027786340713e4fe270c5940324170b67f0c Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Mon, 15 Dec 2008 01:08:09 +0100 Subject: [PATCH] includes: Fix alignment for 64-bits --- include/wine/port.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wine/port.h b/include/wine/port.h index 817f02b76e4..416408a3320 100644 --- a/include/wine/port.h +++ b/include/wine/port.h @@ -206,7 +206,7 @@ struct statvfs #if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__APPLE__) # define __ASM_GLOBAL_FUNC(name,code) \ __asm__( ".text\n\t" \ - ".align 4\n\t" \ + ".align 8\n\t" \ ".globl " __ASM_NAME(#name) "\n\t" \ __ASM_FUNC(#name) "\n" \ __ASM_NAME(#name) ":\n\t" \ @@ -215,7 +215,8 @@ struct statvfs #else /* defined(__GNUC__) && !defined(__MINGW32__) && !defined(__APPLE__) */ # define __ASM_GLOBAL_FUNC(name,code) \ void __asm_dummy_##name(void) { \ - asm( ".align 4\n\t" \ + asm( + ".align 8\n\t" \ ".globl " __ASM_NAME(#name) "\n\t" \ __ASM_FUNC(#name) "\n" \ __ASM_NAME(#name) ":\n\t" \ -- 2.11.4.GIT