This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to avoid reference to fplib functions

Note: This was originally posted on 2nd October 2012 at http://forums.arm.com

Hi,
I'm building objects for armv5 with option -fpu=softvfp. All objects are combined to .a library. It seems that compiler puts to my code helper functions such as __ARM_scalbn and __aeabi_lasr. The problem is, that these functions are not hard-coded into my .a lib, references are needed during linking. For some reasons I would like to avoid such behavior and create "stand-alone" .a library, which can be used without fplib and other helpers. In other words, i would like to build-in these functions into library. Is that possible?
Thanks

MSZ
Parents
  • Note: This was originally posted on 2nd October 2012 at http://forums.arm.com


    Do you need fp?  If not you could use "--fpu=none"


    I need software floating point. But that's tricky, because during linking I don't have access to helpers library. I will give example: library includes function for conversion from float to fixed-point - that's the place where __ARM_scalbn is used. I want to make this function inlined (or something like that) into code. End-user of library should be unaware which functions are hidden under library.
Reply
  • Note: This was originally posted on 2nd October 2012 at http://forums.arm.com


    Do you need fp?  If not you could use "--fpu=none"


    I need software floating point. But that's tricky, because during linking I don't have access to helpers library. I will give example: library includes function for conversion from float to fixed-point - that's the place where __ARM_scalbn is used. I want to make this function inlined (or something like that) into code. End-user of library should be unaware which functions are hidden under library.
Children
No data