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 năm trước cách đây
mục cha
commit
b0c2548019
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.