Commit 0cfd09e4 authored by gerald's avatar gerald
Browse files

* config/freebsd-spec.h [TARGET_LIBC_PROVIDES_SSP]

	(LINK_SSP_SPEC): Define.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183670 138bc75d-0d04-0410-961f-82ee72b054a4
parent 16309fef
2011-01-29 Tijl Coosemans <tijl@coosemans.org>
* config/freebsd-spec.h [TARGET_LIBC_PROVIDES_SSP]
(LINK_SSP_SPEC): Define.
2012-01-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/51871
......
/* Base configuration file for all FreeBSD targets.
Copyright (C) 1999, 2000, 2001, 2004, 2005, 2007, 2009, 2010
Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2004, 2005, 2007, 2009, 2010, 2011,
2012 Free Software Foundation, Inc.
This file is part of GCC.
......@@ -138,6 +138,10 @@ is built with the --enable-threads configure-time option.} \
#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
#endif
#ifdef TARGET_LIBC_PROVIDES_SSP
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all:-lssp_nonshared}"
#endif
/* Use --as-needed -lgcc_s for eh support. */
#ifdef HAVE_LD_AS_NEEDED
#define USE_LD_AS_NEEDED 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment