mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 01:48:00 +02:00
* properly set 8 byte parameter alignment for first parameter on ARM if
applicable git-svn-id: trunk@41447 -
This commit is contained in:
parent
6071263469
commit
bead1f8180
@ -512,13 +512,11 @@ unit cpupara;
|
||||
firstparaloc and
|
||||
(paradef.alignment=8) then
|
||||
begin
|
||||
hp.paraloc[side].Alignment:=8;
|
||||
if (nextintreg in [RS_R1,RS_R3]) then
|
||||
inc(nextintreg)
|
||||
else if nextintreg>RS_R3 then
|
||||
begin
|
||||
stack_offset:=align(stack_offset,8);
|
||||
hp.paraloc[side].Alignment:=8;
|
||||
end;
|
||||
stack_offset:=align(stack_offset,8);
|
||||
end;
|
||||
if nextintreg<=RS_R3 then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user