[PATCH] Fix when -lssp is added by driver (PR middle-end/81400).

Martin Liška mliska@suse.cz
Wed Jul 12 13:38:00 GMT 2017


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  <mliska@suse.cz>

	PR middle-end/81400
	* gcc.c: Add -lssp when one uses -mstack-protector-guard=global.
---
  gcc/gcc.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-when-lssp-is-added-by-driver-PR-middle-end-81400.patch
Type: text/x-patch
Size: 621 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170712/7eed8f32/attachment.bin>


More information about the Gcc-patches mailing list