mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-05 22:47:09 +01:00
* fixed offset calculation of first parameter on the stack if there
were any preceding parameters < 4 bytes git-svn-id: trunk@3141 -
This commit is contained in:
parent
e8df9990e1
commit
385815beff
@ -464,7 +464,7 @@ unit cpupara;
|
||||
inc(nextintreg);
|
||||
dec(paralen,tcgsize2size[paraloc^.size]);
|
||||
if target_info.abi=abi_powerpc_aix then
|
||||
inc(stack_offset,tcgsize2size[paraloc^.size]);
|
||||
inc(stack_offset,align(tcgsize2size[paraloc^.size],4));
|
||||
end
|
||||
else if (loc = LOC_FPUREGISTER) and
|
||||
(nextfloatreg <= maxfpureg) then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user