Thread (8 messages) 8 messages, 6 authors, 2000-09-07

Re: question about 'r2' !!!

flat view

From: Frank Rowand <hidden>
Date: 2000-09-06 20:23:01

Michael Schmitz wrote:
quoted
quoted
I am currently engaged in compiling Linux-ppc source tree using a CC other
than GCC.
May I ask you _why_ you want to do that?!?
The mind fairly boggles. Anyway, once upon a time, current wasn't kept in
a register but in memory. And if r2 won't do, just pick another register
and tell the compiler not to touch it. Hope your compiler of choice has
such a thing as --fixed-r2 ...

        Michael
And if you want to use kgdb to debug your kernel, gdb knows that current is r2...

-Frank
--
Frank Rowand [off-list ref]
MontaVista Software, Inc

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help