gnu /
gcc /
f55bf4ddbfac3c7360cb00f3200b663c19baf504 i386: Skip ENDBR32 at the target function entry
Skip ENDBR32 at the target function entry when initializing trampoline.
Tested on Linux/x86-64 CET machine with and without -m32.
gcc/
Backport from master
PR target/93656
* config/i386/i386.c (ix86_trampoline_init): Skip ENDBR32 at
the target function entry.
gcc/testsuite/
Backport from master
PR target/93656
* gcc.target/i386/pr93656.c: New test.
(cherry picked from commit 1d69147af203d4dcd2270429f90c93f1a37ddfff)
4 files changed