Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
armlink Error: L6218E: Undefined symbol...
Jump...
Cancel
Locked
Locked
Replies
7 replies
Subscribers
119 subscribers
Views
9160 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
armlink Error: L6218E: Undefined symbol...
Abhash Das
over 12 years ago
Parents
Peter Harris
over 12 years ago
Note: This was originally posted on 6th July 2009 at
http://forums.arm.com
Well, ... there is a compiler command line switch, "--split_sections", which causes it to put every function in its own section in the output object.
If a function is not used the linker can then eliminate the whole section - which might work in your case.
This *will* slow down your code, but might achieve what you want. If you want to fix the issue without the code slow down then see my first post about fixing the code - either via making functions static (and allowing internal optimization within the section), or by removing them from the compile completely. =)
Cancel
Vote up
0
Vote down
Cancel
Reply
Peter Harris
over 12 years ago
Note: This was originally posted on 6th July 2009 at
http://forums.arm.com
Well, ... there is a compiler command line switch, "--split_sections", which causes it to put every function in its own section in the output object.
If a function is not used the linker can then eliminate the whole section - which might work in your case.
This *will* slow down your code, but might achieve what you want. If you want to fix the issue without the code slow down then see my first post about fixing the code - either via making functions static (and allowing internal optimization within the section), or by removing them from the compile completely. =)
Cancel
Vote up
0
Vote down
Cancel
Children
No data