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>
This commit is contained in:
parent
c6d506742f
commit
6840981dfb
3
exec.c
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user