fp_coldfire.a rebuild for register parameter passing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

fp_coldfire.a rebuild for register parameter passing

2,646 Views
jjr
Contributor I
Hi, we're using CW 6.3 and have imported the libray "CodeWarrior for ColdFire V6.3\E68K_Support\Libraries\fp_coldfire.a"  into our project for floating point.Originally the project was built
using stack parameter pasing. We want to change it to use register passing. What
project in the "CodeWarrior for ColdFire V6.3\E68K_Support\*" tree must I rebuild to do this ?
 
 Thanks,
 John
 
Labels (1)
0 Kudos
3 Replies

474 Views
tim35ca
Contributor I
There doesn't seen to be a RegABI version of the library fp_coldfire.a or a way to build it.
0 Kudos

474 Views
CrasyCat
Specialist III
Hello

fp_coldfire.a contains only functions implemented in assembly language.
There is no parameter passing scheme for assembly functions, so there is no need to have RegABI version of these library.

Also functions from this library are used internally by the compiler. They should never be used by the programmer.

CrasyCat
0 Kudos

474 Views
CrasyCat
Specialist III
Hello
 
Please look at {Install}\Help\PDF\ColdFire_Build_Tools_Reference.pdf.
Chapter "ColdFire Runtime Libraries", section "MSL for ColdFire Development" -> "Using MSL Libraries for ColdFire" includes a table showing naming convention for MSL & Runtime libraries.
 
RegABI_ is the substring you need to look for for register ABI.
 
CrasyCat
0 Kudos