[patch] Add printing of .gdb_index section to readelf

Ulrich Drepper drepper at gmail.com
Fri Apr 15 18:08:13 UTC 2011


On Fri, Apr 15, 2011 at 12:18, Tom Tromey <tromey at 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.


More information about the elfutils-devel mailing list