AW: objcopy --strip-symbol
Tristan Gingold
gingold@adacore.com
Tue Jul 7 09:54:00 GMT 2009
On Jul 7, 2009, at 11:50 AM, EXTERNAL Setzer Sebastian (ESE; CM-IS/
ESW4) wrote:
>>
>>> Is there a way to remove referenced symbols (like bar), which are
>>> not needed anymore because the referencing function isn't there
>>> anymore?
>>
>> The referencing function is still there, only its symbol has been
>> removed.
> Thanks, that explains a lot. So to remove foo completely, I've got
> to use -ffunction-sections and --remove-section?
Looks to be the safest and easiest way.
More information about the Binutils
mailing list