This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,
The patch below (bootstrapped) adds support for (linux) kernel-side use of -fstack-protector. The kernel uses a different segment register (gs instead of fs) for the local storage, so for this to work gcc needs to emit gs: relative code for -fstack-protector for the -mcmodel=kernel code. I've also attached a testcase for this patch to go with this. The patch is against the SVN tree from about 2 hours ago.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |