From owner-svn-src-head@freebsd.org Tue Jul 19 19:44:45 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68C45B9E447; Tue, 19 Jul 2016 19:44:45 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B7B21C67; Tue, 19 Jul 2016 19:44:45 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-io0-f178.google.com with SMTP id m101so28562545ioi.2; Tue, 19 Jul 2016 12:44:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=RidhlpfJz9m6tNmvxgYWPq7vVqOK36+GZZeLdleewWY=; b=jRSwH0O8JApveckj3KCFaVOJ+qxd0fW49OzEUkd8MixB+u6YCxcB7GWpZCc0yihby7 vb8l06hn/naqvQT6QcRTiJ8THPh638w7emJA2ek+6ugTx8ZKt1uySN8q78ZFO3w9c0gR oB74NPxc/6EKNZhdEnOdhh0AinVLSCVt9Wu/QnT8ooqV1BVJVRZ6E4//stuToSgfQjKJ Ec6bSb8cOAFE8XZP0Iv3IeSbMHayWsRiljI5wp9G5KXRlKzrCqqCPgOEh6zoC6KjSnmV lCB92und8D2eeggPwG/B8U5nu8BBgt3F04BBS5I+WMoHoxaiWK0Jx9t38LhclwECU08Y YdIQ== X-Gm-Message-State: ALyK8tJl+d+yRjBa8H+KYvkN7a6zTFq3F58xbGyRUvMX26I/qeyTYCxysoKjzfV1ec+6eQ== X-Received: by 10.107.157.194 with SMTP id g185mr5518954ioe.82.1468957030276; Tue, 19 Jul 2016 12:37:10 -0700 (PDT) Received: from mail-it0-f44.google.com (mail-it0-f44.google.com. [209.85.214.44]) by smtp.gmail.com with ESMTPSA id w12sm10157653iow.29.2016.07.19.12.37.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jul 2016 12:37:10 -0700 (PDT) Received: by mail-it0-f44.google.com with SMTP id f6so29635096ith.0; Tue, 19 Jul 2016 12:37:09 -0700 (PDT) X-Received: by 10.36.76.16 with SMTP id a16mr47567215itb.86.1468957029787; Tue, 19 Jul 2016 12:37:09 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 10.36.233.67 with HTTP; Tue, 19 Jul 2016 12:37:09 -0700 (PDT) In-Reply-To: <201607191746.u6JHk9ov092270@repo.freebsd.org> References: <201607191746.u6JHk9ov092270@repo.freebsd.org> From: Conrad Meyer Date: Tue, 19 Jul 2016 12:37:09 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r303033 - head/share/man/man7 To: Ed Maste Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 19 Jul 2016 19:44:45 -0000 On Tue, Jul 19, 2016 at 10:46 AM, Ed Maste wrote: > Author: emaste > Date: Tue Jul 19 17:46:09 2016 > New Revision: 303033 > URL: https://svnweb.freebsd.org/changeset/base/303033 > > Log: > add an arch.7 man page with architecture-specific details > > Based on details collected on the wiki, at > https://wiki.freebsd.org/EdMaste/ArchitectureSpecifics > Further details to be added over time. > > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D7096 > > Added: > head/share/man/man7/arch.7 (contents, props changed) > Modified: > head/share/man/man7/Makefile > > ... > Added: head/share/man/man7/arch.7 > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/share/man/man7/arch.7 Tue Jul 19 17:46:09 2016 (r303033) > @@ -0,0 +1,171 @@ > ... > +.Ss Predefined Macros > +The compiler provides a number of predefined macros. > +Some of these provide architecture-specific details and are explained below. > +Other macros, including those required by the language standard, are not > +included here. > +.Pp > +The full set of predefined macros can be obtained with this command: > +.Bd -literal -offset indent > +cc -x c -Dm -E /dev/null > +.Ed > +.Pp > +Common type size and endianness macros: > +.Bl -column -offset indent "BYTE_ORDER" ".Sy Meaning" > +.It Sy Macro Ta Sy Meaning > +.It Dv __LP64__ Ta 64-bit (8-byte) long and pointer, 32-bit (4-byte) int > +.It Dv __ILP32__ Ta 32-bit (4-byte) int, long and pointer ILP32 was only added on CURRENT during the 11 timeframe (the r276479 3.5.0 import), and can't be relied upon for stable/10 or 9, FWIW. (Not useful for ports, for example.) Sure, it's probably okay that this manual page only describes the release it is present in. Best, Conrad