[Bug target/85044] ENDBR is missing in ix86_trampoline_init

2018-03-22 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85044 --- Comment #1 from H.J. Lu --- [hjl@gnu-cfl-1 tmp]$ cat y.c extern void foo (void); extern void bar (void); extern void callme (void *); void tryme (void) { int ok = 0; void callback (void) { ok = 1; } callme (&callback); if (ok) f

[Bug target/85044] ENDBR is missing in ix86_trampoline_init

2018-03-24 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85044 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/85044] ENDBR is missing in ix86_trampoline_init

2018-03-27 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85044 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Mar 27 17:18:51 2018 New Revision: 258897 URL: https://gcc.gnu.org/viewcvs?rev=258897&root=gcc&view=rev Log: i386: Insert ENDBR to trampoline for -fcf-protection=branch -mibt

[Bug target/85044] ENDBR is missing in ix86_trampoline_init

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