Files
build/core
Ryan Prichard acf8b0ff00 Stop linking libdl.a into static bins
libdl.a has a no-op dlopen, which breaks static libraries that need a real
dlopen. Instead of automatically linking libdl.a into static executables,
make it optional.

Until recently, the libunwind_llvm.a unwinder, used on arm32, needed the
no-op dladdr, but it's now built using -D_LIBUNWIND_USE_DLADDR=0.

The HWASan run-time uses dlsym and dladdr, so add a libdl dependency for
HWASan-built static binaries. We could also remove the dependency from
libclang_rt.hwasan_static-*.a, but this is also easy to do.

Bug: http://b/141485154
Test: bionic unit tests, device boots, verify that static and dynamic
   executables can throw/catch an exception
Test: verify that a static executable using dlopen doesn't link (unless it
   adds an explicit dependency on libdl)

Change-Id: Id26741f79dca50256a2dc23453af3026a6c88dca
2019-10-24 18:15:05 -07:00
..
2019-09-06 15:19:59 -07:00
2019-09-25 10:33:58 +09:00
2019-09-06 15:19:59 -07:00
2018-06-21 10:12:23 -07:00
2018-10-20 16:59:41 -07:00
2019-10-08 10:22:13 +00:00
2019-09-18 16:23:04 +00:00
2019-01-11 17:07:58 +09:00
2019-05-20 16:58:26 -07:00
2019-01-14 12:56:07 -08:00
2019-09-05 14:42:14 -07:00
2018-08-29 17:33:29 +00:00
2018-08-08 18:59:44 +08:00
2019-09-18 16:23:04 +00:00
2018-11-05 10:57:24 -08:00
2019-09-18 16:23:04 +00:00
2019-07-29 14:27:04 -07:00