On Sat, Jan 3, 2015 at 1:51 PM, Rene Gollent <anevilyak@xxxxxxxxx> wrote: > If you're going to answer a technical question about code you've > clearly never actually looked at, then it would behoove you to first > have a look to see if your answer is correct before replying, because > this one isn't in any way whatsoever [1]. > > The first thing the runtime loader does is look for the haiku version > symbols, which haiku-native binaries built within the past few years > will include. These identify the API version as well as the ABI, and > are used to add compatibility shims in case API behavior changes > between revisions. > > For older binaries which do not include this symbol, i.e. older Haiku > binaries and/or BeOS binaries, the .comment ELF section of the binary > is searched for the GCC version string, which in turn is broken down > to determine which compiler generated the code. > Oh, sorry. I stand corrected. -Augustin