[Lldb-commits] [PATCH] Update ObjectFileELF to detect ELF triple based on ELF notes and the ELF header.
Ed Maste
emaste at freebsd.org
Thu Jun 26 09:44:51 PDT 2014
On 26 June 2014 12:05, Todd Fiala <tfiala at google.com> wrote:
> Hey Ed,
>
> It looks like the FreeBSD ABI note contains a release date? If that's right, any idea on the best way to convert that to a FreeBSD version number? We could use a table of release dates and find an exact match or, if not a match, the first release date that comes before the given date.
It's called osreldate but is actually the version information - for
example, on my desktop running FreeBSD 9.2-STABLE branch:
+-+-+-+-+-+-+-+
| 9|0 2|5 0 9|
+-+-+-+-+-+-+-+
Maj Min Rxx
Links:
http://svnweb.freebsd.org/base/head/sys/sys/param.h?revision=267440&view=markup#l47
http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html
More information about the lldb-commits
mailing list