Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Weak linkage doesn't work as expected
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
2516 views
Users
0 members are here
Options
Share
More actions
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
Weak linkage doesn't work as expected
Richard Gere
over 12 years ago
Note: This was originally posted on 14th May 2010 at
http://forums.arm.com
I am using the weak linkage feature of the Real-View Development suite. It appears that a function that is declared as weak is replaced with a NOP regardless of whether the function actually exists in the image. My original understanding of this feature was that the weakly declared function would not be replaced with a NOP unless it was unresolved at the link stage.
Is there a linker option available to tell the linker to use a weakly defined function which has been compiled and should actually exist in the image?
Thanks in advance.
R.
0
Quote