This is the mail archive of the
mailing list for the elfutils project.
Re: Function symbol retention after stripping
- From: David Smith <dsmith at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 07 May 2012 14:19:20 -0500
- Subject: Re: Function symbol retention after stripping
On 05/07/2012 01:51 PM, Douglas, William wrote:
> Hi all,
> I'm trying to get gbd backtraces to give function names without having
> a package's debuginfo installed. Would elfutils take a patch allowing
> strip to take an option for keeping the minimal amount of information
> needed to do this?
> I'm still trying to figure out how to do this exactly but right now I
> think I would be keeping SHT_SYMTAB and SHT_DYNSYM function symbols
> but I haven't looked at this code before and I'm still trying to
> figure out how it all comes together. Any advice would be appreciated
> if you'd be okay with this functionality in elfutils.
I can't answer for the elfutils library itself, but you might want to
look at/help out with a proposed new F18 feature called 'MiniDebugInfo',
which sounds similar to what you want to do.