[Bug target/85417] -fcf-protection should provide CET protection on x86

2018-04-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/85417] -fcf-protection should provide CET protection on x86

2018-04-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 --- Comment #6 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Apr 19 15:15:04 2018 New Revision: 259496 URL: https://gcc.gnu.org/viewcvs?rev=259496&root=gcc&view=rev Log: x86: Enable -fcf-protection with multi-byte NOPs -fcf-protection -

[Bug target/85417] -fcf-protection should provide CET protection on x86

2018-04-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 --- Comment #5 from H.J. Lu --- (In reply to Uroš Bizjak from comment #4) > (In reply to H.J. Lu from comment #2) > > I am working to enable CET on Linux with a single binary. -fcf-protection > > should provide CET protection on x86 by default.

[Bug target/85417] -fcf-protection should provide CET protection on x86

2018-04-16 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 --- Comment #4 from Uroš Bizjak --- (In reply to H.J. Lu from comment #2) > I am working to enable CET on Linux with a single binary. -fcf-protection > should provide CET protection on x86 by default. We can add a command-line > option if we wan

[Bug target/85417] -fcf-protection should provide CET protection on x86

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 --- Comment #3 from H.J. Lu --- Created attachment 43954 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43954&action=edit A patch I am testing this patch.

[Bug target/85417] -fcf-protection should provide CET protection on x86

2018-04-16 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85417 H.J. Lu changed: What|Removed |Added Target Milestone|--- |8.0 Summary|Extra test failures wit