Additional fix for PR 84239.
PR target/84239 * libgcc/config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra): Include cetintrin.h not x86intrin.h. From-SVN: r257730
This commit is contained in:
parent
d80956bb05
commit
95df04335b
|
@ -1,7 +1,13 @@
|
||||||
|
2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
||||||
|
|
||||||
|
PR target/84239
|
||||||
|
* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
|
||||||
|
Include cetintrin.h not x86intrin.h.
|
||||||
|
|
||||||
2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
||||||
|
|
||||||
PR target/84239
|
PR target/84239
|
||||||
* config/i386/shadow-stack-unwind.hi (_Unwind_Frames_Extra):
|
* config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
|
||||||
Use new _get_ssp and _inc_ssp intrinsics.
|
Use new _get_ssp and _inc_ssp intrinsics.
|
||||||
|
|
||||||
2018-02-02 Julia Koval <julia.koval@intel.com>
|
2018-02-02 Julia Koval <julia.koval@intel.com>
|
||||||
|
|
|
@ -22,7 +22,14 @@ a copy of the GCC Runtime Library Exception along with this program;
|
||||||
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||||
<http://www.gnu.org/licenses/>. */
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <x86intrin.h>
|
/* NB: We need _get_ssp and _inc_ssp from <cetintrin.h>. But we can't
|
||||||
|
include <x86intrin.h> which ends up including <mm_malloc.h>, which
|
||||||
|
includes <stdlib.h> and <errno.h> unconditionally. But we can't
|
||||||
|
include any libc system headers unconditionally from libgcc. Avoid
|
||||||
|
including <mm_malloc.h> here by defining _IMMINTRIN_H_INCLUDED. */
|
||||||
|
#define _IMMINTRIN_H_INCLUDED
|
||||||
|
#include <cetintrin.h>
|
||||||
|
#undef _IMMINTRIN_H_INCLUDED
|
||||||
|
|
||||||
/* Unwind the shadow stack for EH. */
|
/* Unwind the shadow stack for EH. */
|
||||||
#undef _Unwind_Frames_Extra
|
#undef _Unwind_Frames_Extra
|
||||||
|
|
Loading…
Reference in New Issue