This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PPC32 and state of the project


Steve Munroe wrote:

> Just to clarify. __longjmp and setcontext/swapcontext should not change the
> thread register. (i.e. preserved as in not touched)?

Correct.


> At least this matches the implementation of sysdeps/i386/__longjmp.S and
> sysdeps/powerpc/powerpc64/__longjmp.S. However
> sysdeps/powerpc/powerpc32/__longjmp.S does restore r2 so that needs to
> change.

If r2 is chosen as the thread register this will have to change.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]