Date: Thu, 26 Jun 2008 07:52:45 +0000 (UTC) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern stack_protector.c Message-ID: <200806260752.m5Q7qphk051885@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2008-06-26 07:52:45 UTC FreeBSD src repository Modified files: sys/kern stack_protector.c Log: SVN rev 180022 on 2008-06-26 07:52:45Z by ru Fix a chicken-and-egg problem: this files implements SSP support, so we cannot compile it with -fstack-protector[-all] flags (or it will self-recurse); this is ensured in sys/conf/files. This OTOH means that checking for defines __SSP__ and __SSP_ALL__ to determine if we should be compiling the support is impossible (which it was trying, resulting in an empty object file). Fix this by always compiling the symbols in this files. It's good because it allows us to always have SSP support, and then compile with SSP selectively. Repoted by: tinderbox Revision Changes Path 1.2 +0 -3 src/sys/kern/stack_protector.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806260752.m5Q7qphk051885>