mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-06 07:30:53 +01:00
* pass lp64d to GNU AS for abi_riscv_hf to get the right ABI set
git-svn-id: trunk@47585 -
This commit is contained in:
parent
c3e2285c45
commit
5cd4e5a016
@ -247,7 +247,10 @@ unit agrvgas;
|
||||
Replace(result,'$ABI','ilp32');
|
||||
{$endif RISCV32}
|
||||
{$ifdef RISCV64}
|
||||
Replace(result,'$ABI','lp64');
|
||||
if target_info.abi=abi_riscv_hf then
|
||||
Replace(result,'$ABI','lp64d')
|
||||
else
|
||||
Replace(result,'$ABI','lp64');
|
||||
{$endif RISCV64}
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user