[PATCH] debuginfod: export DEBUGINFOD_SONAME macro in debuginfod.h

Mark Wielaard mark@klomp.org
Sun Dec 6 12:06:42 GMT 2020


Hi Dmitry,

On Mon, 2020-11-30 at 09:00 +0000, Dmitry V. Levin wrote:
> Add DEBUGINFOD_SONAME macro to API for use by those of libdebuginfod
> clients that would like to dlopen the library in the same way as
> __libdwfl_debuginfod_init does.

I can see how this is useful, but shouldn't libdwfl/debuginfod-client.c 
then also use this method/new constants?

Don't we need both versioned and versionless names (at least dwfl tries
the versioned one first, then falls back to the unversioned one).

It would be nice to see documentation in
doc/debuginfod_find_debuginfo.3

Finally, I am actually using the Makefile VERSION variable in a
downstream (DTS) to make sure the so name of all libraries is different
from the system one. This is just a minor issue though, and I should
probably upstream a tweak to do this upstream so others can also more
easily use this.

Cheers,

Mark


More information about the Elfutils-devel mailing list