Who said user-code ? Strictly kernel -----Original Message----- From: Ralf Baechle [mailto:ralf@linux-mips.org] Sent: Sunday, March 02, 2003 1:18 PM To: Gilad Benjamini Cc: linux-mips@linux-mips.org Subject: Re: Static variables and "gp" On Sun, Mar 02, 2003 at 09:07:28AM +0000, Gilad Benjamini wrote: > How can I force a specific static variable to be used by the "gp" register > rather than by a two-step load ? > Compiling a mips-linux using gcc. That feature doesn't work in gcc for userspace code ... Ralf