From 2a55ac04cec8481dded9871468e53bee558a4ccc Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Sat, 27 Jan 2001 17:04:13 +0000 Subject: [PATCH] Disable TLS callback check for now. committer: mfx 980615053 +0000 --- src/p_w32pe.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/p_w32pe.cpp b/src/p_w32pe.cpp index e537fb8c..0210005a 100644 --- a/src/p_w32pe.cpp +++ b/src/p_w32pe.cpp @@ -918,9 +918,12 @@ void PackW32Pe::processTls(Interval *iv) // pass 1 return; const tls * const tlsp = (const tls*) (ibuf + IDADDR(PEDIR_TLS)); +#if 0 + // FIXME: !!! the check for TLS callbacks is broken !!! // note: TLS callbacks are not implemented in Windows 95/98/ME if (tlsp->callbacks) throwCantPack("TLS callbacks are not supported"); +#endif unsigned tlsdatastart = tlsp->datastart - ih.imagebase; unsigned tlsdataend = tlsp->dataend - ih.imagebase;