8 byte align data. Fixes SIBGUSs on HPPA/Linux.
authorIan Lynagh <igloo@earth.li>
Sat, 9 Sep 2006 10:24:45 +0000 (10:24 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 9 Sep 2006 10:24:45 +0000 (10:24 +0000)
includes/Stg.h

index a63b7ec..8e3da0f 100644 (file)
@@ -127,8 +127,8 @@ typedef StgWord64       LW_;
 #define EF_(f)         extern F_ f(void)
 
 typedef StgWord StgWordArray[];
-#define EI_             extern StgWordArray
-#define II_             static StgWordArray
+#define EI_(X)          extern StgWordArray (X) GNU_ATTRIBUTE(aligned (8))
+#define II_(X)          static StgWordArray (X) GNU_ATTRIBUTE(aligned (8))
 
 /* -----------------------------------------------------------------------------
    Tail calls