From 7d9f23f73c96bca640e133a53813a74bdc85fe83 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 6 Jun 2022 13:22:28 -0700 Subject: Rename x86_64 target to include ABI --- driver.c | 2 +- targ.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/driver.c b/driver.c index 23de769..329dacb 100644 --- a/driver.c +++ b/driver.c @@ -384,7 +384,7 @@ main(int argc, char *argv[]) arrayaddbuf(&stages[LINK].cmd, linkcmd, sizeof(linkcmd)); if (hasprefix(target, "x86_64-") || hasprefix(target, "amd64-")) { - arch = "x86_64"; + arch = "x86_64-sysv"; qbearch = "amd64_sysv"; } else if (hasprefix(target, "aarch64-")) { arch = "aarch64"; diff --git a/targ.c b/targ.c index 2ffcd3e..8402b97 100644 --- a/targ.c +++ b/targ.c @@ -7,7 +7,7 @@ const struct target *targ; static const struct target alltargs[] = { { - .name = "x86_64", + .name = "x86_64-sysv", .typewchar = &typeint, .typevalist = &(struct type){ .kind = TYPEARRAY, -- cgit v1.2.3