Re: [PATCH 3/3] objtool: optimize add_dead_ends for split sections
From: Kees Cook
Date: Tue Apr 21 2020 - 16:17:36 EST
On Tue, Apr 21, 2020 at 03:13:05PM -0500, Josh Poimboeuf wrote:
> BTW, just curious, what's your use case for -ffunction-sections? Is it
> for fgkaslr?
Both Sami's LTO+CFI work[1] and Kristen's FGKASLR series use it.
-Kees
[1] https://github.com/samitolvanen/linux/commits/clang-cfi
https://lwn.net/Articles/810077/
--
Kees Cook