Browse Source

* do not call InitTLS when a compiler is used which does not include the abi tag section

git-svn-id: trunk@40468 -
florian 6 years ago
parent
commit
32121de8ae
1 changed files with 2 additions and 0 deletions
  1. 2 0
      rtl/linux/i386/si_prc.inc

+ 2 - 0
rtl/linux/i386/si_prc.inc

@@ -102,7 +102,9 @@ asm
   	movl    %esp,initialstkptr
   	movl    %esp,initialstkptr
   {$endif FPC_PIC}
   {$endif FPC_PIC}
 
 
+{$if FPC_FULLVERSION>30200}
   call    InitTLS
   call    InitTLS
+{$endif FPC_FULLVERSION>30200}
 
 
   xorl    %ebp,%ebp
   xorl    %ebp,%ebp
   call    PASCALMAIN
   call    PASCALMAIN