this removes an otherwise-unnecessary bits header from most archs, replacing it with an empty generic version.
@@ -1,2 +0,0 @@
-#undef __WORDSIZE
-#define __WORDSIZE 64
@@ -1,3 +0,0 @@
-#define __WORDSIZE 32
-/* FIXME */
@@ -1,5 +1,3 @@
#define EBX 0
#define ECX 1
#define EDX 2
#define PT_D1 0
#define PT_D2 1
#define PT_D3 2
@@ -1,6 +1,3 @@
-
#define EF_R0 6
#define EF_R1 7
#define EF_R2 8
#define EF_R0 0
#define EF_R1 1
#define EF_R2 2
#define R15 0
#define R14 1
#define R13 2
@@ -4,6 +4,15 @@
#include <limits.h>
#include <unistd.h>
+#include <bits/alltype.h>
+
+#undef __WORDSIZE
+#if __LONG_MAX == 0x7fffffffL
+#define __WORDSIZE 32
+#else
+#define __WORDSIZE 64
+#endif
#include <bits/reg.h>
#endif