Question:
How to let the linker to do a continuous placement in output section?
Answer:
In a SECTIONS command in a LDF, the FORCE_CONTIGUITY command forces contiguous placement of the output section. The NO FORCE_CONTIGUITY command suppresses a linker warning about non-contiguous placement in the output section.
Where necessary, the FORCE_CONTIGUITY LDF command can be used to tell the linker not to split up an output section, at the cost of possibly less efficient memory use.