Commit graph

1 commit

Author SHA1 Message Date
Sami Tolvanen
0d81b359a7
ANDROID: kbuild: ensure __cfi_check is correctly aligned
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.

Bug: 148458318
Change-Id: I85ea31fa851bc23988f649b021b3ac7e9d9dcb38
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
2023-05-14 14:32:09 +03:00
Renamed from scripts/module-lto.lds (Browse further)