|
@@ -439,9 +439,9 @@ begin
|
|
target_opt:=' -b elf64-sparc';
|
|
target_opt:=' -b elf64-sparc';
|
|
emulation_opt:=' -m elf64_sparc';
|
|
emulation_opt:=' -m elf64_sparc';
|
|
{$endif}
|
|
{$endif}
|
|
-{$ifdef arm} target_opt='';{$endif} {unknown :( }
|
|
|
|
-{$ifdef aarch64} target_opt='';{$endif} {unknown :( }
|
|
|
|
-{$ifdef m68k} target_opt='';{$endif} {unknown :( }
|
|
|
|
|
|
+{$ifdef arm} target_opt:='';{$endif} {unknown :( }
|
|
|
|
+{$ifdef aarch64} target_opt:='';{$endif} {unknown :( }
|
|
|
|
+{$ifdef m68k} target_opt:='';{$endif} {unknown :( }
|
|
{$ifdef mips}
|
|
{$ifdef mips}
|
|
{$ifdef mipsel}
|
|
{$ifdef mipsel}
|
|
platformopt:=' -EL';
|
|
platformopt:=' -EL';
|
|
@@ -450,13 +450,13 @@ begin
|
|
{$endif}
|
|
{$endif}
|
|
{$endif}
|
|
{$endif}
|
|
{$ifdef riscv32}
|
|
{$ifdef riscv32}
|
|
- target_opt=' -m elf32lriscv';
|
|
|
|
|
|
+ target_opt:=' -m elf32lriscv';
|
|
{$endif}
|
|
{$endif}
|
|
{$ifdef riscv64}
|
|
{$ifdef riscv64}
|
|
- target_opt=' -m elf64lriscv';
|
|
|
|
|
|
+ target_opt:=' -m elf64lriscv';
|
|
{$endif}
|
|
{$endif}
|
|
{$ifdef loongarch64}
|
|
{$ifdef loongarch64}
|
|
- target_opt='';
|
|
|
|
|
|
+ target_opt:='';
|
|
{$endif}
|
|
{$endif}
|
|
|
|
|
|
{$ifdef powerpc64}
|
|
{$ifdef powerpc64}
|
|
@@ -465,7 +465,7 @@ begin
|
|
begin
|
|
begin
|
|
target_opt:=' -b elf64-powerpcle';
|
|
target_opt:=' -b elf64-powerpcle';
|
|
emulation_opt:=' -m elf64lppc';
|
|
emulation_opt:=' -m elf64lppc';
|
|
- end;
|
|
|
|
|
|
+ end
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
target_opt:=' -b elf64-powerpc';
|
|
target_opt:=' -b elf64-powerpc';
|
|
@@ -481,7 +481,7 @@ begin
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
target_opt:=' -b elf32-xtensa-be';
|
|
target_opt:=' -b elf32-xtensa-be';
|
|
- emluation_opt:=' -m elf32xtensa';
|
|
|
|
|
|
+ emulation_opt:=' -m elf32xtensa';
|
|
end;
|
|
end;
|
|
if target_info.abi=abi_xtensa_call0 then
|
|
if target_info.abi=abi_xtensa_call0 then
|
|
platformopt:=platformopt+' --abi-call0'
|
|
platformopt:=platformopt+' --abi-call0'
|