summaryrefslogtreecommitdiff
path: root/rts/sm
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-01-26 20:43:22 -0500
committerBen Gamari <ben@smart-cactus.org>2022-01-29 14:52:56 -0500
commitc6bede69443a9f40b0504cee83d9b2c5e9b8163b (patch)
tree63a4f37b4cd0c993cc3e6d434b5575ea44b9bbe8 /rts/sm
parentd85a527f493c0ed41736cf6220a4291a26769d50 (diff)
downloadhaskell-c6bede69443a9f40b0504cee83d9b2c5e9b8163b.tar.gz
rts: Rip out SPARC support
Diffstat (limited to 'rts/sm')
-rw-r--r--rts/sm/GCTDecl.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/rts/sm/GCTDecl.h b/rts/sm/GCTDecl.h
index e740392c15..2fbe1894f8 100644
--- a/rts/sm/GCTDecl.h
+++ b/rts/sm/GCTDecl.h
@@ -85,26 +85,6 @@ extern __thread gc_thread* gct;
/* -------------------------------------------------------------------------- */
-/* Next up: On SPARC we can't pin gct to a register. Names like %l1
- are just offsets into the register window, which change on each
- function call.
-
- There are eight global (non-window) registers, but they're used for other
- purposes:
-
- %g0 -- always zero
- %g1 -- volatile over function calls, used by the linker
- %g2-%g3 -- used as scratch regs by the C compiler (caller saves)
- %g4 -- volatile over function calls, used by the linker
- %g5-%g7 -- reserved by the OS
-*/
-#elif defined(sparc_HOST_ARCH)
-extern __thread gc_thread* gct;
-#define SET_GCT(to) gct = (to)
-#define DECLARE_GCT __thread gc_thread* gct;
-
-/* -------------------------------------------------------------------------- */
-
/* Next up: generally, if REG_Base is defined and we're *not* using
i386, then actually declare the needed register. The catch for i386
here is that REG_Base is %ebx, but that is also used for -fPIC, so