powerpc help needed: Defining hidden alias for __sigsetjmp

Florian Weimer fweimer@redhat.com
Mon Nov 14 14:44:00 GMT 2016


I'm trying to create a hidden alias for __sigsetjmp on powerpc.  The 
problem is that powerpc uses the generic <setjmp.h> wrapper, which has a 
libc_hidden_proto for it, but the implementation of that redirect never 
happens.

I came up with the attached patch.  It adds a definition of the hidden 
redirect to libc.so, as expected.  But in addition to that, I get this 
ABI difference on powerpc32:

-GLIBC_2.3.4 __longjmp F

This does not happen on powerpc64.

I really can't explain that.  Any ideas?

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc64-sigsetjmp.patch
Type: text/x-patch
Size: 2079 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161114/d26d08df/attachment.bin>


More information about the Libc-alpha mailing list