Add libexecinfo.
authormortimer <mortimer@openbsd.org>
Wed, 9 Jun 2021 19:37:43 +0000 (19:37 +0000)
committermortimer <mortimer@openbsd.org>
Wed, 9 Jun 2021 19:37:43 +0000 (19:37 +0000)
commit771fbea0148a7fe458cf2c657edb98b32659f150
tree14b9d9f2035d6a9bf37ae835eddbb1b9b6520a81
parentf4278d53ead9df587931903a00402af333779a57
Add libexecinfo.

Based on NetBSD implementation, without the libelf dependency. Architectures
which have libunwind use libunwind, and others use a stub implementation
that does nothing since __builtin methods are unreliable.

Much feedback and help from jca@.

ok kettenis@ sthen@
gnu/lib/libexecinfo/Makefile [new file with mode: 0644]
gnu/lib/libexecinfo/Symbols.map [new file with mode: 0644]
gnu/lib/libexecinfo/backtrace.3 [new file with mode: 0644]
gnu/lib/libexecinfo/backtrace.c [new file with mode: 0644]
gnu/lib/libexecinfo/builtin.c [new file with mode: 0644]
gnu/lib/libexecinfo/execinfo.h [new file with mode: 0644]
gnu/lib/libexecinfo/shlib_version [new file with mode: 0644]
gnu/lib/libexecinfo/unwind.c [new file with mode: 0644]