From owner-svn-src-head@freebsd.org Mon Jul 23 19:39:22 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED3601053502; Mon, 23 Jul 2018 19:39:21 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BE2A8B820; Mon, 23 Jul 2018 19:39:21 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7447820DB9; Mon, 23 Jul 2018 19:39:21 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6NJdLi7081799; Mon, 23 Jul 2018 19:39:21 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6NJdLlD081798; Mon, 23 Jul 2018 19:39:21 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201807231939.w6NJdLlD081798@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Mon, 23 Jul 2018 19:39:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336649 - head/share/man/man7 X-SVN-Group: head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: head/share/man/man7 X-SVN-Commit-Revision: 336649 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2018 19:39:22 -0000 Author: emaste Date: Mon Jul 23 19:39:20 2018 New Revision: 336649 URL: https://svnweb.freebsd.org/changeset/base/336649 Log: arch.7: Clarify architecture-specific macro use Compilers may define multiple variants of architecture-specific macros (for example, both __x86_64 and __x86_64__). Add a note that the macros documented in arch.7 are the preferred ones for FreeBSD. Sponsored by: The FreeBSD Foundation Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arch.7 ============================================================================== --- head/share/man/man7/arch.7 Mon Jul 23 19:27:11 2018 (r336648) +++ head/share/man/man7/arch.7 Mon Jul 23 19:39:20 2018 (r336649) @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd February 5, 2018 +.Dd July 23, 2018 .Dt ARCH 7 .Os .Sh NAME @@ -342,6 +342,10 @@ Architecture-specific macros: .It riscv64sf Ta Dv __riscv, Dv __riscv_xlen == 64 .It sparc64 Ta Dv __sparc64__ .El +.Pp +Compilers may define additional variants of architecture-specific macros. +The macros above are preferred for use in +.Fx . .Ss Important Xr make 1 variables Most of the externally settable variables are defined in the .Xr build 7