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: [PATCH] PPC enable Altivec for setjmp/longjmp part 1 of 5


Steve Munroe <sjmunroe@us.ibm.com> writes:

> These patches provide the setjmp/longjmp support to save/restore the
> non-volitile vector registers per the ABI. This is a bit more
> complicated then the *context functions because there are 3 layers, 2
> of which involve arch independent libc/nplt/linuxthreads code.
>
> Linuxthreads/nplt override longjmp/siglongjmp which call
> __libc_longjmp/__libc_siglongjmp. __libc_longjmp is strong alias for
> __libc_siglongjmp which saves the sigprocmask into sigjmp_buf before
> calling the arch dependent __longjmp. The problem is that the
> __saved_mask follows the jmp_buf within the sigjmp_buf. As the size of
> jmp_buf is changing we need to support two verions (old/new) if the
> sigjmp_buf which implies we need to version all three layers of the
> longjmp/setjmp function stack.
>
> The following patch provides the PPC specific version code for
> longjmp.c, setjmp.c, sigjmp.c, plus novmx versions of the setjmp.h and
> longjmp.c, setjmp.c, sigjmp.c.

Uli, what is the status of these patches?  Are they ok?  I can commit
them if you like...

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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