From d9eddf28f1aa31476f2335c1e6fc7002b64ea830 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 29 Jun 2020 19:22:09 +0000 Subject: Support the "powerpc64" architecture name. The first file using it in .Dt was just committed by kettenis@. --- arch.c | 4 ++-- cgi.c | 11 ++++++----- 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 * @@ -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 * Copyright (c) 2011, 2012 Kristaps Dzonsons @@ -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", -- cgit v1.2.3