diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-04-12 13:40:54 -0700 |
---|---|---|
committer | Chih-hung Hsieh <chh@google.com> | 2018-04-16 17:44:58 +0000 |
commit | d6b56c921fc88179302a402475d9a41deeaef3f0 (patch) | |
tree | e0e72ca8408a11815aa1d0b40cdb775024a41359 /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 48227e66026724f9a94d9ff9cdef0aacae75b3a9 (diff) |
allow_undefined_symbols to link libelf-tls-library
* Since Android does not have __tls_get_addr yet,
-fno-emulated-tls is only a test of compiler.
Lld is correct to reject this at link time.
But if the purpose of this test is to check at run-time,
allow_undefined-symbols is the trick to get the linked library.
Bug: http://b/74361956
Test: build and compare linked file
Change-Id: Ibcdc8b50aeeaec9d7d308b66df2a6997ce3c1a4f
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions