versioning of _Unwind_*() symbols

David Mosberger davidm@napali.hpl.hp.com
Wed Apr 21 00:19:00 GMT 2004


>>>>> On Tue, 20 Apr 2004 16:41:52 -0700, "H. J. Lu" <hjl@lucon.org> said:

  >> But in any case, for libgcc_s.so, it's sufficient to have a dependency
  >> on libunwind.so.  The dynamic linker will then take care of loading
  >> libunwind.so before loading libgcc_s.so.

  HJ> The current Linux dynamic linker may or may not allow you to move a
  HJ> versioned definition from one DSO to another:

  HJ> http://sources.redhat.com/ml/libc-alpha/2003-09/msg00154.html

But if the _Unwind_*() symbols weren't versioned in the first
place, there would be no problem at all.

I do understand that versioning may make sense in _general_, but we're
talking about the C++ _ABI_ here.  If it's not _binary_ compatible,
then it's simply not compatible.  No?

	--david



More information about the Gcc mailing list