title: Huge output binary file produced
body: <p>I am developing small hello world app for Freescale iMX6 board, that will run from On-chip RAM. I am able to run the complete code from OCRAM but if I modify the linker script to generate a data section in external DDR ram's memory space, the output binary file suddenly increases in size from 114 KB to 259 MB. It works just fine if that section is created in OCRAM. It is surely related to linking but I cannot find the reason and how to avoid it. Below are selected portions from the linker script:</p>
  
  <pre><code>`MEMORY
  {
      OCRAM (rwx) : ORIGIN = 0x00900000, LENGTH = 256K
      DDR (rwx)   : ORIGIN = 0x10000000, LENGTH = 2048M
  }`
  </code></pre>
  
  <p>.<br>
  .<br>
  .<br>
      <code>.ex_ram (ORIGIN(DDR)) :
  {
      . = . + 0x10;
  } &gt; DDR</code></p>
  
  <p>Looks like something related to huge gap between the OCRAM and DDR ram address space to me, but can't rectify it!</p>