mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 19:45:59 +02:00
AROS: Make sure opaque SMP extension is used for ABIv11 only
These changes adds an additional record field to record structure TMsgPort in
order to support SMP for ABIv11 (non m68k targets only).
This additional field contains two opaque IPTR's/PtrUInt's and therefor breaks
compatibility between ABIv0, ABIv1 and ABIv11 as well as make them binary
incompatible.
It also renders ABIv11 incompatible with itself when this change was introduced
on march 18 2022. Recompilation of existing code for this ABI is thus required.
See: b9bc67accc
This commit is contained in:
parent
c660120329
commit
4058a0ac4b
@ -652,6 +652,10 @@ type
|
||||
{$endif}
|
||||
{$endif}
|
||||
{$endif}
|
||||
{$else}
|
||||
{$ifndef CPUM68K}
|
||||
mp_Private: array[0..1] of IPTR; // Private extension field
|
||||
{$endif}
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
|
@ -618,6 +618,10 @@ type // Checked OK 05.08.2011 ALB
|
||||
{$endif}
|
||||
{$endif}
|
||||
{$endif}
|
||||
{$else}
|
||||
{$ifndef CPUM68K}
|
||||
mp_Private: array[0..1] of PtrUInt;
|
||||
{$endif}
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user