Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
How to avoid reference to fplib functions
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
4022 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
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
Michal Szymanski
over 12 years ago
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
Michal Szymanski
over 12 years ago
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.
Cancel
Vote up
0
Vote down
Cancel
Reply
Michal Szymanski
over 12 years ago
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.
Cancel
Vote up
0
Vote down
Cancel
Children
No data