[PATCH] x86: Disallow -mindirect-branch=/-mfunction-return= with -mshstk

H.J. Lu hjl.tools@gmail.com
Fri Jan 12 16:22:00 GMT 2018


On Thu, Jan 11, 2018 at 3:00 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Jan 11, 2018 at 2:46 PM, Jeff Law <law@redhat.com> wrote:

>> Do you want to mention that CET and retpolines are inherently
>
> I will document it.
>
>> incompatible?  Should an attempt to use them together generate a
>> compile-time error?
>>
>
> Compile-time error sounds a good idea.
>

Here is the patch on my current patch set.  Any comments?

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Disallow-mindirect-branch-mfunction-return-with-.patch
Type: text/x-patch
Size: 8499 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180112/0b21f466/attachment.bin>


More information about the Gcc-patches mailing list