]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Don't rely on dlopen for EBL backends
authorPetr Machata <pmachata@redhat.com>
Fri, 17 Aug 2012 19:21:31 +0000 (21:21 +0200)
committerMark Wielaard <mjw@redhat.com>
Tue, 20 May 2014 20:41:13 +0000 (22:41 +0200)
commita57d93f9154a40de6a5ac978164ea691fc87dbc1
treea1bf915c2b48c8f0c947691f409f5f7e83563d32
parent4cd77d68f327dae1609bd6fd2dd5c5be5f602522
Don't rely on dlopen for EBL backends

- EBL was modified to avoid dlopen and instead relies on all supported
  backends being linked in.

- backends/libebl_static_pic.a and libcpu/libcpu_static_pic.a contain
  selected backends to be linked statically together with libebl.a

- libdw/libdw_static_pic.a is a minimal subset of libdw containing symbols
  that the above two archives reference.  Binaries that don't link libdw
  but use libebl need to link in libdw_static_pic.  This only for internal
  uses, externally we only support libdw.

- Test cases that excercise EBL on unsupported platforms were disabled

Signed-off-by: Mark Wielaard <mjw@redhat.com>
backends/Makefile.am
libcpu/Makefile.am
libdw/Makefile.am
libebl/eblclosebackend.c
libebl/eblopenbackend.c
src/Makefile.am
tests/Makefile.am
tests/run-addrcfi.sh
tests/run-allregs.sh
tests/run-elflint-test.sh
tests/run-readelf-mixed-corenote.sh