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 |
|
need help on elf
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-----
Hello, |