ref: 79213052a219d8c7ab85629807d07f7365ef9bec
parent: acc4d8b8aaad5c13aaa34951457dfcdeda66e923
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Aug 8 04:31:49 EDT 2015
gs: fix build for objtype=spim
--- 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
--- /dev/null
+++ b/sys/src/cmd/gs/default.spim.h
@@ -1,0 +1,3 @@
+#include "default.mips.h"
+#undef ARCH_IS_BIG_ENDIAN
+#define ARCH_IS_BIG_ENDIAN 0
--- /dev/null
+++ b/sys/src/cmd/gs/spim.h
@@ -1,0 +1,3 @@
+#include "mips.h"
+#undef ARCH_IS_BIG_ENDIAN
+#define ARCH_IS_BIG_ENDIAN 0