versioning of _Unwind_*() symbols

David Mosberger davidm@napali.hpl.hp.com
Thu Apr 22 23:36:00 GMT 2004


>>>>> On Thu, 22 Apr 2004 16:15:12 -0700, "H. J. Lu" <hjl@lucon.org> said:

  HJ> On Thu, Apr 22, 2004 at 03:12:32PM -0700, David Mosberger wrote:
  >> >>>>> On Thu, 22 Apr 2004 15:02:15 -0700, "H. J. Lu" <hjl@lucon.org> said:

  HJ> BTW, since the ABI library is more than just unwind library. We
  HJ> can't use David's unwind library as is.

  >> You can.  Just list -lunwind as a dependency as is done now with libgcc_s.

  HJ> I don't think it will work AS IS since linker may add libunwind.so to
  HJ> DT_NEEDED if it is used. A new linker option may be needed to work
  HJ> with it.

Ah, you're worried that linking against libcxa.so would cause a
DT_NEEDED entry for libunwind.so in the _executable_?  I agree that's
not ideal, but it's already happening with the Intel compiler, so in
that sense it's nothing new.  If that could be avoided, I suppose it
would be great.

	--david



More information about the Gcc mailing list