RE: Static variables and "gp"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux