https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85044
H.J. Lu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85044
H.J. Lu changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
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