summaryrefslogtreecommitdiff
path: root/linker/linker_libcxx_support.cpp
AgeCommit message (Collapse)Author
2018-01-08Adapt to the new libc++/libc++abi update.Dan Albert
C++17 removed a handful of things that are used in the libclang headers, which are used by the versioner. Enable the flag that re-exposes these until we have a C++17 compatible libclang. Add a stub posix_memalign to the linker. libc++abi uses posix_memalign when allocating exceptions, which the linker does not use. Test: make checkbuild Bug: None Change-Id: I32f9d0591ef99a610f27efed90a5c9fd150f0d3e
2017-08-29Implement __gnu_Unwind_Find_exidx/__cxa_type_matchdimitry
Leaving these unimplemented causes linker to have 2 weak undefined symbols which in turn results in 3 unwanted relocations for arm arch. Implementing them removes unwanted relocations from resulted dynamic object Test: make && readelf --dyn-sym linker Test: linker-unit-tests && bionic-unit-tests --gtest_filter=dl*:Dl* Test: flash and boot angler Change-Id: I10120271936c770659239898aaf852d31c5483c2
2017-05-03Move libc_log code into libasync_safe.Christopher Ferris
This library is used by a number of different libraries in the system. Make it easy for platform libraries to use this library and create an actual exported include file. Change the names of the functions to reflect the new name of the library. Run clang_format on the async_safe_log.cpp file since the formatting is all over the place. Bug: 31919199 Test: Compiled for angler/bullhead, and booted. Test: Ran bionic unit tests. Test: Ran the malloc debug tests. Change-Id: I8071bf690c17b0ea3bc8dc5749cdd5b6ad58478a
2017-02-15Unify linker files under one license (BSD)Dimitry Ivanov
Historically we had part of the linker licensed under BSD and another part under Apache 2 license. This commit makes all the linker code licensed under BSD license. Test: m Change-Id: I11b8163ae75966b5768d3fe992679de376106515
2017-01-26Remove dependency on libc.a from the linkerDimitry Ivanov
Provide stub for unused but needed symbol __find_icu_symbol which is not included to libc_nomalloc.a. Test: mm and boot Change-Id: I57ca09c990556d1d401e2f4a75bc49b61b4cd85d