Don't use dlopen() for libebl modules
authorOmar Sandoval <osandov@fb.com>
Mon, 26 Aug 2019 17:51:46 +0000 (10:51 -0700)
committerMark Wielaard <mark@klomp.org>
Thu, 29 Aug 2019 11:30:30 +0000 (13:30 +0200)
commit4f937e24dc7ad1820fc7c99a6dd6422657f14666
treee7f08c104a0c679eb49b1071fee6e35eda38a993
parentab415cea199547ee06c50aa82eebe9c58307576f
Don't use dlopen() for libebl modules

Currently, architecture-specific code for libebl exists in separate
libebl_$ARCH.so libraries which libebl loads with dlopen() at runtime.
This makes it impossible to have standalone, statically-linked binaries
which use libdwfl if they depend on any architecture-specific
functionality. Additionally, when these libraries cannot be found, the
failure modes are non-obvious. So, let's get rid of libebl_$arch.so and
move it all into libdw.so/libdw.a, which simplifies things considerably.

Signed-off-by: Omar Sandoval <osandov@fb.com>
18 files changed:
ChangeLog
Makefile.am
backends/ChangeLog
backends/Makefile.am
configure.ac
libdw/ChangeLog
libdw/Makefile.am
libebl/ChangeLog
libebl/Makefile.am
libebl/eblclosebackend.c
libebl/eblopenbackend.c
libebl/libebl.h
libebl/libeblP.h
src/ChangeLog
src/Makefile.am
tests/ChangeLog
tests/Makefile.am
tests/test-subr.sh