]> git.cameronkatri.com Git - mandoc.git/commitdiff
Add OpenBSD riscv64 architecture; patch from jsg@.
authorIngo Schwarze <schwarze@openbsd.org>
Thu, 13 May 2021 13:33:11 +0000 (13:33 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Thu, 13 May 2021 13:33:11 +0000 (13:33 +0000)
While here, retire sgi and socppc.

arch.c
cgi.c

diff --git a/arch.c b/arch.c
index fbfb4f7beb87424665dcd5347a24708ea5763a88..41a23cbbc32ba1a4e792a1d6ea46ee285e29cbed 100644 (file)
--- a/arch.c
+++ b/arch.c
@@ -1,4 +1,4 @@
-/* $Id: arch.c,v 1.16 2020/06/29 19:22:09 schwarze Exp $ */
+/* $Id: arch.c,v 1.17 2021/05/13 13:33:11 schwarze Exp $ */
 /*
  * Copyright (c) 2017, 2019 Ingo Schwarze <schwarze@openbsd.org>
  *
@@ -26,7 +26,7 @@ arch_valid(const char *arch, enum mandoc_os os)
        const char *openbsd_arch[] = {
                "alpha", "amd64", "arm64", "armv7", "hppa", "i386",
                "landisk", "loongson", "luna88k", "macppc", "mips64",
-               "octeon", "powerpc64", "sgi", "sparc64", NULL
+               "octeon", "powerpc64", "riscv64", "sparc64", NULL
        };
        const char *netbsd_arch[] = {
                "acorn26", "acorn32", "algor", "alpha", "amiga",
diff --git a/cgi.c b/cgi.c
index 3ab63952a469ecac0bcf27cd680d7a2f70985114..31f1dcf4b746130e5677795c7d46438e3c13c57f 100644 (file)
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.173 2020/06/29 19:22:09 schwarze Exp $ */
+/* $Id: cgi.c,v 1.174 2021/05/13 13:33:11 schwarze Exp $ */
 /*
  * Copyright (c) 2014-2019 Ingo Schwarze <schwarze@usta.de>
  * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -125,14 +125,15 @@ static    const char *const arch_names[] = {
     "amd64",       "alpha",       "armv7",       "arm64",
     "hppa",        "i386",        "landisk",     "loongson",
     "luna88k",     "macppc",      "mips64",      "octeon",
-    "powerpc64",   "sgi",         "socppc",      "sparc64",
+    "powerpc64",   "riscv64",     "sparc64",
 
     "amiga",       "arc",         "armish",      "arm32",
     "atari",       "aviion",      "beagle",      "cats",
     "hppa64",      "hp300",
     "ia64",        "mac68k",      "mvme68k",     "mvme88k",
     "mvmeppc",     "palm",        "pc532",       "pegasos",
-    "pmax",        "powerpc",     "solbourne",   "sparc",
+    "pmax",        "powerpc",     "sgi",         "socppc",
+    "solbourne",   "sparc",
     "sun3",        "vax",         "wgrisc",      "x68k",
     "zaurus"
 };