PowerPC Altivec version of setjmp/longjmp

Eric Norum norume@aps.anl.gov
Tue Aug 28 10:18:00 GMT 2007


The code in powerpc/setjmp.S contains conditionally assembled code  
which saves/restores the Altivec registers.  This breaks on operating  
systems like RTEMS which do not normally enable the Altivec unit.   
The RTEMS maintainers asked me to submit this patch which was  
originally provided by Till Straumann  <strauman@slac.stanford.edu>
The patch is quite small so I've just attached it to this message.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlibAltivecSetjmp.patch
Type: application/octet-stream
Size: 3703 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20070828/0c745ffd/attachment.obj>
-------------- next part --------------
-- 
Eric Norum <norume@aps.anl.gov>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793




More information about the Newlib mailing list