re PR target/86814 (xtensa port needs updating for CVE-2017-5753)

PR target/86814

Xtensa architecture is not affected by speculation.

gcc/
2018-12-31  Max Filippov  <jcmvbkbc@gmail.com>

	* config/xtensa/xtensa.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
	Define to speculation_safe_value_not_needed.

From-SVN: r267488
This commit is contained in:
Max Filippov 2018-12-31 16:51:36 +00:00 committed by Max Filippov
parent 2ea47ee9fd
commit c6579387bd
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2018-12-31 Max Filippov <jcmvbkbc@gmail.com>
PR target/86814
* config/xtensa/xtensa.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
Define to speculation_safe_value_not_needed.
2018-12-31 Martin Liska <mliska@suse.cz>
* predict.c (set_even_probabilities): Include also

View File

@ -331,6 +331,9 @@ static unsigned HOST_WIDE_INT xtensa_asan_shadow_offset (void);
#undef TARGET_ASAN_SHADOW_OFFSET
#define TARGET_ASAN_SHADOW_OFFSET xtensa_asan_shadow_offset
#undef TARGET_HAVE_SPECULATION_SAFE_VALUE
#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
struct gcc_target targetm = TARGET_INITIALIZER;