I'm wanting to create a code image with the layout:
1 - Startup/Bootstrap 2 - Executable code 3 - (probable gap) 4 - Fixed location dispatch table 5 - (probably gap) 6 - Fixed location tables 7 - (probable gap) 8 - Fixed location text
I've got the scatter file doing all of this - Except for one thing.
The initial RW and ZI Load regions always occur following the image - And are copied/decompressed to their required location during the scatter load.
The documentation suggests that this is where it is always placed, but I don't really want it there.
Is there any way to force the linker to place these initial RW and ZI load regions at a specific location?
Sorry, but I don't think your understanding what I am saying.
I know how to locate the RW and ZI sections - It is quite straightforward.
But ... The initialised data within the RW section is copied to there by the scatter loader (just prior to entry of 'main') and it is the section that I want to locate.