mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 20:59:42 +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}
|
||||
{$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}
|
||||
|
Loading…
Reference in New Issue
Block a user