Thread (212 messages) 212 messages, 19 authors, 2020-09-10

Re: [PATCH v2 13/28] kbuild: lto: merge module sections

From: Kees Cook <hidden>
Date: 2020-09-03 22:23:44
Also in: linux-arch, linux-kbuild, linux-pci, lkml

On Thu, Sep 03, 2020 at 01:30:38PM -0700, Sami Tolvanen wrote:
LLD always splits sections with LTO, which increases module sizes. This
change adds a linker script that merges the split sections in the final
module.

Suggested-by: Nick Desaulniers <redacted>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
We'll likely need to come back around to this for FGKASLR (to keep the
.text.* sections separated), but that's no different than the existing
concerns for FGKASLR on the main kernel.

Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help