Browse code

Fix sparc sigbus.

Török Edvin authored on 2010/03/22 21:08:56
Showing 1 changed files
... ...
@@ -66,6 +66,7 @@ static inline void spam(const char *fmt, ...) { fmt = fmt; } /* gcc STFU */
66 66
 #if SIZEOF_VOID_P==8
67 67
 static const unsigned int fragsz[] = {
68 68
 /* SIZE        PERM    TEMP     MAX    ACT! */
69
+     8,  /* Sparc SIGBUSes without this */
69 70
      16, /* 1487281    7051 1487281      USE */
70 71
      24, /*   89506     103   89510      USE */
71 72
      32, /* 1313968      65 1313969      USE */
... ...
@@ -140,8 +141,9 @@ static const unsigned int fragsz[] = {
140 140
 
141 141
 #else
142 142
 
143
-static const unsigned int fragsz[] = { 
143
+static const unsigned int fragsz[] = {
144 144
 /* SIZE        PERM    TEMP    ACT! */
145
+      8, /* Sparc SIGBUSes without this */
145 146
      16, /* 1487589    7134 1487589      USE */
146 147
      24, /*  116448     127  116452      USE */
147 148
      32, /* 1287128      95 1287134      USE */