mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 07:39:31 +02:00
Set defualt riscv32 linux abi to abi_riscv_ipl32
This commit is contained in:
parent
61e53fd42a
commit
0d256f517f
@ -245,7 +245,15 @@ unit agrvgas;
|
||||
result := inherited MakeCmdLine;
|
||||
Replace(result,'$ARCH',arch_str[current_settings.fputype=fpu_fd,current_settings.cputype]);
|
||||
{$ifdef RISCV32}
|
||||
Replace(result,'$ABI','ilp32');
|
||||
case target_info.abi of
|
||||
abi_riscv_ilp32:
|
||||
Replace(result,'$ABI','ilp32');
|
||||
abi_riscv_ilp32f:
|
||||
Replace(result,'$ABI','ilp32f');
|
||||
abi_riscv_hf,
|
||||
abi_riscv_ilp32d:
|
||||
Replace(result,'$ABI','ilp32d');
|
||||
end;
|
||||
{$endif RISCV32}
|
||||
{$ifdef RISCV64}
|
||||
if target_info.abi=abi_riscv_hf then
|
||||
|
Loading…
Reference in New Issue
Block a user