[PATCH] PPC enable Altivec for setjmp/longjmp part 1 of 5

Steve Munroe sjmunroe@us.ibm.com
Wed Feb 11 22:53:00 GMT 2004


Ulrich Drepper wrote:

 > Why would ld.so need to export these interfaces?  Look at the ld.map
 > file in your build directory, only interfaces related to dynamic
 > linking are exported.

This was a work around for the fact that ld.so was importing versioned 
symbols from rtld-bsd-_setjmp.os,  rtld-__longjmp.os, rtld--setjmp.os, 
rtld-sigjmp.os, and rtld-novmx-sigjmp.os which are built from the same 
sources as the libc (versioned) code.

My current solution is to use #if defined NOT_IN_libc in ppc source to 
build non-versioned objects for rtld-*.os. This elliminates the need to 
export associated symbols. Fixed.

 > Drop this reference.  Filenames have no place in the headers.

done.

 > What is the meaning of the ENOSYS?  The function worked, ...

This was version of the generic stub which is not required. overzealous 
file copying. removed.

Also merged powerpc/powerpc32/novmx-longjmp.c and 
powerpc/powerpc64/novmx-longjmp.c into powerpc/novmx-longjmp.c Also 
powerpc/powerpc32/novmx-sigjmp.c and powerpc/powerpc64/novmx-sigjmp.c 
into powerpc/novmx-sigjmp.c
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppcvmx-setjmp-20040210.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20040211/bd336097/attachment.txt>


More information about the Libc-alpha mailing list