This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Strip on mips
- From: Kurt Roeckx <kurt at roeckx dot be>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Sat, 11 Aug 2012 13:21:54 +0200
- Subject: Re: Strip on mips
On Thu, Mar 22, 2012 at 01:15:22PM -0700, Roland McGrath wrote:
>
> It's pretty straightforward to add new ebl hooks
> (libebl/ebl-hooks.h, and a default implementation in
> libebl/eblopenbackend.c). We can discuss the details here.
>
> It may make sense just to extend the existing debugscn_p hook to
> look at the shdr as well, rather than adding a separate hook.
So I've tried to do that, but then ran into problems with
ldscript.[yc]. It doesn't seem to be using anything of the
libraries.
So I've changed the prototype to use (const char *name, const
GElf_Shdr *shdr). Do you think it makes sense that I pass a
NULL as shdr in that case and only check the name in case it's
NULL?
Kurt