* sorted defines in the compiler: mips64 is defined on all 64 Bit mips platforms, mips64el for little endian, misp64eb for big endian

This commit is contained in:
florian 2022-02-06 21:52:51 +01:00
parent f56b6728a5
commit 28964711d7
4 changed files with 8 additions and 8 deletions

View File

@ -276,10 +276,10 @@
{$endif mips}
{$endif mipsel}
{$ifdef mips64}
{$ifdef mips64eb}
{$define mips}
{$define mips64}
{$endif mips64}
{$endif mips64eb}
{$ifdef mips64el}
{$define mips}

View File

@ -4204,7 +4204,7 @@ procedure read_arguments(cmd:TCmdStr);
def_system_macro('FPC_LOCALS_ARE_STACK_REG_RELATIVE');
{$endif mipseb}
{$ifdef mips64}
{$ifdef mips64eb}
def_system_macro('CPUMIPS');
def_system_macro('CPUMIPS64');
def_system_macro('CPUMIPSEB64');
@ -4216,7 +4216,7 @@ procedure read_arguments(cmd:TCmdStr);
def_system_macro('FPC_REQUIRES_PROPER_ALIGNMENT');
{ See comment above for mipsel }
def_system_macro('FPC_LOCALS_ARE_STACK_REG_RELATIVE');
{$endif mips64}
{$endif mips64eb}
{$ifdef mips64el}
def_system_macro('CPUMIPS');

View File

@ -1204,9 +1204,9 @@ begin
{$endif ndef default_target_set}
{$endif xtensa}
{$ifdef mips64}
{$ifdef mips64eb}
default_target(system_mips64_linux);
{$endif mips64}
{$endif mips64eb}
{$ifdef mips64el}
default_target(system_mips64el_linux);

View File

@ -1316,11 +1316,11 @@ initialization
RegisterTarget(system_mipseb_linux_info);
{$endif MIPSEL}
{$endif MIPS32}
{$ifdef MIPS64}
{$ifdef MIPS64EB}
RegisterImport(system_mips64_linux,timportliblinux);
RegisterExport(system_mips64_linux,texportliblinux);
RegisterTarget(system_mips64_linux_info);
{$endif MIPS64}
{$endif MIPS64EB}
{$ifdef MIPS64EL}
RegisterImport(system_mips64el_linux,timportliblinux);
RegisterExport(system_mips64el_linux,texportliblinux);