aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-06-29 19:22:09 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-06-29 19:22:09 +0000
commitd9eddf28f1aa31476f2335c1e6fc7002b64ea830 (patch)
tree74be79bc9236a28a9beaabefe9e984d1c1ef1dd2
parent42f181d9c7cbf7c382f1cba4a8cb50d622b77e4e (diff)
downloadmandoc-d9eddf28f1aa31476f2335c1e6fc7002b64ea830.tar.gz
mandoc-d9eddf28f1aa31476f2335c1e6fc7002b64ea830.tar.zst
mandoc-d9eddf28f1aa31476f2335c1e6fc7002b64ea830.zip
Support the "powerpc64" architecture name.
The first file using it in .Dt was just committed by kettenis@.
-rw-r--r--arch.c4
-rw-r--r--cgi.c11
2 files changed, 8 insertions, 7 deletions
diff --git a/arch.c b/arch.c
index 551c8679..fbfb4f7b 100644
--- a/arch.c
+++ b/arch.c
@@ -1,4 +1,4 @@
-/* $Id: arch.c,v 1.15 2019/05/21 07:52:00 schwarze Exp $ */
+/* $Id: arch.c,v 1.16 2020/06/29 19:22:09 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", "sgi", "sparc64", NULL
+ "octeon", "powerpc64", "sgi", "sparc64", NULL
};
const char *netbsd_arch[] = {
"acorn26", "acorn32", "algor", "alpha", "amiga",
diff --git a/cgi.c b/cgi.c
index 6d0e3293..3ab63952 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.172 2020/04/03 11:35:01 schwarze Exp $ */
+/* $Id: cgi.c,v 1.173 2020/06/29 19:22:09 schwarze Exp $ */
/*
* Copyright (c) 2014-2019 Ingo Schwarze <schwarze@usta.de>
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -122,10 +122,11 @@ static const char *const sec_names[] = {
static const int sec_MAX = sizeof(sec_names) / sizeof(char *);
static const char *const arch_names[] = {
- "amd64", "alpha", "armv7", "arm64",
- "hppa", "i386", "landisk",
- "loongson", "luna88k", "macppc", "mips64",
- "octeon", "sgi", "socppc", "sparc64",
+ "amd64", "alpha", "armv7", "arm64",
+ "hppa", "i386", "landisk", "loongson",
+ "luna88k", "macppc", "mips64", "octeon",
+ "powerpc64", "sgi", "socppc", "sparc64",
+
"amiga", "arc", "armish", "arm32",
"atari", "aviion", "beagle", "cats",
"hppa64", "hp300",