This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81708] The x86 stack canary location should be customizable
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Aug 2017 09:39:37 +0000
- Subject: [Bug target/81708] The x86 stack canary location should be customizable
- Auto-submitted: auto-generated
- References: <bug-81708-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708
--- Comment #3 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 41949
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41949&action=edit
Patch that introduces mstack-protector-guard-offset= and
mstack-protector-guard-reg=
Prototype patch that introduces mstack-protector-guard-offset= and
mstack-protector-guard-reg= options. The later can be used to override default
TLS reg, so compilation becomes independent of -mcmodel=kernel.