[Bug c/28281] gcc uses the wrong segment register for TLS access for -fstack-protector in kernel mode

2006-07-06 Thread arjan at linux dot intel dot com


--- Comment #3 from arjan at linux dot intel dot com  2006-07-06 11:08 
---
Created an attachment (id=11844)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11844&action=view)
updates with Jakub's comments

updates with jakubs comments


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28281



[Bug c/28281] gcc uses the wrong segment register for TLS access for -fstack-protector in kernel mode

2006-07-06 Thread arjan at linux dot intel dot com


--- Comment #2 from arjan at linux dot intel dot com  2006-07-06 09:49 
---
Created an attachment (id=11842)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11842&action=view)
updated patch

updated patch; it helps if I send the non-test version of the testsuite test so
that it actually tests the right behavior


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28281



[Bug c/28281] gcc uses the wrong segment register for TLS access for -fstack-protector in kernel mode

2006-07-06 Thread arjan at linux dot intel dot com


--- Comment #1 from arjan at linux dot intel dot com  2006-07-06 09:24 
---
Created an attachment (id=11839)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11839&action=view)
patch to fix this issue, including a testcase

patch + testcase for this issue

2006-07-06  Arjan van de Ven <[EMAIL PROTECTED]>
* config/i386/i386.md: add conditonal for kernel side
stack-protector


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28281