* Define both mipseb and mips for non endian-little MIPS compiler

git-svn-id: trunk@21663 -
This commit is contained in:
pierre 2012-06-20 16:11:00 +00:00
parent bd7ebdce18
commit 23a3275291

View File

@ -170,15 +170,26 @@
{$ifdef mipsel}
{$define mips}
{$else not mipsel}
{ Define both mips and mipseb if mipsel is not defined
but mips cpu is wanted. }
{$ifdef mipseb}
{$define mips}
{$endif mipseb}
{$ifdef mips}
{$define mipseb}
{$endif mips}
{$endif mipsel}
{$ifdef mipseb}
{$define mips}
{$endif mipseb}
{$ifdef mips}
{$define cpu32bit}
{$define cpu32bitalu}
{$define cpu32bitaddr}
{$ifndef mips64}
{$define cpu32bit}
{$define cpu32bitalu}
{$define cpu32bitaddr}
{$else}
{$error mips64 not yet supported}
{$endif}
{ define cpuflags}
{$define cputargethasfixedstack}
{$define cpurequiresproperalignment}