mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 07:08:29 +02:00
* Fixed threadvars alignment for ARM CPU.
git-svn-id: trunk@1036 -
This commit is contained in:
parent
24cf46266d
commit
398b31226b
@ -78,6 +78,10 @@ CONST
|
||||
procedure SysInitThreadvar(var offset : dword;size : dword);
|
||||
begin
|
||||
offset:=threadvarblocksize;
|
||||
{$ifdef CPUARM}
|
||||
// Data must be allocated at 4 bytes boundary for ARM
|
||||
size:=(size + 3) and not dword(3);
|
||||
{$endif CPUARM}
|
||||
inc(threadvarblocksize,size);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user