فهرست منبع

* non-linux arm targets fixed

git-svn-id: trunk@40276 -
florian 6 سال پیش
والد
کامیت
a40335de34
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      compiler/psub.pas

+ 1 - 1
compiler/psub.pas

@@ -1665,7 +1665,7 @@ implementation
             cg.g_maybe_got_init(templist);
             aktproccode.insertlistafter(headertai,templist);
 
-            if pi_uses_threadvar in flags then
+            if (pi_uses_threadvar in flags) and (tf_section_threadvars in target_info.flags) then
               cg.g_maybe_tls_init(templist);
             aktproccode.insertlistafter(stackcheck_asmnode.currenttai,templist);