]> gcc.gnu.org Git - gcc.git/commit
i386: Skip ENDBR32 at the target function entry
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 13 Feb 2020 13:28:38 +0000 (05:28 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 13 Feb 2020 13:29:14 +0000 (05:29 -0800)
commit1d69147af203d4dcd2270429f90c93f1a37ddfff
treeb5150434ab7d6b5e994e9dab320d07c101a58863
parentac5e8d2fa0c3a44a0576e11b758fbecc9a1a2f99
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/

PR target/93656
* config/i386/i386.c (ix86_trampoline_init): Skip ENDBR32 at
the target function entry.

gcc/testsuite/

PR target/93656
* gcc.target/i386/pr93656.c: New test.
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr93656.c [new file with mode: 0644]
This page took 0.068458 seconds and 5 git commands to generate.