summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--all.h2
-rw-r--r--amd64/targ.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/all.h b/all.h
index 3cfb60a..c8ec93c 100644
--- a/all.h
+++ b/all.h
@@ -40,7 +40,7 @@ enum {
 };
 
 struct Target {
-	char name[8];
+	char name[16];
 	int gpr0;   /* first general purpose reg */
 	int ngpr;
 	int fpr0;   /* first floating point reg */
diff --git a/amd64/targ.c b/amd64/targ.c
index d341339..2cf1bdc 100644
--- a/amd64/targ.c
+++ b/amd64/targ.c
@@ -13,7 +13,7 @@ amd64_memargs(int op)
 }
 
 Target T_amd64_sysv = {
-	.name = "amd64",
+	.name = "amd64_sysv",
 	.gpr0 = RAX,
 	.ngpr = NGPR,
 	.fpr0 = XMM0,