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 25th November 2008 at http://forums.arm.com

    I'm afraid that I'm not very familiar with ADS 1.2, however, [url="http://infocenter.arm.com/help/topic/com.arm.doc.dui0151a/ch04s02s02.html"]this page[/url] may explain what you're seeing:

    Does that help?
    Jacob

    may be the 22 symbols which got removed were not used at all in the final binary?
    In the link which Jacob has given, it asks to remove the unused symbols manually. we write symdefs manually and feed it to the linker. I dont know about ADS. sorry. but may be it removed automatically?(seems like!)
    cheers
    Aj
Reply
  • Note: This was originally posted on 25th November 2008 at http://forums.arm.com

    I'm afraid that I'm not very familiar with ADS 1.2, however, [url="http://infocenter.arm.com/help/topic/com.arm.doc.dui0151a/ch04s02s02.html"]this page[/url] may explain what you're seeing:

    Does that help?
    Jacob

    may be the 22 symbols which got removed were not used at all in the final binary?
    In the link which Jacob has given, it asks to remove the unused symbols manually. we write symdefs manually and feed it to the linker. I dont know about ADS. sorry. but may be it removed automatically?(seems like!)
    cheers
    Aj
Children
No data