[cfe-dev] linux/i386 and mregparm
    Anton Korobeynikov 
    anton at korobeynikov.info
       
    Tue Mar  1 13:08:48 PST 2011
    
    
  
> i'm not mixing them up in that i know they're different things, but i do
> (want to) mix them in the sense that i'd like clang/llvm to generate PIC
> for the kernel code model as well, as this is what gcc does.
Then you should rely on relocation model switch, not to hack on random
stuff around.
Also, note that according to the ABI specification I already shown the
link to, there is no PIC for kernel code model (see the same section
3.5.1).
-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
    
    
More information about the cfe-dev
mailing list