On Fri, Feb 18, 2005 at 03:44:51PM -0800, Linus Torvalds wrote: > > > On the other hand, maybe you would want CSE to be aware of base registers > etc (I don't know if that is actually true, though), in which case you'd > want to teach the linearizer to output PIC accesses as explicitly based on > a new pseudo.
I think the PIC code generate should belong to after linearizion, convert to real asm code. e.g. in the example.c in sparse. BTW, I find out gcc will generate different asm file if you have the -fPIC flag. I try to remove the -fPIC and just use -shared at the last step generating the .so file, that seems to work as well. I guess the difference the call between sparse function will not go to lookup share library any more. Chris - To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
