This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

_JUMPBUF_UNWINDS for s390/s390x



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

=?iso-8859-1?Q?jmpbuf-unwinds-s390.diff?=


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