AnsweredAssumed Answered

Keep unused module during link

Question asked by mastermind3001 on Feb 6, 2012
Latest reply on Feb 8, 2012 by mastermind3001

Is there any way to tell the Blackfin linker to keep a whole "module", as opposed to trying to get it to do that by referencing something that is inside of it or is a part of it (such as a function, a global variable, or its v-table)? This is for a debug build -- unused object elimination and optimizations are all off.


I found this discussion (, but I haven't been able to get my situation to work.


The reason we need to go through this is that our project uses a plug-in architecture, where static instances of some components plug themselves into a framework we have when they are constructed, during C++ static initialization, but otherwise these components are not directly referenced anywhere.