Hi, I am working on a code which used the 6.1 version of 2181 ADSP. There the equivalent of ldf file was named a sys file. I have the following situation : Suppose I have a .module(.section in latest version) which is assigned to PM RAM. But code inside the .module has a variable declared which is for the data memory(.var/dm). What does the linker do ? Does it place this variable in the data memory or the program memory ? If it is place in the data memory than does it go to the location just next to the previouly filled data memory location or the linker assign some other location in the data memory for this variable? I request somebody from this group to answer the Questions. Sriram |
|
Question on 2181 Linker regarding Legacy
Started by ●September 13, 2001
Reply by ●September 18, 20012001-09-18
Sriram, The variable defined as .var/dm goes to dm memory even if it is defined in a .module. By default also .var goes to dm memory. Generally, linker places just next to the previouly defined variable. tarakesh. --- wrote: > > Hi, > I am working on a code which used the 6.1 > version of 2181 > ADSP. There the equivalent of ldf file was named a > sys file. > > I have the following situation : > Suppose I have a .module(.section in latest > version) which > is assigned to PM RAM. But code inside the .module > has a variable > declared which is for the data memory(.var/dm). What > does the linker > do ? Does it place this variable in the data memory > or the program > memory ? If it is place in the data memory than does > it go to the > location just next to the previouly filled data > memory location or > the linker assign some other location in the data > memory for this > variable? > > I request somebody from this group to > answer the Questions. > > Sriram > > _____________________________________ > 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: Send an email to > To Post: Send an email to > > To Leave: Send an email to > Archives: http://groups.yahoo.com/group/adsp > > Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/ __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ |