Commit Graph

14 Commits

Author SHA1 Message Date
pierre
e7e96f98b2 Link against libc to avoid __guard_local not found symbol failure at link time for OpenBSD target
git-svn-id: trunk@41981 -
2019-05-04 12:38:23 +00:00
yury
aa6f6423b2 * tests: On x86_64-android long double is 128-bit. There is no support for 128-bit floats in FPC yet. So disable long double tests for x86_64-android for now.
git-svn-id: trunk@39970 -
2018-10-18 12:31:23 +00:00
pierre
48f06bef12 Add C objects linked with $L directive in %FILES to fix dosbox go32v2 tests
git-svn-id: trunk@39129 -
2018-05-28 08:11:42 +00:00
pierre
ddee662665 Add i386 specific check that fpu stack is completely empty in CheckStack function
git-svn-id: trunk@29554 -
2015-01-26 13:13:55 +00:00
yury
fd873c2ee0 * Fixed compilation on targets where sizeof(cextended)=12.
git-svn-id: trunk@23614 -
2013-02-14 10:14:21 +00:00
yury
475bc2d09d * Fixed compilation for case when extended <> cextended.
git-svn-id: branches/targetandroid@23486 -
2013-01-22 11:14:36 +00:00
Jonas Maebe
e13f9b5a2b * only link libgcc for softfloat helpers on ARM if we are compiling for
softfloat

git-svn-id: trunk@20666 -
2012-03-29 20:54:56 +00:00
pierre
72f2d37bac Correct last wrong commit.
+ Use Get_Frame function instead of assmebler code.
  + Add a check for FPU stack on i386.

git-svn-id: trunk@17885 -
2011-06-30 14:48:20 +00:00
pierre
e98c62cb68 * Also check that there is no FPU stack overrun on i386 CPU
git-svn-id: trunk@17884 -
2011-06-30 14:12:21 +00:00
Jonas Maebe
b2c8088d1c * don't use assembler stack checking code if FPC_PIC is defined, because the
assembler code is not pic-safe

git-svn-id: trunk@17880 -
2011-06-29 20:41:58 +00:00
pierre
547b6bbecb * Add stack checking to test
git-svn-id: trunk@17878 -
2011-06-29 20:25:51 +00:00
Jonas Maebe
3c8b23cda4 * fixed cg.a_loadmm_reg_ref() and cg.a_loadfpu_reg_ref() in case they are
used to store a record function result in an MM/FPUREGISTER to memory
    (the register size will be OS_F32/OS_F64, while the memory size will
     be OS_32/OS_64 -> convert the latter to the former)
  * extended tcalext6 to also test this scenario

git-svn-id: trunk@15385 -
2010-06-04 22:31:35 +00:00
Jonas Maebe
6b5db62a5a * adjusted tcalext6 and tcext6.c so libgcc is no longer required on most
non-x86 architectures

git-svn-id: trunk@15377 -
2010-06-04 15:30:18 +00:00
Jonas Maebe
15e9c54b44 * fixed ABI compliance for parameter passing and function returning on all
x86-64 platforms (except for win64, which uses another ABI and which
    already complied to it) + test
  * fixed returning records containing 1 single or double field on darwin/i386,
    these have to be returned via ST0 instead of as a regular record
  * added support for LOC_FPUREGISTER and LOC_MMREGISTER in several places
    where they can now occur due to the previous two changes
  * made a few internalerrors unique

git-svn-id: trunk@15368 -
2010-06-03 20:08:50 +00:00