Re: [PATCH] Update documents for fcf-protection=

2024-01-11 Thread Hongtao Liu
On Thu, Jan 11, 2024 at 12:06 AM H.J. Lu wrote: > > On Tue, Jan 9, 2024 at 6:02 PM liuhongt wrote: > > > > After r14-2692-g1c6231c05bdcca, the option is defined as EnumSet and > > -fcf-protection=branch won't unset any others bits since they're in > > different groups. So to override -fcf-protect

Re: [PATCH] Update documents for fcf-protection=

2024-01-10 Thread H.J. Lu
On Tue, Jan 9, 2024 at 6:02 PM liuhongt wrote: > > After r14-2692-g1c6231c05bdcca, the option is defined as EnumSet and > -fcf-protection=branch won't unset any others bits since they're in > different groups. So to override -fcf-protection, an explicit > -fcf-protection=none needs to be added and

[PATCH] Update documents for fcf-protection=

2024-01-09 Thread liuhongt
After r14-2692-g1c6231c05bdcca, the option is defined as EnumSet and -fcf-protection=branch won't unset any others bits since they're in different groups. So to override -fcf-protection, an explicit -fcf-protection=none needs to be added and then with -fcf-protection=XXX Bootstrapped and regtested