From aad1152e6b8f06bbba82ac4282ea431d9870cd15 Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Fri, 14 Mar 1997 03:11:17 +0000
Subject: [PATCH] [project @ 1997-03-14 03:11:17 by sof] AIX mods

---
 ghc/runtime/prims/PrimMisc.lc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ghc/runtime/prims/PrimMisc.lc b/ghc/runtime/prims/PrimMisc.lc
index dc29069f7116..953ed15b1243 100644
--- a/ghc/runtime/prims/PrimMisc.lc
+++ b/ghc/runtime/prims/PrimMisc.lc
@@ -89,7 +89,10 @@ might have to perform a DynamicReturn (just Bool at the moment).
 ED_RO_(PrelBase_False_inregs_info);
 ED_RO_(PrelBase_True_inregs_info);
 
-const W_ PrelBase_Bool_itblvtbl[] = {
+#ifndef aix_TARGET_OS /* AIX gives link errors with this as a const (RO assembler section) */
+const 
+#endif 
+      W_ PrelBase_Bool_itblvtbl[] = {
     (W_) PrelBase_False_inregs_info,
     (W_) PrelBase_True_inregs_info
 };
-- 
GitLab