DSPRelated.com
Forums

need help on elf

Started by revenant75 June 9, 2002
Hello,
I'm having problems understanding the "linker.cmd" file.
I know what ".text" ".bss" ".data" mean but how did they
get "fp_engine.text", "rtlib.text", "fp_state.data", "rtlib.bss.lo"
etc. ???
How was these sections obtained from the c program??
If I want to arrange the memory sections, how am I to know which of
these section will result after compiling the c program file??
If it is possible, please direct me to a book or webpage where I can
get a more detailed info on this.
Thank You



When you write your program in assembly, you can give names to these sections. For example, the following syntax is used in the V22 library of the SDK:

 

SECTION rtlib

 

This will place all of the code into rtlib.text and data into rtlib.data and into rtlib.bss

 

If you are not familiar with SECTION directive, refer to DSP56800 Assembly manual that is released as part of the CodeWarrior for DSP56800 tools (do a global search for SECTION).

 

Leonard

 

 

-----Original Message-----
From: revenant75 [mailto:r...@yahoo.com]
Sent: Sunday, June 09, 2002 3:37 PM
To: m...@yahoogroups.com
Subject: [motoroladsp] need help on elf

 

Hello,
I'm having problems understanding the "linker.cmd" file.
I know what ".text" ".bss" ".data" mean but how did they
get "fp_engine.text", "rtlib.text", "fp_state.data", "rtlib.bss.lo"
etc. ???
How was these sections obtained from the c program??
If I want to arrange the memory sections, how am I to know which of
these section will result after compiling the c program file??
If it is possible, please direct me to a book or webpage where I can
get a more detailed info on this.
Thank You

_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  m...@yahoogroups.com

To Post:  m...@yahoogroups.com

To Leave: m...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3


">Yahoo! Terms of Service.