_JUMPBUF_UNWINDS for s390/s390x

Martin Schwidefsky schwidefsky@de.ibm.com
Thu Sep 20 07:09:00 GMT 2001


Hi,
another stupid one. The _JMPBUF_UNWINDS macro compares pointers by
converting to "int" instead of "void *". This sort-of works for 31 bit
but it is definitly broken for 64 bit. Patch & ChangeLog:

2001-09-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>

     * sysdeps/s390/s390-32/bits/setjmp.h: Correct pointer comparison in
     _JMPBUF_UNWINDS.
     * sysdeps/s390/s390-64/bits/setjmp.h: Likewise.

(See attached file: jmpbuf-unwinds-s390.diff)

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jmpbuf-unwinds-s390.diff
Type: text/x-diff
Size: 1106 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20010920/4a21ab20/attachment.bin>


More information about the Libc-hacker mailing list