__attribute__ fix for s390.

Martin Schwidefsky schwidefsky@de.ibm.com
Tue Oct 9 06:14:00 GMT 2001


Hi,
we found a problem with the __psw_t definition. The __attribute__ after
the typedef name doesn't have any effect with gcc 2.95.3 and it crashes
the c++ compiler with gcc 3.0. The __attribute__ needs to follow the
closing brace of the structure definition. One of the finer points you
need to know ... ChangeLog and Patch:

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

     * sysdeps/s390/s390-32/sys/ucontext.h: Correct __psw_t typedef.
     * sysdeps/s390/s390-64/sys/ucontext.h: Likewise.

(See attached file: attribute.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: attribute.diff
Type: text/x-diff
Size: 1066 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20011009/6b1ab146/attachment.bin>


More information about the Libc-hacker mailing list