This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

passing float to an external function


Hello,

i have problems passing a simple float value to an external C function.

Passing to a function in the same object file gives the expected
results.

But passing it to a function in another object file, which is linked
into the executable, it arrives not as it is expected. (at least by me)


simple sample code-lines, with generated asm listing and some comments: 

 http://vtom.org/externfloatfunc.tgz


Thank you for any hints. 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]