소스 검색

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

git-svn-id: trunk@43074 -
florian 6 년 전
부모
커밋
9e8bc7c935
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  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;