Prechádzať zdrojové kódy

* 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 rokov pred
rodič
commit
b0c2548019
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      compiler/aggas.pas

+ 1 - 1
compiler/aggas.pas

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