This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [patch] Add printing of .gdb_index section to readelf
- From: Ulrich Drepper <drepper at gmail dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 15 Apr 2011 14:08:13 -0400
- Subject: Re: [patch] Add printing of .gdb_index section to readelf
On Fri, Apr 15, 2011 at 12:18, Tom Tromey <tromey@redhat.com> wrote:
> A more "end-to-end" solution would be nice. What I mean by this is that
> right now the index generation is a separate step, and it involves
> running GDB, so for daily development it is basically not worth doing.
> It is only worthwhile in the RPM case. If instead the compiler emitting
> indices that were then somehow more usable (e.g., linker makes the hash
> table), it would be better. AFAIK nobody is working on this.
>
> We've also discussed proposing this as a DWARF standard. However, DWARF
> is hard to work with, and writing this up as a standard would be a pain,
> mostly due to having to explain the details of name canonicalization.
> I suppose we could revisit this.
The linker is IMO the right place.
What this means it is far too early to add any output routines anywhere.