Add libexecinfo to lib directory, but leave it unhooked
authorJohn Marino <draco@marino.st>
Tue, 3 Nov 2015 00:07:57 +0000 (01:07 +0100)
committerJohn Marino <draco@marino.st>
Tue, 3 Nov 2015 00:07:57 +0000 (01:07 +0100)
commit999f82af142ace93d4ab5a849504a5d3b6892d2d
treec5e5bab7c91ca6116568ed586c54edb679d9027e
parentf63db962328eb830f6d7ef5aa307b11050ced694
Add libexecinfo to lib directory, but leave it unhooked

The execinfo library is used to fill in the backtrace of the currently
executing thread.  It originated in Linux and has found its way into a
lot of vendor software.  NetBSD created a BSD-licensed implementation
which FreeBSD imported a while back.

The execinfo library has been in FreeBSD since Release 10.  FreeBSD 9
is the only release that needs libexecinfo from ports and when that
release hits EOL, DragonFly could be left unsupported if ports
maintainers assumes libexecinfo is always available and removes USES
support for it.

To avoid this situation, bring libexecinfo into DragonFly's base for
the purpose of supporting ports.  It requires libelf which has also
been brought in as an internal library.
lib/libexecinfo/Makefile [new file with mode: 0644]
lib/libexecinfo/backtrace.3 [new file with mode: 0644]
lib/libexecinfo/backtrace.c [new file with mode: 0644]
lib/libexecinfo/builtin.c [new file with mode: 0644]
lib/libexecinfo/execinfo.h [new file with mode: 0644]
lib/libexecinfo/symtab.c [new file with mode: 0644]
lib/libexecinfo/symtab.h [new file with mode: 0644]
lib/libexecinfo/unwind.c [new file with mode: 0644]
lib/libexecinfo/unwind.h [new file with mode: 0644]
lib/libexecinfo/unwind_arm_ehabi_stub.c [new file with mode: 0644]