diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-04-04 07:45:21 +0200 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2012-04-15 21:25:16 +0200 |
commit | 6840981dfb76a1a1d2401efdb237ed5ddac8bf2f (patch) | |
tree | 248e1cc6a9f87ab81d6d853cdf29f4bf08a0c2ea /exec.c | |
parent | c6d506742fd997a29b611fda11f67c53d60dd5ef (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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |