|Subject:||Re: Ask for helping about LD linker|
|Date:||Mon, 02 Jun 2008 07:54:06 +0100|
|User-agent:||Thunderbird 188.8.131.52 (X11/20080213)|
Excuse me,I don't know how to remove unused functions and variable when linking ELF.
Compile your program with --function-sections. Link your program with -Wl,--gc-sections.
Note: This feature is not implemented for all targets. If it does not work for you then it may be that the target you are working with is one of the unsupported targets.
|[Prev in Thread]||Current Thread||[Next in Thread]|