Răsfoiți Sursa

* Use '.tls' as name for sec_threadvar sections for all Windows and WinCE targets, not just i386-win32.

git-svn-id: trunk@19157 -
sergei 14 ani în urmă
părinte
comite
b0c2548019
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      compiler/aggas.pas

+ 1 - 1
compiler/aggas.pas

@@ -390,7 +390,7 @@ implementation
           end;
           end;
 
 
         if (atype=sec_threadvar) and
         if (atype=sec_threadvar) and
-          (target_info.system=system_i386_win32) then
+          (target_info.system in (systems_windows+systems_wince)) then
           secname:='.tls';
           secname:='.tls';
 
 
         { go32v2 stub only loads .text and .data sections, and allocates space for .bss.
         { go32v2 stub only loads .text and .data sections, and allocates space for .bss.