Hi, 

i thought that only used code gets linked but i added some MMC/SDC
code to a project and although that code is unused now and has not ISRs 
and gets compiled+linked without a warning it gets linked:

without MMC/SDC code:
 msp430-size  aout.elf
   text    data     bss     dec     hex filename
  20114      30     568   20712    50e8 aout.elf

with MMC/SDC code (only linked, not used):
   text    data     bss     dec     hex filename
  22044      36    1596   23676    5c7c aout.elf

How can i force not linking unused code?

Regards,

Rolf


Reply via email to