title: Region ram overflowed and section .text will not fit region ram
body: <p>I'm trying to compile a bare-metal app with <code>GCC compilator</code> (Standart C). I use <code>Cyclone V SoC</code> with <code>Cortex-A9</code> processor. <code>Eclipse DS-5</code>. I get an errors - <code>"Region ram overflowed by 295376 bytes"</code> and <code>"section .text will not fit region ram"</code>. <p>I think that the problem isn't in linker script but in something else. I see messages that compiler tries to add all my <code>.c</code> files in project into one <code>.axf</code> file even if I include none of them in my main <code>.c</code> file (where I write the program) When I delete some unused <code>.c</code> files from project it says <code>"Region ram overflowed by 275433 bytes"</code> (different overflow size). What should I do to get rid of this mistake?</p>