git-svn-id: trunk@28885 -
@@ -114,6 +114,23 @@ unit cpupara;
end;
+ system_i386_os2,
+ system_i386_emx:
+ begin
+ case def.typ of
+ recorddef :
+ { EMX port of GCC returns small records in the FUNCTION_RETURN_REG up to 4 bytes in registers. }
+ if ((pd.proccalloption in [pocall_cdecl,pocall_cppdecl]) and
+ (def.size>0) and
+ (def.size<=4)) then
+ result:=false;
+ exit;
+ end;
system_i386_freebsd,
system_i386_openbsd,
system_i386_darwin,