fpc/rtl/m68k
sergei acd3ea8750 * m68k: Fixed parameter passing to conform to ABI:
* records are passed by value
  * records with size of 1,2 or 4 are returned in registers
  * parameters with size<4 are justified on the stack according to big-endian target

Now everything except floating-point parameters is compatible with C code compiled with "-malign-int -mrtd".
Compatibility with "-mno-align-int" is achievable by changing target_info.maxCrecordalign to 2, but doings so causes a lot more troubles because RTL (incorrectly) assumes that records declared with {$PACKRECORDS C} are aligned to pointer size.

+ Reuse parameter locations. Since everything is passed on stack, it reduces code size quite a bit.
- tm68kparamanager.getintparaloc removed, generic implementation has been tested and works as expected.

git-svn-id: trunk@28083 -
2014-06-27 06:58:39 +00:00
..
int64p.inc
lowmath.inc
m68k.inc * m68k: Fixed parameter passing to conform to ABI: 2014-06-27 06:58:39 +00:00
makefile.cpu
math.inc add fpc_longword_to_double if needed 2012-12-18 14:04:14 +00:00
mathu.inc + Implemented m68k-specific (actually, softfloat-specific) part of Math unit. 2014-03-21 05:24:09 +00:00
readme
set.inc Various adjustments to the RTL for m68k: 2012-10-18 20:12:02 +00:00
setjump.inc fixed typo 2013-01-01 02:44:01 +00:00
setjumph.inc * rtl/m68k/setjumph.inc: 2012-12-28 13:00:28 +00:00
strings.inc
stringss.inc

This directory contains only RTL parts specific
to the processor M68K family.


Missing units are :
  strings.pp (you can  the strings unit in the template directory)
  getopts.pp