From: Maarten Lankhorst Date: Mon, 15 Dec 2008 00:08:09 +0000 (+0100) Subject: includes: Fix alignment for 64-bits X-Git-Url: https://repo.or.cz/w/wine/wine64.git/commitdiff_plain/7633027786340713e4fe270c5940324170b67f0c includes: Fix alignment for 64-bits --- 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" \