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: symdefs generation

Note: This was originally posted on 19th November 2008 at http://forums.arm.com

Hi all,

I use ARM linker, ADS1.2 [Build 848].
I found some strangeness with generation of the Symbol Definitions file.
So, what I do, step by step (with CodeWarrior):

1. Project->Remove Object Code
2. Make
The symdefs file is created, and 89 global symbols are written to the symdefs file.
After that I repeat:
3. Project->Remove Object Code (symdefs file is not deleted automatically).
4. Make
The symdefs file is rebuilt, but only 67 global symbols have been remained in the symdefs file.

As I change nothing, just rebuild the project, I expect that the number of global symbols must not be changed, and as a result the symdefs file should be identical to the previously created.

Please, could somebody explain me where I am wrong? And, what do I have to do to avoid this problem?

Thank you,
Alexandre.
Parents
  • Note: This was originally posted on 27th November 2008 at http://forums.arm.com

    Hi Aleph1024,
    do you have --feedback option enabled for your linker?
    ref : RVCT linker and Utilities guide , chapter - 3.3.5. Linker feedback
    (--feedback is used to strip down the unused symbols during linking, during 'second build'.)

    and if the problem still persists, just try compiling with no optimization options(remove the inlining options too) and see whether the symdef file generated are still the holding good every time. But anyways, plz post the result. its interesting to know the answer.
    good luck.  :)
    cheers
    Aj
Reply
  • Note: This was originally posted on 27th November 2008 at http://forums.arm.com

    Hi Aleph1024,
    do you have --feedback option enabled for your linker?
    ref : RVCT linker and Utilities guide , chapter - 3.3.5. Linker feedback
    (--feedback is used to strip down the unused symbols during linking, during 'second build'.)

    and if the problem still persists, just try compiling with no optimization options(remove the inlining options too) and see whether the symdef file generated are still the holding good every time. But anyways, plz post the result. its interesting to know the answer.
    good luck.  :)
    cheers
    Aj
Children
No data