[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ask for helping about LD linker

From: Nick Clifton
Subject: Re: Ask for helping about LD linker
Date: Mon, 02 Jun 2008 07:54:06 +0100
User-agent: Thunderbird (X11/20080213)

Hi Jian,

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]