Browse Source

* 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 years ago
parent
commit
b0c2548019
1 changed files with 1 additions and 1 deletions
  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.