summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2019-11-12 14:26:21 -0800
committerPeter Collingbourne <pcc@google.com>2019-11-12 14:26:23 -0800
commitb061e77748257c598cc63bd290c7de8c98938362 (patch)
tree66aa9e18199001fcde07a25f484d343997703eff /libc/malloc_debug/malloc_debug.cpp
parentafe44cc483ea5a55822123f3c61229045fb3e81f (diff)
Link libgcc_stripped into libc.so and libm.so with --whole-archive on ARM.
This library was previously being statically linked into both libraries as a consequence of the relocation to __aeabi_unwind_cpp_prX present in most object files. However, after LLVM commit 1549b469, we no longer emit these relocations on Android, so we need to link the library explicitly with --whole-archive. The intent is to eventually stop linking libgcc into these libraries altogether, but for now, we need to keep linking them in order to avoid breaking the build. Change-Id: I275109527b7cbd6c4247b3fe348975d720626273
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions