This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH/RFA] Define various OS/ABI note types


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]