This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: known-elf.awk/known-elf.h
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 30 Mar 2015 09:40:59 +0200
- Subject: Re: known-elf.awk/known-elf.h
On Sat, 2015-03-28 at 23:41 +0100, Mark Wielaard wrote:
> I do like the idea. But there is one extra issue if we want this to be
> an installed header like known-dwarf.h now is (and I think we do).
> It is generated against libelf/elf.h which is our local copy of elf.h
> from glibc. We do that to make sure we have the latest version with
> all relevant constants. But that means it might be different from the
> version of elf.h on the installed system. So to make it useful we
> also need to install our elf.h as elfutils/elf.h. I think that is fine
> but it is also a little weird since it really is glibc's elf.h.
And I just realized libelf.h includes elf.h. So mixing
libelf/known-elf.h with libelf.h would be slightly tricky.