diff options
author | Collin Fijalkovich <cfijalkovich@google.com> | 2021-04-29 11:31:50 -0700 |
---|---|---|
committer | Collin Fijalkovich <cfijalkovich@google.com> | 2021-04-29 11:32:43 -0700 |
commit | c9521e08ce3f4b24bc19146b7b689b44dcce4c6a (patch) | |
tree | 242248385b978dbf128126feb6a3b36d093109f1 /libc/malloc_debug/malloc_debug.cpp | |
parent | c551fc7e7a154847e7ca1d7dfbabd0b03028e4f3 (diff) |
Add cc_defaults for hugepage alignment of shared libraries
Introduces a cc_defaults category hugepage_aligned that passes the
requisite linker flags to produce shared object files with 2MB-aligned
sections. This enables supporting platforms to back the text segments of
these libraries with hugepages.
Bug: 158135888
Test: Built and confirmed ELF layout
Change-Id: I5c8ce35d8f8bf6647ec19d58398740bd494cc89c
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions