Browse Source

* the general section threadvar model needs a got but pic is not required

git-svn-id: trunk@43074 -
florian 5 years ago
parent
commit
9e8bc7c935
1 changed files with 0 additions and 5 deletions
  1. 0 5
      compiler/x86/nx86ld.pas

+ 0 - 5
compiler/x86/nx86ld.pas

@@ -100,8 +100,6 @@ implementation
                       end;
                     tlsm_general:
                       begin
-                        if not(cs_create_pic in current_settings.moduleswitches) then
-                          Internalerror(2018110701);
                         include(current_procinfo.flags,pi_needs_got);
                         reference_reset(href,0,[]);
                         location.reference.index:=current_procinfo.got;
@@ -136,9 +134,6 @@ implementation
                       end;
                     tlsm_general:
                       begin
-                        if not(cs_create_pic in current_settings.moduleswitches) then
-                          Internalerror(2019012001);
-
                         current_asmdata.CurrAsmList.concat(tai_const.Create_8bit($66));
                         reference_reset(href,0,[]);
                         location.reference.base:=NR_RIP;