mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-14 00:42:40 +02:00
Specify CIE address size for AVR8 architecture.
This commit is contained in:
parent
5f94809cc6
commit
b787b45f59
@ -3926,10 +3926,13 @@ var
|
||||
end
|
||||
else
|
||||
begin
|
||||
case TargetInfo.bitness of
|
||||
b32: Result.AddressSize := 4;
|
||||
b64: Result.AddressSize := 8;
|
||||
end;
|
||||
if TargetInfo.machineType = mtAVR8 then
|
||||
Result.AddressSize := 2
|
||||
else
|
||||
case TargetInfo.bitness of
|
||||
b32: Result.AddressSize := 4;
|
||||
b64: Result.AddressSize := 8;
|
||||
end;
|
||||
end;
|
||||
Result.CodeAlignmentFactor := ULEB128toOrdinal(p);
|
||||
Result.DataAlignmentFactor := SLEB128toOrdinal(p);
|
||||
|
Loading…
Reference in New Issue
Block a user