diff --git a/sys/src/cmd/gs/arch.h b/sys/src/cmd/gs/arch.h index 7e00f1160..abdec1355 100644 --- a/sys/src/cmd/gs/arch.h +++ b/sys/src/cmd/gs/arch.h @@ -4,6 +4,8 @@ #include "386.h" #elif Tmips #include "mips.h" +#elif Tspim +#include "spim.h" #elif Tpower #include "mips.h" #elif Talpha diff --git a/sys/src/cmd/gs/default.spim.h b/sys/src/cmd/gs/default.spim.h new file mode 100644 index 000000000..4ab61720d --- /dev/null +++ b/sys/src/cmd/gs/default.spim.h @@ -0,0 +1,3 @@ +#include "default.mips.h" +#undef ARCH_IS_BIG_ENDIAN +#define ARCH_IS_BIG_ENDIAN 0 diff --git a/sys/src/cmd/gs/spim.h b/sys/src/cmd/gs/spim.h new file mode 100644 index 000000000..1520638d2 --- /dev/null +++ b/sys/src/cmd/gs/spim.h @@ -0,0 +1,3 @@ +#include "mips.h" +#undef ARCH_IS_BIG_ENDIAN +#define ARCH_IS_BIG_ENDIAN 0