Ver código fonte

+ declare the text segment with class=code in the nasm header for far code memory models also

git-svn-id: trunk@24834 -
nickysn 12 anos atrás
pai
commit
3631198b34
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      compiler/x86/agx86nsm.pas

+ 1 - 2
compiler/x86/agx86nsm.pas

@@ -1088,8 +1088,7 @@ interface
           internalerror(2013050101);
           internalerror(2013050101);
       end;
       end;
 
 
-      if current_settings.x86memorymodel in x86_near_code_models then
-        AsmWriteLn('SECTION ' + CodeSectionName + ' use16 class=code');
+      AsmWriteLn('SECTION ' + CodeSectionName + ' use16 class=code');
       if current_settings.x86memorymodel in x86_near_data_models then
       if current_settings.x86memorymodel in x86_near_data_models then
         begin
         begin
           { NASM complains if you put a missing section in the GROUP directive, so }
           { NASM complains if you put a missing section in the GROUP directive, so }