aboutsummaryrefslogtreecommitdiff
path: root/linker/linker_libcxx_support.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to the new libc++/libc++abi update.Dan Albert2018-01-081-0/+4
| | | | | | | | | | | | | 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
* Implement __gnu_Unwind_Find_exidx/__cxa_type_matchdimitry2017-08-291-0/+4
| | | | | | | | | | | | 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
* Move libc_log code into libasync_safe.Christopher Ferris2017-05-031-2/+2
| | | | | | | | | | | | | | | | | | 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
* Unify linker files under one license (BSD)Dimitry Ivanov2017-02-151-10/+22
| | | | | | | | | 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
* Remove dependency on libc.a from the linkerDimitry Ivanov2017-01-261-0/+21
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