[PATCH] x86: Move CET infrastructure to x86_64
H.J. Lu
hjl.tools@gmail.com
Thu Jan 4 20:44:10 GMT 2024
On Thu, Jan 4, 2024 at 12:32 PM Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
>
> And removes i686 support now that CET is x86_64 only. It essentially
> removes the i386 support from:
>
> - faaee1f07ed (x86: Support shadow stack pointer in setjmp/longjmp).
> - be9ccd27c09 (i386: Add _CET_ENDBR to indirect jump targets in)
> add_n.S/sub_n.S).
> - faaee1f07ed (x86: Support shadow stack pointer in setjmp/longjmp).
> - c02695d7764 (x86/CET: Update vfork to prevent child return).
> - c02695d7764 (x86: Update vfork to pop shadow stack).
>
> And move the Makefile and tests from the generic x86 folder to x86_64
> one.
>
> The --enable-cet now issues an error with i686-linux-gnu.
>
> Checked on x86_64-linux-gnu and i686-linux-gnu.
Can you break it into 2 parts:
1. Move x86 CET files to x86_64.
2. Remove CET support from i386 files.
Thanks.
--
H.J.
More information about the Libc-alpha
mailing list