Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vmlinux.lds.h: Work around Clang issue when targeting PCuABI
CHERI/Morello Clang needlessly places data in the RELRO section in the presence of capabilities. No such section is expected in linker scripts, causing issues at link-time and/or runtime. While waiting for Clang to become more conservative about its use of RELRO data, work around the issue by placing .data.rel.ro together with .rodata, which is appropriate for the kernel. CHERI-LLVM issue: CTSRD-CHERI/llvm-project#673 Signed-off-by: Kevin Brodsky <[email protected]>
- Loading branch information