lkml.org 
[lkml]   [2018]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [tip:x86/pti] objtool, retpolines: Integrate objtool with retpoline support more closely
From
Date
On Wed, 2018-02-21 at 02:34 -0800, tip-bot for Peter Zijlstra wrote:
>
> --- a/Makefile
> +++ b/Makefile
> @@ -489,6 +489,11 @@ KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
>  KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC)
>  endif
>  
> +ifneq ($(call cc-option,-mindirect-branch=thunk-extern -mindirect-branch-register),)
> +  CC_HAS_RETPOLINE := 1
> +endif
> +export CC_HAS_RETPOLINE
> +

That isn't the same as the check in arch/x86/Makefile.
[unhandled content-type:application/x-pkcs7-signature]
\
 
 \ /
  Last update: 2018-02-21 12:00    [W:0.053 / U:1.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site