[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2024-01-18 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #13

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-05-24 Thread peterz at infradead dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #12 from peterz at infradead dot org --- On Tue, May 24, 2022 at 04:06:08PM +, cvs-commit at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 > > --- Comment #11 from CVS Commits --- > The master

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-05-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #11 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:2f4f7de787e5844515d27b2269fc472f95a9916a commit r13-744-g2f4f7de787e5844515d27b2269fc472f95a9916a Author: H.J. Lu Date: Fri Mar 11

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-13 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 H.J. Lu changed: What|Removed |Added Attachment #52615|0 |1 is obsolete|

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #9 from H.J. Lu --- Created attachment 52615 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52615=edit A patch

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-11 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #8 from H.J. Lu --- (In

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #7 from Andrew Cooper --- (In reply to H.J. Lu from comment #5) > Are you suggesting to add an option to generate jump table with ENDBR? Jump tables are a legitimate optimisation. NOTRACK is a weakness in CET protections, and

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread peterz at infradead dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #6 from peterz at infradead dot org --- (In reply to H.J. Lu from comment #5) > (In reply to Andrew Cooper from comment #4) > > I've worked around this in Xen with: > > https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff; > >

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #5 from H.J. Lu --- (In reply to Andrew Cooper from comment #4) > I've worked around this in Xen with: > https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff; > h=9d4a44380d273de22d5753883cbf5581795ff24d and >

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread andrew.cooper3 at citrix dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #4 from Andrew Cooper --- I've worked around this in Xen with: https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=9d4a44380d273de22d5753883cbf5581795ff24d and

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 Richard Biener changed: What|Removed |Added Version|unknown |12.0 Severity|normal

[Bug target/104816] -fcf-protection=branch should generate endbr instead of notrack jumps

2022-03-07 Thread joao at overdrivepizza dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104816 --- Comment #1 from Joao Moreira --- quick reproducer, just in case: https://godbolt.org/z/EaG3rhrnj