소스 검색

* in the internal assembler writer, when starting a new object file, set the
cputype to current_settings.cputype, instead of cpu_none (which indicates no
restrictions)

git-svn-id: trunk@33142 -

nickysn 9 년 전
부모
커밋
87baa8c43f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      compiler/ogbase.pas

+ 2 - 2
compiler/ogbase.pas

@@ -1433,7 +1433,7 @@ implementation
 
     procedure TObjData.beforealloc;
       begin
-        FCPUType:=cpu_none;
+        FCPUType:=current_settings.cputype;
         { create stabs sections if debugging }
         if assigned(StabsSec) then
           begin
@@ -1445,7 +1445,7 @@ implementation
 
     procedure TObjData.beforewrite;
       begin
-        FCPUType:=cpu_none;
+        FCPUType:=current_settings.cputype;
         { create stabs sections if debugging }
         if assigned(StabsSec) then
          begin