libexecinfo(3): Internalize libelf in symtab.c

Operating Systems / DragonFlyBSD - zrj [gmail.com] - 22 December 2019 02:54 UTC

Previous variant had symbol conflicts against ports libelf library. Use custom, cut down variant that provides basic set needed for libexecinfo symtab.c, ensure symbols are static and mangled. The libelf (as provided in contrib) is not very suitable for generic implementation of backtrace(3) function family.

This is a temporary workaround to unbreak specific ports that are link against libelf and libexecinfo (including static compilations).

77bd33e170 libexecinfo(3): Internalize libelf in symtab.c.
lib/libexecinfo/Makefile | 2 +
lib/libexecinfo/private_libelf.h | 3542 ++++++++++++++++++++++++++++++++++++++
lib/libexecinfo/symtab.c | 4 +
3 files changed, 3548 insertions(+)

Upstream: gitweb.dragonflybsd.org


  • Share