Re: [tip:x86/pti] objtool, retpolines: Integrate objtool with retpoline support more closely
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:x86/pti] objtool, retpolines: Integrate objtool with retpoline support more closely
- From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
- Date: Wed, 21 Feb 2018 13:53:57 +0100
- Cc: hpa@xxxxxxxxx, luto@xxxxxxxxxx, arjan@xxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, dan.j.williams@xxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, gregkh@xxxxxxxxxxxxxxxxxxx, mingo@xxxxxxxxxx, bp@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, dave.hansen@xxxxxxxxxxxxxxx, jpoimboe@xxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <1519210754.6482.43.camel@infradead.org>
- References: <tip-b4879c9b99a43e6c580d563f292a569a016af2a4@git.kernel.org> <1519210754.6482.43.camel@infradead.org>
- User-agent: Mutt/1.9.2 (2017-12-15)
On Wed, Feb 21, 2018 at 10:59:14AM +0000, David Woodhouse wrote:
> 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.
That's because this crossed with the llvm cruft, right? I'll have a
look.
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]