This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AW: objcopy --strip-symbol



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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]