summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2019-01-24 13:47:13 -0800
committerRyan Prichard <rprichard@google.com>2019-01-25 15:31:35 -0800
commit083d850b30c5eb29c16500bca934d7f6682e4aaa (patch)
tree5138d02782bff5e30af0c97cf114000674ca8771 /libc/malloc_hooks/malloc_hooks.cpp
parent52165b34b9c36eae4e15c47c25ab3c51b2029592 (diff)
Move the linker allocator into libc
Rename LinkerMemoryAllocator -> BionicAllocator Rename LinkerSmallObjectAllocator -> BionicSmallObjectAllocator libc and the linker need to share an instance of the allocator for allocating and freeing dynamic ELF TLS memory (DTVs and segments). The linker also continues to use this allocator. Bug: http://b/78026329 Test: /data/nativetest/bionic-unit-tests-static Test: /data/nativetest64/bionic-unit-tests-static Test: /data/nativetest/linker-unit-tests/linker-unit-tests32 Test: /data/nativetest64/linker-unit-tests/linker-unit-tests64 Change-Id: I2da037006ddf8041a75f3eba2071a8fcdcc223ce
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions