mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 23:49:05 +02:00
* Define both mipseb and mips for non endian-little MIPS compiler
git-svn-id: trunk@21663 -
This commit is contained in:
parent
bd7ebdce18
commit
23a3275291
@ -170,15 +170,26 @@
|
|||||||
|
|
||||||
{$ifdef mipsel}
|
{$ifdef mipsel}
|
||||||
{$define mips}
|
{$define mips}
|
||||||
{$endif mipsel}
|
{$else not mipsel}
|
||||||
{$ifdef mipseb}
|
{ Define both mips and mipseb if mipsel is not defined
|
||||||
|
but mips cpu is wanted. }
|
||||||
|
{$ifdef mipseb}
|
||||||
{$define mips}
|
{$define mips}
|
||||||
{$endif mipseb}
|
{$endif mipseb}
|
||||||
|
{$ifdef mips}
|
||||||
|
{$define mipseb}
|
||||||
|
{$endif mips}
|
||||||
|
{$endif mipsel}
|
||||||
|
|
||||||
|
|
||||||
{$ifdef mips}
|
{$ifdef mips}
|
||||||
|
{$ifndef mips64}
|
||||||
{$define cpu32bit}
|
{$define cpu32bit}
|
||||||
{$define cpu32bitalu}
|
{$define cpu32bitalu}
|
||||||
{$define cpu32bitaddr}
|
{$define cpu32bitaddr}
|
||||||
|
{$else}
|
||||||
|
{$error mips64 not yet supported}
|
||||||
|
{$endif}
|
||||||
{ define cpuflags}
|
{ define cpuflags}
|
||||||
{$define cputargethasfixedstack}
|
{$define cputargethasfixedstack}
|
||||||
{$define cpurequiresproperalignment}
|
{$define cpurequiresproperalignment}
|
||||||
|
Loading…
Reference in New Issue
Block a user