mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 08:38:14 +02:00
Add emulation_opt settings for all four mips CPUs
This commit is contained in:
parent
7887f46700
commit
d83004dee1
@ -442,11 +442,22 @@ begin
|
||||
{$ifdef arm} target_opt:='';{$endif} {unknown :( }
|
||||
{$ifdef aarch64} target_opt:='';{$endif} {unknown :( }
|
||||
{$ifdef m68k} target_opt:='';{$endif} {unknown :( }
|
||||
{$ifdef mips}
|
||||
{$ifdef mips32}
|
||||
{$ifdef mipsel}
|
||||
platformopt:=' -EL';
|
||||
emulation_opt:=' -m elf32ltsmip';
|
||||
{$else}
|
||||
platformopt:=' -EB';
|
||||
emulation_opt:=' -m elf32btsmip';
|
||||
{$endif}
|
||||
{$endif}
|
||||
{$ifdef mips64}
|
||||
{$ifdef mips64el}
|
||||
platformopt:=' -EL';
|
||||
emulation_opt:=' -m elf64ltsmip';
|
||||
{$else}
|
||||
platformopt:=' -EB';
|
||||
emulation_opt:=' -m elf64btsmip';
|
||||
{$endif}
|
||||
{$endif}
|
||||
{$ifdef riscv32}
|
||||
|
Loading…
Reference in New Issue
Block a user