* gp
@ 1999-07-15 19:01 Tim Hockin
1999-07-16 1:35 ` gp Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Tim Hockin @ 1999-07-15 19:01 UTC (permalink / raw)
To: linux
Ralf + crew
just playing around with kernel, and wondering what (if any) work has
been done to use gp within the kernel. I know it is built with -G 0
now.
I looked into it, and made sure that gp got saved and restored correctly
(I think), but when I compile with -G > 0 gcc (or egcs) gets signal 11 -
ideas?
Tim
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gp
1999-07-15 19:01 gp Tim Hockin
@ 1999-07-16 1:35 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 1999-07-16 1:35 UTC (permalink / raw)
To: Tim Hockin; +Cc: linux
On Thu, Jul 15, 1999 at 12:01:03PM -0700, Tim Hockin wrote:
> just playing around with kernel, and wondering what (if any) work has
> been done to use gp within the kernel. I know it is built with -G 0
> now.
>
> I looked into it, and made sure that gp got saved and restored correctly
> (I think), but when I compile with -G > 0 gcc (or egcs) gets signal 11 -
> ideas?
In Linux 2.1 / 2.2 we have an other use of the gp; it contains the
current variable. See include/asm-mips/current.h. It's been on my to do
list for a long time to check if -G > 0 will be a better use of $28 than
putting the current variable there.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-07-16 1:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-15 19:01 gp Tim Hockin
1999-07-16 1:35 ` gp Ralf Baechle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox