Subject: Re: COMPAT_LINUX: moving forward with NPTL machdep code
To: Richard Earnshaw <>
From: Emmanuel Dreyfus <>
List: tech-kern
Date: 06/26/2006 22:55:31
Richard Earnshaw <> wrote:

> > For other architectures:
> > - For ARM, we just have to get and set process' register R3
> Eh?  Where did this 'specification' come from? 

I get this in Linux kernel sources:

        if (clone_flags & CLONE_SETTLS)
                thread->tp_value = regs->ARM_r3;

But if r3 is a scratch register, then I don't know what it means.

Emmanuel Dreyfus