* 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 -
This commit is contained in:
nickysn 2016-03-02 01:12:56 +00:00
parent c061a98e93
commit 87baa8c43f

View File

@ -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