This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 00/11] (v2) Mitigation against unsafe data speculation (CVE-2017-5753)


On 06/08/18 22:52, John David Anglin wrote:
> On 2018-08-03 5:06 AM, Richard Earnshaw (lists) wrote:
>>> I don't think there's a suitable barrier.  The sync instruction seems
>>> like overkill.
>>>
>>> So, I'm going to install attached change after testing is complete.
>>>
>> It's your call as port maintainers.
> I committed the attached change after testing on hppa-unknown-linux-gnu.
> 

Thanks.  Wrong PR, though: that was for the SPU port.  The hppa PR is 86785.

R.

> Dave
> 
> 
> pa-spectre.d
> 
> 
> 2018-08-06  John David Anglin  <danglin@gcc.gnu.org>
> 
> 	PR target/86807
> 	* config/pa/pa.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
> 	Define to speculation_safe_value_not_needed.
> 
> Index: config/pa/pa.c
> ===================================================================
> --- config/pa/pa.c	(revision 263228)
> +++ config/pa/pa.c	(working copy)
> @@ -428,6 +428,9 @@
>  #undef TARGET_STARTING_FRAME_OFFSET
>  #define TARGET_STARTING_FRAME_OFFSET pa_starting_frame_offset
>  
> +#undef TARGET_HAVE_SPECULATION_SAFE_VALUE
> +#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
> +
>  struct gcc_target targetm = TARGET_INITIALIZER;
>  
>  /* Parse the -mfixed-range= option string.  */
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]