On Tue, Feb 9, 2021 at 2:11 PM H.J. Lu <hjl.to...@gmail.com> wrote:
>
> On Tue, Feb 9, 2021 at 12:59 AM Richard Biener
> <richard.guent...@gmail.com> wrote:
> >
> > On Mon, Feb 8, 2021 at 3:07 PM H.J. Lu via Gcc-patches
> > <gcc-patches@gcc.gnu.org> wrote:
> > >
> > > When the SHSTK feature is not available or not enabled, RDSSP is a NOP,
> > > always save and restore shadow stack pointer to support compiling source
> > > codes, containing __builtin_setjmp and __builtin_longjmp, with different
> > > -fcf-protection options.
> >
> > Is that an ABI change for -fno-cf-protection?
> >
>
> Currently you can't mix object files with __builtin_setjmp and 
> __builtin_longjmp
> compiled with -fcf-protection and -fcf-protection=none.  This patch fixes it 
> for
> GCC 11 and newer.  It does nothing for object files compiled by older versions
> of GCC.

So object files compiled with GCC 10 still inter-operate with object
files from GCC 11
and -fcf-protection=none (aka the long-year default)?

Richard.

> --
> H.J.

Reply via email to