summaryrefslogtreecommitdiff
path: root/gen_x86.c
diff options
context:
space:
mode:
authorMike Pavone <pavone@retrodev.com>2020-07-11 21:16:32 -0700
committerMike Pavone <pavone@retrodev.com>2020-07-11 21:16:32 -0700
commitfcf2f4d291b9af0daa49620fad8ea8efad901f15 (patch)
tree7395602342e7c91219da8cd552cac9fc5e4bff23 /gen_x86.c
parentdf59cb9fd552d7ef2ff6c3de9c37fcbdfc96ab3d (diff)
Fix broken enum definitions that cause multiple definition errors when building with -fno-common which is now the default in GCC 10
Diffstat (limited to 'gen_x86.c')
-rw-r--r--gen_x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_x86.c b/gen_x86.c
index 3737461..a540357 100644
--- a/gen_x86.c
+++ b/gen_x86.c
@@ -130,7 +130,7 @@ enum {
X86_R13,
X86_R14,
X86_R15
-} x86_regs_enc;
+};
char * x86_reg_names[] = {
#ifdef X86_64