mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 10:45:08 +02:00
* Fix read/write enum on cpu's requiring alignment: Call 'align' the proper way.
git-svn-id: trunk@10351 -
This commit is contained in:
parent
203331cc3a
commit
3540c400dc
@ -936,10 +936,10 @@ implementation
|
||||
else
|
||||
inc(st);
|
||||
if (tf_requires_proper_alignment in target_info.flags) then
|
||||
align(st,sizeof(Tconstptruint));
|
||||
st:=align(st,sizeof(Tconstptruint));
|
||||
inc(st);
|
||||
if (tf_requires_proper_alignment in target_info.flags) then
|
||||
align(st,sizeof(Tconstptruint));
|
||||
st:=align(st,sizeof(Tconstptruint));
|
||||
inc(st,8+sizeof(pint));
|
||||
{ write rtti data }
|
||||
with current_asmdata do
|
||||
@ -1042,10 +1042,10 @@ implementation
|
||||
else
|
||||
inc(st);
|
||||
if (tf_requires_proper_alignment in target_info.flags) then
|
||||
align(st,sizeof(Tconstptruint));
|
||||
st:=align(st,sizeof(Tconstptruint));
|
||||
inc(st);
|
||||
if (tf_requires_proper_alignment in target_info.flags) then
|
||||
align(st,sizeof(Tconstptruint));
|
||||
st:=align(st,sizeof(Tconstptruint));
|
||||
inc(st,8+sizeof(pint));
|
||||
{ write rtti data }
|
||||
with current_asmdata do
|
||||
|
Loading…
Reference in New Issue
Block a user