libexecinfo(3): Internalize libelf in symtab.c.
authorzrj <rimvydas.jasinskas@gmail.com>
Fri, 20 Dec 2019 09:21:44 +0000 (11:21 +0200)
committerzrj <rimvydas.jasinskas@gmail.com>
Sun, 22 Dec 2019 02:54:31 +0000 (04:54 +0200)
commit77bd33e17033047707557baf11c4799f1d4a3110
tree68ffdc7311fb110c4e22fbde3ef25787764f3bb8
parentf9bf14a0bb66d4b91fe651d8fabbcb63dd4bc36e
libexecinfo(3): Internalize libelf in symtab.c.

 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).

Reported-by: Romick@users
lib/libexecinfo/Makefile
lib/libexecinfo/private_libelf.h [new file with mode: 0644]
lib/libexecinfo/symtab.c