[Top] [All Lists]

Re: Static variables and "gp"

To: Gilad Benjamini <>
Subject: Re: Static variables and "gp"
From: Ralf Baechle <>
Date: Sun, 2 Mar 2003 12:18:20 +0100
In-reply-to: <>; from on Sun, Mar 02, 2003 at 09:07:28AM +0000
Original-recipient: rfc822;
References: <>
User-agent: Mutt/
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 ...


<Prev in Thread] Current Thread [Next in Thread>