summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2022-03-16 15:01:24 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2022-03-17 13:24:52 +0100
commitc6b41eb8c8cece8266b2173a83216e1ce77eb2be (patch)
treea84a27656ec17d68ba130ef774c7da3e4c2570b6
parentbf2a90ef7c183e9e0442d14d6f74fb6d5f79c6bb (diff)
downloadroux-c6b41eb8c8cece8266b2173a83216e1ce77eb2be.tar.gz
amd64: restore previous name of amd64_sysv target
-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,