lkml.org 
[lkml]   [2008]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 00/15] x86_64: Optimize percpu accesses
Eric W. Biederman wrote:
> How does gcc know to use %gs instead of the usual %fs for accessing
> the stack protector variable? My older gcc-4.1.x on ubuntu always uses %fs.
>

-mcmodel=kernel

> Or we could do something completely evil. And use the other segment
> register for the stack canary.
>

That would still require gcc changes, so it doesn't help much.

J


\
 
 \ /
  Last update: 2008-07-09 22:39    [W:0.169 / U:1.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site