compiler/sim: Add --gc-sections option to the linker
compiler/sim: Add --gc-sections option to the linker

This patch make sure that image does not contain
not used functions and data as it is done for other targets

mlaz/mynewt-core,mlaz/mynewt-core,mlaz/mynewt-core,mlaz/mynewt-core,mlaz/mynewt-core