Re: new additions to MingW-Runtime

Jonathan Wilson <jonwil-lAQCs9xYd526c6uEtOJ/[email protected]> Wed, 15 Oct 2003 07:09:45 +0800
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <[email protected]>
try this again, fixed some things.
tlssup.c (text/plain, 387 B)
#include <windows.h>
DWORD _tls_start __attribute__ ((section (".tls"))) = 0;
DWORD _tls_end __attribute__ ((section (".tls$ZZZ"))) = 0;
DWORD _tls_index = 0;
PIMAGE_TLS_CALLBACK __xl_a __attribute__ ((section (".CRT$XLA"))) = 0;
PIMAGE_TLS_CALLBACK __xl_z __attribute__ ((section (".CRT$XLZ"))) = 0;
IMAGE_TLS_DIRECTORY _tls_used = {&_tls_start, &_tls_end, &_tls_index, &__xl_a, 0, 0};
atlssup.s (text/plain, 121 B)
.file "i386\\atlssup.asm"
    @comp.id:
    @comp.id = 0xe1c83
    __tls_array = 0x2c
    .globl __tls_array
.text
.data