From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29535 invoked by alias); 7 May 2002 23:57:53 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 29480 invoked from network); 7 May 2002 23:57:51 -0000 Received: from unknown (HELO dragon.nuxi.com) (66.92.13.169) by sources.redhat.com with SMTP; 7 May 2002 23:57:51 -0000 Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g47Nvpev032153; Tue, 7 May 2002 16:57:51 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g47NvoDt032152; Tue, 7 May 2002 16:57:50 -0700 (PDT) Date: Tue, 07 May 2002 16:57:00 -0000 From: "David O'Brien" To: Jason R Thorpe , binutils@sources.redhat.com, gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFA] Define various OS/ABI note types Message-ID: <20020507165750.A31998@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org References: <20020507131833.M503@dr-evil.shagadelic.org> <20020507152801.A30973@dragon.nuxi.com> <20020507155811.T503@dr-evil.shagadelic.org> <20020507161144.B31482@dragon.nuxi.com> <20020507163018.V503@dr-evil.shagadelic.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020507163018.V503@dr-evil.shagadelic.org>; from thorpej@wasabisystems.com on Tue, May 07, 2002 at 04:30:18PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 X-SW-Source: 2002-05/txt/msg00187.txt.bz2 On Tue, May 07, 2002 at 04:30:18PM -0700, Jason R Thorpe wrote: > On Tue, May 07, 2002 at 04:11:44PM -0700, David O'Brien wrote: > > > Where __FreeBSD_version is in sys/param.h. > > On FreeBSD 5-CURRENT it is 500034 right now. (I guess we actually have a > > 7-digit encoding) > > ...and that encoding is...? (i.e. how are the fields in the number > split up?) There is some historical baggage, but in the ELF world: [0]5 major version number. 0 minor version 0034 34th significant change in 5.0 that needed an indicator Another example from 4.5-STABLE, 450006 [0]4 major number 5 minor number 0006 6th significant change in 4.5 (before 4.6) that needed an indicator All the various values are documented at http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-versions.html