On 07/26/2017 07:45 PM, Jeff Law wrote:
> On 07/12/2017 07:38 AM, Martin Liška wrote:
>> Hi.
>>
>> Following patch adds -lspp when one uses -mstack-protector-guard=global.
>>
>> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
>>
>> Ready to be installed?
>>
>> Martin
>>
>> gcc/ChangeLog:
>>
>> 2017-07-12  Martin Liska  <mli...@suse.cz>
>>
>>     PR middle-end/81400
>>     * gcc.c: Add -lssp when one uses -mstack-protector-guard=global.
> Isn't the -m option target specific?  And doesn't that imply this change
> should somehow be done in the target's specs?

Hi.

I think it's the right place as it's needed for all targets that support that 
(x86 family and ppc family).
Both have -mstack-protector-guard option.

Martin

> 
> jeff
> 

Reply via email to