Re: csum_partial_copy_fromuser patch, #2

Jakub Jelinek (jj@sunsite.ms.mff.cuni.cz)
Tue, 4 Feb 1997 09:18:32 +0100 (MET)


>
> Date: Mon, 3 Feb 1997 21:06:31 +0100 (MET)
> From: Ingo Molnar <mingo@pc5829.hil.siemens.at>
>
> On Mon, 3 Feb 1997, Jakub Jelinek wrote:
>
> > [...] The fixup would then look down callee's pc, look in there to see
> > if exception handling wanted. [...]
>
> how do you do this? GCC is free to do anything with the stack.
>
> Jakub forgets sometimes that not all architectures are as nice as
> Sparc for this sort of thing. Callers PC is always in a consistant
> place, no stack frame mess, it is just there in the right register.
>

Well, but I guess we're talking about routines in that may and should be
written in assembly and there it is I think easy on every architecture to
guess the return pc...

.u$e.
Cheers .$$$$$:S
Jakub $"*$/"*$$
$.`$ . ^F
4k+#+T.$F
-------------------------------------------------------------- 4P+++"$"$ ---
Jakub Jelinek, jj@sunsite.mff.cuni.cz :R"+ t$$B
Administrator of SunSITE Czech Republic ___# $$$
MFF, Charles University, Prague | | R$$k
---------------------------------------------------------- dd. | Linux $!$
Give your Sparc a new beginning - SparcLinux ddd | Sparc $9$F
-------------------------------------------------------- '!!!!!$ !!#!`
!!!!!* .!!!!!`
'!!!!!!!W..e$$!!!!!!`
"~^^~ ^~~^