gs: fix build for objtype=spim
This commit is contained in:
parent
acc4d8b8aa
commit
79213052a2
3 changed files with 8 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
||||||
#include "386.h"
|
#include "386.h"
|
||||||
#elif Tmips
|
#elif Tmips
|
||||||
#include "mips.h"
|
#include "mips.h"
|
||||||
|
#elif Tspim
|
||||||
|
#include "spim.h"
|
||||||
#elif Tpower
|
#elif Tpower
|
||||||
#include "mips.h"
|
#include "mips.h"
|
||||||
#elif Talpha
|
#elif Talpha
|
||||||
|
|
3
sys/src/cmd/gs/default.spim.h
Normal file
3
sys/src/cmd/gs/default.spim.h
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#include "default.mips.h"
|
||||||
|
#undef ARCH_IS_BIG_ENDIAN
|
||||||
|
#define ARCH_IS_BIG_ENDIAN 0
|
3
sys/src/cmd/gs/spim.h
Normal file
3
sys/src/cmd/gs/spim.h
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#include "mips.h"
|
||||||
|
#undef ARCH_IS_BIG_ENDIAN
|
||||||
|
#define ARCH_IS_BIG_ENDIAN 0
|
Loading…
Reference in a new issue