Custom link script which fixes the truncation of some symbols.
Refactoring of rules and new flags added