A completely different approach to EH runtime

David O'Brien obrien@FreeBSD.org
Wed Feb 28 11:31:00 GMT 2001


On Thu, Feb 22, 2001 at 02:55:45AM -0300, Alexandre Oliva wrote:
> Given that the dynamic linker has no notion of dates or minor version
> numbers, it would only have a clear reason to choose the ``newer''
> library if its SONAME were different, i.e., if it had a different
> major version number.

In ELF (at least on FreeBSD) the dynamic linker has no notion of major
version numbers either.  It just has a notion of name.

libc.so.foo-bar-baz (with same SONAME) is a very acceptable library.
With ELF, the version number is just a string -- either it matches or it
doesn't.  There is no numeric comparisons.  The use of numbers after
"lib*.so." is just tradition from a.out days.

-- 
-- David  (obrien@FreeBSD.org)



More information about the Gcc mailing list