From d8b89432a2884bb3ba7958136ad434bb52221615 Mon Sep 17 00:00:00 2001 From: pierre Date: Thu, 4 Jul 2019 15:24:49 +0000 Subject: [PATCH] * Set ControllerSupport to false for sparc/sparc64 and x86_64 CPUs. This boolean must only be set to true if TControllerType is not simply (ct_none) * ppu.pas: Increment CurrentPPULongVersion constant as the above modification changes the number of fields of the TSettings record that is saved to PPU in ST_LOADSETTINGS field. git-svn-id: trunk@42323 - --- compiler/ppu.pas | 2 +- compiler/sparc/cpuinfo.pas | 2 +- compiler/sparc64/cpuinfo.pas | 2 +- compiler/x86_64/cpuinfo.pas | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler/ppu.pas b/compiler/ppu.pas index 75998af58a..d002a51f4d 100644 --- a/compiler/ppu.pas +++ b/compiler/ppu.pas @@ -50,7 +50,7 @@ const CurrentPPUVersion = 207; { for any other changes to the ppu format, increase this version number (it's a cardinal) } - CurrentPPULongVersion = 1; + CurrentPPULongVersion = 2; { unit flags } uf_big_endian = $000004; diff --git a/compiler/sparc/cpuinfo.pas b/compiler/sparc/cpuinfo.pas index 6a881cedd9..b5ca38e63d 100644 --- a/compiler/sparc/cpuinfo.pas +++ b/compiler/sparc/cpuinfo.pas @@ -65,7 +65,7 @@ type Const { Is there support for dealing with multiple microcontrollers available } { for this platform? } - ControllerSupport = true; + ControllerSupport = false; { We know that there are fields after sramsize but we don't care about this warning } diff --git a/compiler/sparc64/cpuinfo.pas b/compiler/sparc64/cpuinfo.pas index de54a3f1e9..37e8dc5e44 100644 --- a/compiler/sparc64/cpuinfo.pas +++ b/compiler/sparc64/cpuinfo.pas @@ -63,7 +63,7 @@ type Const { Is there support for dealing with multiple microcontrollers available } { for this platform? } - ControllerSupport = true; + ControllerSupport = false; { We know that there are fields after sramsize but we don't care about this warning } diff --git a/compiler/x86_64/cpuinfo.pas b/compiler/x86_64/cpuinfo.pas index c699b2b9dc..d9eb1a135e 100644 --- a/compiler/x86_64/cpuinfo.pas +++ b/compiler/x86_64/cpuinfo.pas @@ -79,7 +79,7 @@ Type Const { Is there support for dealing with multiple microcontrollers available } { for this platform? } - ControllerSupport = true; + ControllerSupport = false; { Size of native extended type } extended_size = 10; { target cpu string (used by compiler options) }