summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-x86-gs.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/autoconf-x86-gs.c')
-rw-r--r--runtime/autoconf-x86-gs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/autoconf-x86-gs.c b/runtime/autoconf-x86-gs.c
new file mode 100644
index 00000000..f4dda795
--- /dev/null
+++ b/runtime/autoconf-x86-gs.c
@@ -0,0 +1,5 @@
+#include <asm/ptrace.h>
+
+#if defined (__i386__)
+struct pt_regs regs = {.gs = 0x0};
+#endif