i386: apply "align=8 for doubles ..." for PE only

tcc-xref
grischka 2009-04-03 20:51:37 +02:00
parent 97072b3cd7
commit 0e015988cc
1 changed files with 4 additions and 0 deletions

4
tcc.c
View File

@ -6266,7 +6266,11 @@ static int type_size(CType *type, int *a)
return LDOUBLE_SIZE;
} else if (bt == VT_DOUBLE || bt == VT_LLONG) {
#ifdef TCC_TARGET_I386
#ifdef TCC_TARGET_PE
*a = 8;
#else
*a = 4;
#endif
#elif defined(TCC_TARGET_ARM)
#ifdef TCC_ARM_EABI
*a = 8;