Thread (50 messages) 50 messages, 6 authors, 2021-10-07

Re: [PATCH v4 02/15] objtool: Add ASM_STACK_FRAME_NON_STANDARD

From: Josh Poimboeuf <hidden>
Date: 2021-10-06 03:37:54
Also in: linux-hardening, lkml

On Thu, Sep 30, 2021 at 11:05:18AM -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 <samitolvanen@google.com>
Acked-by: Josh Poimboeuf <redacted>

-- 
Josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help