Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/12/07 08:10
Read: times


 
#148093 - Not exactly true
Responding to: ???'s previous message
Esko Ilola said:
However, the linker usually does not rearrange objects inside a given segment after these have first loaded. They usually stay in their original load order.

There are controls to guarantee that objects remain in order, if it's important to you.

In 'C', you could also group your objects into a 'struct'

Or just ensure that there's only one "object" in the segment - then there's no chance of it being re-ordered!

Or, of course, do it in assembler!

List of 11 messages in thread
TopicAuthorDate
How to initialize Absolute variables in code mem?            01/01/70 00:00      
   The answer is here            01/01/70 00:00      
      Answer explained:            01/01/70 00:00      
         this is something Keil should implement            01/01/70 00:00      
            why do you need this?            01/01/70 00:00      
               Example            01/01/70 00:00      
                  OK, I accept            01/01/70 00:00      
   Why?            01/01/70 00:00      
   I would fall back to assy here            01/01/70 00:00      
      Not exactly true            01/01/70 00:00      
         Linker segments            01/01/70 00:00      

Back to Subject List