This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: [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.

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