
Dear Jon Smirl,
In message 9e4733910903261350v21bf16c5l5729927048e0df3b@mail.gmail.com you wrote:
I'm not sure how you calculate sizes, or how you link your applications. Note that classical standalone application do not link against any libraries, so they are really small:
The *.bin files are ending up at 60-75K. Adding this to the linker
Yes, but that's mostly empty space, due to the alignment requirments in the linker script.
script fixes it. .gcc_except_table : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) }
Approximately 60KB of zeros are getting inserted into the *.bin files.
But this is just a "gap", it e. it is not used space; if you have bigger program code, or if you change your alignment requirements, you will see different (much smaller) values.
Best regards,
Wolfgang Denk