Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ANDROID: module: cfi: ensure __cfi_check alignment
On modules with no executable code, LLVM generates a __cfi_check stub, but won't align it to page size as expected. This change ensures the function is at the beginning of the .text section and correctly aligned for the CFI shadow. Also discard the .eh_frame section, which LLD may emit with CFI_CLANG. Bug: 145210207 Change-Id: I08923febb549aa64454282cc864ac80dadd717b9 Link: https://bugs.llvm.org/show_bug.cgi?id=46293 Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
- Loading branch information