lkml.org 
[lkml]   [2022]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 05/29] x86: Base IBT bits
On Fri, Feb 18, 2022 at 01:14:51PM -0800, Josh Poimboeuf wrote:
> On Fri, Feb 18, 2022 at 05:49:07PM +0100, Peter Zijlstra wrote:
> > +#ifdef CONFIG_X86_64
> > +#define ASM_ENDBR "endbr64\n\t"
> > +#else
> > +#define ASM_ENDBR "endbr32\n\t"
> > +#endif
>
> Is it safe to assume all supported assemblers know this instruction?

I was hoping the answer was yes, given CC_HAS_IBT.

\
 
 \ /
  Last update: 2022-02-18 22:22    [W:0.114 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site