android_bionic/linker
Ryan Prichard 92b3e1b37b Cosmetic changes to linker allocator and config
Make the num_free_blocks calculation clearer. There are
sizeof(page->bytes) bytes available for blocks, which is equal to
(kAllocateSize - 16). The previous calculation overestimates the amount
of space by 8 or 12 bytes, but that doesn't change the result because
both kAllocateSize and block_size_ are multiples of 16.

Bug: none
Test: boot device, bionic unit tests
Change-Id: Ia880cd5abc2a7bb4e9e6a8c0441d985f4df8fdc4
2019-03-12 01:11:24 +00:00
..
arch Implement arm64 TLSDESC 2019-01-29 08:33:09 +00:00
Android.bp Merge "Switch linker tests to Android.bp." 2019-02-16 01:11:56 +00:00
MODULE_LICENSE_BSD
dlfcn.cpp Move dlerror out of a TLS slot and into a pthread_internal_t member. 2018-12-06 05:19:57 +00:00
ld.config.format.md
ld_android.cpp Expose libc_shared_globals to libc.so with symbol 2018-11-28 14:26:14 -08:00
linked_list.h Clean up bionic_macros.h a bit. 2018-10-25 11:00:00 -07:00
linked_list_test.cpp Switch linker tests to Android.bp. 2019-02-15 14:40:08 -08:00
linker.arm.map Expose libc_shared_globals to libc.so with symbol 2018-11-28 14:26:14 -08:00
linker.cpp Allow building the linker with -O0 2019-03-11 17:53:21 -07:00
linker.generic.map Expose libc_shared_globals to libc.so with symbol 2018-11-28 14:26:14 -08:00
linker.h linker: allow using reserved space for multiple libraries. 2019-02-20 17:29:36 -05:00
linker_block_allocator.cpp Cosmetic changes to linker allocator and config 2019-03-12 01:11:24 +00:00
linker_block_allocator.h Purge linker block allocators before leaving linker 2019-01-30 22:13:13 -08:00
linker_block_allocator_test.cpp Switch linker tests to Android.bp. 2019-02-15 14:40:08 -08:00
linker_cfi.cpp Add PR_SET_VMA and PR_SET_VMA_ANON_NAME to <sys/prctl.h>. 2018-08-22 10:36:23 -07:00
linker_cfi.h
linker_common_types.h Clean up bionic_macros.h a bit. 2018-10-25 11:00:00 -07:00
linker_config.cpp Cosmetic changes to linker allocator and config 2019-03-12 01:11:24 +00:00
linker_config.h Move API levels from `uint32_t` to `int`. 2018-11-13 21:25:07 -08:00
linker_config_test.cpp Switch linker tests to Android.bp. 2019-02-15 14:40:08 -08:00
linker_debug.h libasync_safe: stop clobbering other folks' identifiers. 2019-02-14 14:23:13 -08:00
linker_dlwarning.cpp
linker_dlwarning.h
linker_exidx_static.c
linker_gdb_support.cpp
linker_gdb_support.h
linker_globals.cpp
linker_globals.h
linker_libc_support.c
linker_libcxx_support.cpp
linker_logger.cpp linker: only generate log messages when logging is enabled 2019-01-17 14:24:14 -08:00
linker_logger.h linker: only generate log messages when logging is enabled 2019-01-17 14:24:14 -08:00
linker_main.cpp Merge "linker: allow using reserved space for multiple libraries." 2019-02-21 16:06:17 +00:00
linker_main.h Allow invoking the linker on an executable. 2018-10-10 14:31:06 -07:00
linker_mapped_file_fragment.cpp
linker_mapped_file_fragment.h Clean up bionic_macros.h a bit. 2018-10-25 11:00:00 -07:00
linker_memory.cpp Move the linker allocator into libc 2019-01-25 15:31:35 -08:00
linker_mips.cpp
linker_namespaces.cpp
linker_namespaces.h
linker_phdr.cpp linker: allow using reserved space for multiple libraries. 2019-02-20 17:29:36 -05:00
linker_phdr.h linker: allow using reserved space for multiple libraries. 2019-02-20 17:29:36 -05:00
linker_reloc_iterators.h
linker_relocs.h Add generic TLS linker reloc macros 2019-01-02 14:36:26 -08:00
linker_sdk_versions.cpp Move API levels from `uint32_t` to `int`. 2018-11-13 21:25:07 -08:00
linker_sleb128.h
linker_sleb128_test.cpp Switch linker tests to Android.bp. 2019-02-15 14:40:08 -08:00
linker_soinfo.cpp support LIB in runpath 2019-01-24 17:00:37 +09:00
linker_soinfo.h linker: allow using reserved space for multiple libraries. 2019-02-20 17:29:36 -05:00
linker_test_globals.cpp Switch linker tests to Android.bp. 2019-02-15 14:40:08 -08:00
linker_tls.cpp libasync_safe: stop clobbering other folks' identifiers. 2019-02-14 14:23:13 -08:00
linker_tls.h Implement arm64 TLSDESC 2019-01-29 08:33:09 +00:00
linker_utils.cpp Merge "linker: changes to init work arounds" 2018-11-29 16:50:37 +00:00
linker_utils.h linker: changes to init work arounds 2018-11-08 21:50:19 +00:00
linker_utils_test.cpp Switch linker tests to Android.bp. 2019-02-15 14:40:08 -08:00
linker_wrapper.cpp Rework the linker_wrapper to work with lld 2018-10-22 22:52:25 +00:00
rt.cpp