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

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