aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-04-04 07:45:21 +0200
committerStefan Weil <sw@weilnetz.de>2012-04-15 21:25:16 +0200
commit6840981dfb76a1a1d2401efdb237ed5ddac8bf2f (patch)
tree248e1cc6a9f87ab81d6d853cdf29f4bf08a0c2ea /exec.c
parentc6d506742fd997a29b611fda11f67c53d60dd5ef (diff)
w64: Use larger alignment for section with generated code
The MinGW-w64 compiler allows __attribute__((aligned (32)). Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/exec.c b/exec.c
index 3dda2ca271..6d10595b8e 100644
--- a/exec.c
+++ b/exec.c
@@ -93,8 +93,7 @@ spinlock_t tb_lock = SPIN_LOCK_UNLOCKED;
#define code_gen_section \
__attribute__((__section__(".gen_code"))) \
__attribute__((aligned (32)))
-#elif defined(_WIN32)
-/* Maximum alignment for Win32 is 16. */
+#elif defined(_WIN32) && !defined(_WIN64)
#define code_gen_section \
__attribute__((aligned (16)))
#else