[PATCH] TLS support for s390*.

Martin Schwidefsky schwidefsky@de.ibm.com
Fri Jan 31 08:58:00 GMT 2003


> > GL(dl_tls_static_size) has 0x2c0 bytes and TLS_TCB_SIZE has 0x340
> > bytes. The subtraction overflows and the result is something huge (all
> > numbers are unsigned).
>
> I've fixed the test.

Thinking about it I wondered why the subtraction could turn out negative
at all. This should be TLS_INIT_TCB_SIZE instead TLS_TCB_SIZE.

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




More information about the Libc-hacker mailing list