The ORG directive is an old mechanism for setting the base address of a code or data area, supported in SDT 2.10 and earlier toolkits. However, this is no longer an appropriate mechanism because its use conflicts with the scatter loading mechanism supported by the linker. SDT 2.11 Reference Guide, p.2-8 advised that the use of ORG should be avoided. All support for ORG was removed in SDT 2.50 - see SDT 2.50 Reference Guide, p.1-19. The recommended way to specify the address of code and data areas in memory is to use the linker's 'scatterloading' mechanism. For a description of scatterloading: - SDT 2.50/2.51 users should refer to SDT 2.50 Reference Guide, Chapter 6, 'Linker' and SDT 2.50 User Guide, Chapter 10, 'Writing Code for ROM'.
- SDT 2.11/2.11a users should refer to the SDT 2.11 User Guide, section 14, 'Placing Code and Data in Memory' and Application Note 48, Scatter Loading, in the ARM Application Notes.
|