i386: apply "align=8 for doubles ..." for PE only
This commit is contained in:
parent
97072b3cd7
commit
0e015988cc
1 changed files with 4 additions and 0 deletions
4
tcc.c
4
tcc.c
|
|
@ -6266,7 +6266,11 @@ static int type_size(CType *type, int *a)
|
||||||
return LDOUBLE_SIZE;
|
return LDOUBLE_SIZE;
|
||||||
} else if (bt == VT_DOUBLE || bt == VT_LLONG) {
|
} else if (bt == VT_DOUBLE || bt == VT_LLONG) {
|
||||||
#ifdef TCC_TARGET_I386
|
#ifdef TCC_TARGET_I386
|
||||||
|
#ifdef TCC_TARGET_PE
|
||||||
*a = 8;
|
*a = 8;
|
||||||
|
#else
|
||||||
|
*a = 4;
|
||||||
|
#endif
|
||||||
#elif defined(TCC_TARGET_ARM)
|
#elif defined(TCC_TARGET_ARM)
|
||||||
#ifdef TCC_ARM_EABI
|
#ifdef TCC_ARM_EABI
|
||||||
*a = 8;
|
*a = 8;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue