[lkml]   [2021]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v5 02/15] objtool: Add ASM_STACK_FRAME_NON_STANDARD
On Wed, Oct 13, 2021 at 11:16:45AM -0700, Sami Tolvanen wrote:
> To use the STACK_FRAME_NON_STANDARD macro for a static symbol
> defined in inline assembly, we need a C declaration that implies
> global visibility. This type mismatch confuses the compiler with
> CONFIG_CFI_CLANG. This change adds an inline assembly version of
> the macro to avoid the issue.
> Signed-off-by: Sami Tolvanen <>

Reviewed-by: Kees Cook <>

Kees Cook

 \ /
  Last update: 2021-10-13 21:00    [W:0.242 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site